-
Notifications
You must be signed in to change notification settings - Fork 2
/
leim-list.el
128 lines (95 loc) · 3.77 KB
/
leim-list.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
;;; leim-list.el --- Egg setup for leim API
;; Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc
;; Author: NIIBE Yutaka <gniibe@m17n.org>
;; KATAYAMA Yoshio <kate@pfu.co.jp>
;; TOMURA Satoru <tomura@etl.go.jp>
;; Maintainer: TOMURA Satoru <tomura@etl.go.jp>
;; Keywords: mule, multilingual, input method
;; This file is part of EGG.
;; EGG is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; EGG is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
;;; Commentary:
;;; Code:
(autoload 'egg-activate-anthy "egg/anthy"
"Activate ANTHY backend of Tamago 4." t)
(autoload 'egg-activate-wnn "egg/wnn" "Activate Wnn backend of Tamago 4." t)
(autoload 'egg-activate-sj3 "egg/sj3" "Activate SJ3 backend of Tamago 4." t)
(autoload 'egg-activate-canna "egg/canna"
"Activate CANNA backend of Tamago 4." t)
(register-input-method
"japanese-egg-anthy" "Japanese" 'egg-activate-anthy
"$B$"(B.." "Romaji -> Hiragana -> Kanji&Kana"
'its-select-hiragana)
(register-input-method
"japanese-egg-wnn" "Japanese" 'egg-activate-wnn
"$B$"(B.." "Romaji -> Hiragana -> Kanji&Kana"
'its-select-hiragana)
(register-input-method
"japanese-egg-sj3" "Japanese" 'egg-activate-sj3
"$B$"(B.." "Romaji -> Hiragana -> Kanji&Kana"
'its-select-hiragana)
(register-input-method
"japanese-egg-canna" "Japanese" 'egg-activate-canna
"$B$"(B.." "Romaji -> Hiragana -> Kanji&Kana"
'its-select-hiragana)
(register-input-method
"chinese-gb-egg-wnn-py" "Chinese-GB" 'egg-activate-wnn
"$AF4(BG" "Pinyin -> Simplified Hanzi"
'its-select-pinyin-cn)
(register-input-method
"chinese-gb-egg-wnn-zy" "Chinese-GB" 'egg-activate-wnn
"$AW"(BG" "Zhunyin -> Simplified Hanzi"
'its-select-zhuyin-cn)
(register-input-method
"chinese-gb-egg-wnn-qm" "Chinese-GB" 'egg-activate-wnn
"$AG.(B" "QianMa Simplified Hanzi inputmethod"
'its-select-qianma)
(register-input-method
"chinese-gb-egg-wnn-wb" "Chinese-GB" 'egg-activate-wnn
"$ANe(B" "WuBi Simplified Hanzi inputmethod"
'its-select-wubi)
(register-input-method
"chinese-cns-egg-wnn-py" "Chinese-CNS" 'egg-activate-wnn
"$(GQ;(BC" "Pinyin -> Traditional Hanzi"
'its-select-pinyin-tw)
(register-input-method
"chinese-cns-egg-wnn-zy" "Chinese-CNS" 'egg-activate-wnn
"$(GNC(BC" "Zhunyin -> Traditional Hanzi"
'its-select-zhuyin-tw)
(register-input-method
"korean-egg-wnn" "Korean" 'egg-activate-wnn
"$(CGQ(B" "Hangul -> Hanja"
'its-select-hangul)
(autoload 'egg-mode "egg" "Toggle EGG mode." t)
(set-language-info "Japanese" 'input-method "japanese-egg-wnn")
(set-language-info "Chinese-GB" 'input-method "chinese-gb-egg-wnn-py")
(set-language-info "Chinese-CNS" 'input-method "chinese-cns-egg-wnn-py")
(set-language-info "Korean" 'input-method "korean-egg-wnn")
(defgroup leim nil
"LEIM stands for Libraries of Emacs Input Methods."
:group 'mule)
(defgroup egg nil ""
:group 'leim :load "egg")
(defgroup anthy nil ""
:group 'egg :load "egg/anthy")
(defgroup wnn nil ""
:group 'egg :load "egg/wnn")
(defgroup sj3 nil ""
:group 'egg :load "egg/sj3")
(defgroup canna nil ""
:group 'egg :load "egg/canna")
(defgroup its nil ""
:group 'egg :load "its")
(defgroup hira nil ""
:group 'its :load "its/hira")
;;; leim-list.el ends here.