comparison leim/quail/japanese.el @ 27131:6a56916deed4

("japanese"): Docstring augmented.
author Kenichi Handa <handa@m17n.org>
date Tue, 04 Jan 2000 06:01:46 +0000
parents 89706001ab78
children 5955b64b1637
comparison
equal deleted inserted replaced
27130:56034259f125 27131:6a56916deed4
126 (activate-input-method quail-japanese-package-saved)) 126 (activate-input-method quail-japanese-package-saved))
127 (setq quail-japanese-package-saved current-input-method) 127 (setq quail-japanese-package-saved current-input-method)
128 (activate-input-method (car pkg)))))) 128 (activate-input-method (car pkg))))))
129 (throw 'quail-tag nil)) 129 (throw 'quail-tag nil))
130 130
131 ;; $B%m!<%^;zF~NO5Z$S2>L>4A;zJQ49$K$h$kF|K\8lF~NO%a%=%C%I(B
132 ;;
133 ;; $B$3$NF~NO%a%=%C%I$G$NF|K\8l$NF~NO$OFs$D$N%9%F!<%8!V%m!<%^;z2>L>JQ49!W(B
134 ;; $B$H!V2>L>4A;zJQ49!W$+$i$J$k!#:G=i$O%m!<%^;z2>L>JQ49$N%9%F!<%8$G!"%9(B
135 ;; $B%Z!<%9%-!<$r2!$9$3$H$K$h$j!"<!$N%9%F!<%8!V2>L>4A;zJQ49!W$X?J$`!#(B
136 ;;
137 ;; $B!V%m!<%^;z2>L>JQ49!W(B
138 ;;
139 ;; $BJ?2>L>$O>.J8;z%-!<!JNs!K$rBG$D$3$H$K$h$jF~NO!#6gFIE@!"3g8LN`$OBP1~(B
140 ;; $B$9$k1Q;z%-!<$rBG$D$3$H$K$h$jF~NO!#$=$NB>$N%7%s%\%k$O(B `z' $B$KB3$1$F2?(B
141 ;; $B$l$+$N%-!<$rBG$D$3$H$K$h$jF~NO!#2<$KA4$F$N2DG=$J%-!<%7!<%1%s%9%j%9(B
142 ;; $B%H%"%C%W$5$l$F$$$k!#F~NO$5$l$?J8;z$O2<@~$G<($5$l$k!#(B
143 ;;
144 ;; $B$5$i$K0J2<$N%-!<$GFCJL$J=hM}$r9T$&!#(B
145 ;;
146 ;; K $BJ?2>L>$rJR2>L>$K!"$"$k$$$OJR2>L>$rJ?2>L>$KJQ49(B
147 ;; qq $B$3$NF~NO%a%=%C%I$H(B `japanese-ascii' $BF~NO%a%=%C%I$r%H%0%k@ZBX(B
148 ;; qz `japanese-zenkaku' $BF~NO%a%=%C%I$K%7%U%H(B
149 ;; qh $B$HBG$F$P85$KLa$k(B
150 ;; RET $B8=:_$NF~NOJ8;zNs$r3NDj(B
151 ;; SPC $B2>L>4A;zJQ49$K?J$`(B
152 ;;
153 ;; `japanese-ascii' $BF~NO%a%=%C%I$O(B ASCII $BJ8;z$rF~NO$9$k$N$K;H$&!#$3$l(B
154 ;; $B$OF~NO%a%=%C%I$r%*%U$K$9$k$N$H$[$H$s$IF1$8$G$"$k!#0[$J$k$N$O(B qq $B$H(B
155 ;; $BBG$D$3$H$K$h$j!"(B`japanese' $BF~NO%a%=%C%I$KLa$l$kE@$G$"$k!#(B
156 ;;
157 ;; `japanese-zenkaku' $BF~NO%a%=%C%I$OA43Q1Q?t;z$rF~NO$9$k$N$K;H$&!#(B
158 ;;
159 ;; $B0J2<$K!V%m!<%^;z2>L>JQ49!W%9%F!<%8$G$N%-!<%7!<%1%s%9$r5s$2$k!#(B
160 ;;
161 ;; [omitted]
162 ;;
163 ;; $B!V2>L>4A;zJQ49!W(B
164 ;;
165 ;; $B$3$N%9%F!<%8$G$O!"A0%9%F!<%8$GF~NO$5$l$?J8;zNs$r2>L>4A;zJQ49$9$k!#(B
166 ;; $BJQ49$5$l$?J8;zNs$O!"CmL\J8@a!JH?E>I=<(!K$H;D$j$NF~NO!J2<@~I=<(!K$K(B
167 ;; $BJ,$1$i$l$k!#CmL\J8@a$KBP$7$F$O0J2<$N%3%^%s%I$,;H$($k!#(B
168 ;;
169 ;; SPC, C-n kkc-next
170 ;; $B<!$NJQ498uJd$rI=<((B
171 ;; C-p kkc-prev
172 ;; $BA0$NJQ498uJd$rI=<((B
173 ;; l kkc-show-conversion-list-or-next-group
174 ;; $B:G9b#1#08D$^$G$NJQ498uJd$r%(%3!<%(%j%"$KI=<(!#(B
175 ;; $BB3$1$FBG$?$l$l$P!"<!$N#1#08uJd$rI=<(!#(B
176 ;; L kkc-show-conversion-list-or-prev-group
177 ;; $B:G9b#1#08D$^$G$NJQ498uJd$r%(%3!<%(%j%"$KI=<(!#(B
178 ;; $BB3$1$FBG$?$l$l$P!"A0$N#1#08uJd$rI=<(!#(B
179 ;; 0..9 kkc-select-from-list
180 ;; $BBG$?$l$??t;z$NJQ498uJd$rA*Br(B
181 ;; H kkc-hiragana
182 ;; $BCmL\J8@a$rJ?2>L>$KJQ49(B
183 ;; K kkc-katakana
184 ;; $BCmL\J8@a$rJR2>L>$KJQ49(B
185 ;; C-o kkc-longer
186 ;; $BCmL\J8@a$r8e$m$K0lJ8;z?-$P$9(B
187 ;; C-i kkc-shorter
188 ;; $BCmL\J8@a$r8e$m$+$i0lJ8;z=L$a$k(B
189 ;; C-f kkc-next-phrase
190 ;; $BCmL\J8@a$r3NDj$5$;$k!#$b$7;D$j$NF~NO$,$^$@$"$l$P!":G=i$NJ8@a$r(B
191 ;; $BA*Br$7!"$=$l$rCmL\J8@a$H$7!"$=$N:G=i$NJQ498uJd$rI=<($9$k!#(B
192 ;; DEL, C-c kkc-cancel
193 ;; $B2>L>4A;zJQ49$r%-%c%s%;%k$7!"%m!<%^;z2>L>JQ49$N%9%F!<%8$KLa$k!#(B
194 ;; return kkc-terminate
195 ;; $BA4J8@a$r3NDj$5$;$k!#(B
196 ;; C-SPC, C-@ kkc-first-char-only
197 ;; $B:G=i$NJ8;z$r3NDj$5$;!";D$j$O:o=|$9$k!#(B
198 ;; C-h kkc-help
199 ;; $B$3$l$i$N%-!<%P%$%s%I$N%j%9%H$rI=<($9$k!#$"(B
200
131 (quail-define-package 201 (quail-define-package
132 "japanese" "Japanese" "A$B$"(B" 202 "japanese" "Japanese" "A$B$"(B"
133 nil 203 nil
134 "Romaji -> Hiragana -> Kanji&Kana 204 "Japanese input method using Roman transliteration and Kana-Kanji conversion.
135 ---- Special key bindings ---- 205
136 qq: toggle between input methods `japanese' and `japanese-ascii' 206 When you use this input method, text entry proceeds in two stages:
137 qz: use `japanese-zenkaku' package, \"qh\" puts you back to `japanese' 207 Roman-Kana transliteration and Kana-Kanji conversion. When you start
138 K: toggle converting region between Katakana and Hiragana 208 to enter text, you are in the first stage, Roman-Kana transliteration.
139 SPC: convert to Kanji&Kana 209 Type SPC to proceed to the next stage, Kana-Kanji conversion.
140 z: insert one Japanese symbol according to a key which follows 210
211 :: Roman-Kana transliteration ::
212
213 You can input any Hiragana character as a sequence of lower-case
214 letters, Japanese punctuation characters by typing punctuation keys,
215 Japanese symbols by typing `z' followed by another key. See below for
216 a list of all available sequences. The characters you input are
217 underlined.
218
219 In addition, the following keys provide special effects:
220
221 K Change Hiragana to Katakana or Katakana to Hiragana.
222 qq Toggle between this input method and the `japanese-ascii' input method.
223 qz Shift to the `japanese-zenkaku' input method.
224 Typing \"qh\" will put you back to this input method.
225 RET Accept the current character sequence.
226 SPC Proceed to the next stage, Kana-Kanji conversion.
227
228 The `japanese-ascii' input method is used to enter ASCII characters.
229 This is almost the same as turning off the input method. The only
230 difference is that typing `qq' will put you back into the Japanese
231 input method.
232
233 The `japanese-zenkaku' input methods is used to enter full width
234 JISX0208 characters corresponding to typed ASCII characters.
235
236 Here's a list of key sequences for Roman-Kana transliteration.
237
238 a $B$"(B i $B$$(B u $B$&(B e $B$((B o $B$*(B
239 ka $B$+(B ki $B$-(B ku $B$/(B ke $B$1(B ko $B$3(B ga $B$,(B gi $B$.(B gu $B$0(B ge $B$2(B go $B$4(B
240 sa $B$5(B si $B$7(B su $B$9(B se $B$;(B so $B$=(B za $B$6(B zi $B$8(B zu $B$:(B ze $B$<(B zo $B$>(B
241 ta $B$?(B ti $B$A(B tu $B$D(B te $B$F(B to $B$H(B da $B$@(B di $B$B(B du $B$E(B de $B$G(B do $B$I(B
242 na $B$J(B ni $B$K(B nu $B$L(B ne $B$M(B no $B$N(B
243 ha $B$O(B hi $B$R(B hu $B$U(B he $B$X(B ho $B$[(B ba $B$P(B bi $B$S(B bu $B$V(B be $B$Y(B bo $B$\(B
244 ma $B$^(B mi $B$_(B mu $B$`(B me $B$a(B mo $B$b(B pa $B$Q(B pi $B$T(B pu $B$W(B pe $B$Z(B po $B$](B
245 ya $B$d(B yu $B$f(B yo $B$h(B
246 ra $B$i(B ri $B$j(B ru $B$k(B re $B$l(B ro $B$m(B
247 la $B$i(B li $B$j(B lu $B$k(B le $B$l(B lo $B$m(B
248 wa $B$o(B wi $B$p(B wu $B$&(B we $B$q(B wo $B$r(B n' $B$s(B
249
250 kya $B$-$c(B kyu $B$-$e(B kye $B$-$'(B kyo $B$-$g(B
251 sha $B$7$c(B shu $B$7$e(B she $B$7$'(B sho $B$7$g(B sya $B$7$c(B syu $B$7$e(B sye $B$7$'(B syo $B$7$g(B
252 cha $B$A$c(B chu $B$A$e(B che $B$A$'(B cho $B$A$g(B tya $B$A$c(B tyu $B$A$e(B tye $B$A$'(B tyo $B$A$g(B
253 nya $B$K$c(B nyu $B$K$e(B nye $B$K$'(B nyo $B$K$g(B
254 hya $B$R$c(B hyu $B$R$e(B hye $B$R$'(B hyo $B$R$g(B
255 mya $B$_$c(B myu $B$_$e(B mye $B$_$'(B myo $B$_$g(B
256 rya $B$j$c(B ryu $B$j$e(B rye $B$j$'(B ryo $B$j$g(B lya $B$j$c(B lyu $B$j$e(B lye $B$j$'(B lyo $B$j$g(B
257 gya $B$.$c(B gyu $B$.$e(B gye $B$.$'(B gyo $B$.$g(B
258 zya $B$8$c(B zyu $B$8$e(B zye $B$8$'(B zyo $B$8$g(B jya $B$8$c(B jyu $B$8$e(B jye $B$8$'(B jyo $B$8$g(B
259 ja $B$8$c(B ju $B$8$e(B je $B$8$'(B jo $B$8$g(B
260 bya $B$S$c(B byu $B$S$e(B bye $B$S$'(B byo $B$S$g(B pya $B$T$c(B pyu $B$T$e(B pye $B$T$'(B pyo $B$T$g(B
261
262 kwa $B$/$n(B kwi $B$/$#(B kwe $B$/$'(B kwo $B$/$)(B
263 tsa $B$D$!(B tsi $B$D$#(B tse $B$D$'(B tso $B$D$)(B
264 fa $B$U$!(B fi $B$U$#(B fe $B$U$'(B fo $B$U$)(B
265 gwa $B$0$n(B gwi $B$0$#(B gwe $B$0$'(B gwo $B$0$)(B
266 dyi $B$G$#(B dyu $B$I$%(B dye $B$G$'(B dyo $B$I$)(B
267
268 shi $B$7(B tyi $B$F$#(B chi $B$A(B tsu $B$D(B ji $B$8(B fu $B$U(B
269 xwi $B$&$#(B xwe $B$&$'(B xwo $B$&$)(B ye $B$$$'(B
270
271 va $B%t$!(B vi $B%t$#(B vu $B%t(B ve $B%t$'(B vo $B%t$)(B
272
273 xa $B$!(B xi $B$#(B xu $B$%(B xe $B$'(B xo $B$)(B xtu $B$C(B
274 xya $B$c(B xyu $B$e(B xyo $B$g(B xwa $B$n(B xka $B%u(B xke $B%v(B
275
276 Digists and punctuations:
277
278 key: 1 2 3 4 5 6 7 8 9 0 - = \ ` ! @ # $ % ^ & * ( ) _ + | ~
279 char: $B#1#2#3#4#5#6#7#8#9#0!<!a!o!.!*!w!t!p!s!0!u!v!J!K!2!\!C!1(B
280
281 key: [ ] { } ; ' : \" , . / < > ?
282 char: $B!V!W!P!Q!(!G!"!#!?!'!I!c!d!)(B
283
284 Symbols (`z' followed by these keys):
285
286 Key: 1 2 3 4 5 6 7 8 9 0 - = \ ` ! @ # $ % ^ & * ( ) _ + | ~
287 char: $B!{"&"$""!~!y!}!q!i!j!A!b!@!-!|"'"%"#"!!z!r!_!Z![!h!^!B!/(B
288
289 Key: [ ] { } ; ' : \" , . / < > ?
290 char: $B!X!Y!L!M!+!F!,!H!E!D!&!e!f!g(B
291
292 Key: b c d f g h j k l m n p q r s t v w B C D F G M N P Q R S T V W
293 char: $B!k!;!5!7!>"+"-","*!m!l")!T!9!3!:"(!U"+!n!6"*!="."-",!R!8!4!x!`!S(B
294
295 Key: x X
296 str: :- :-)
297
298 :: Kana-Kanji conversion ::
299
300 You can convert the current Japanese characters (underlined) to
301 Kana-Kanji mixed text. In this stage, the converted text is divided
302 into two parts, the current phrase (highlighted) and the remaining
303 input (underlined). The following commands can be used on the
304 current phrase.
305
306 SPC, C-n kkc-next
307 Show the next candidate for the current phrase.
308 C-p kkc-prev
309 Show the previous candidate for the current phrase.
310 l kkc-show-conversion-list-or-next-group
311 Show at most 10 candidates for the current phrase in echo area.
312 If typed repeatedly, show the next 10 candidates.
313 L kkc-show-conversion-list-or-prev-group
314 Show at most 10 candidates for the current phrase in echo area.
315 If typed repeatedly, show the previous 10 candidates.
316 0..9 kkc-select-from-list
317 Select a candidate corresponding to the typed number.
318 H kkc-hiragana
319 Convert the current phrase to Hiragana
320 K kkc-katakana
321 Convert the current phrase to Katakana
322 C-o kkc-longer
323 Extend the current phrase; pull in the first character of
324 the remaining input.
325 C-i kkc-shorter
326 Contract the current phrase; drop its last character
327 back into the remaining input.
328 C-f kkc-next-phrase
329 Accept the current phrase. If there remains input, select
330 the first phrase as the current one, and show the first
331 candidate for the conversion.
332 DEL, C-c kkc-cancel
333 Cancel the conversion, shift back to the Roman-Kana
334 transliteration.
335 return kkc-terminate
336 Accept the whole conversion.
337 C-SPC, C-@ kkc-first-char-only
338 Accept the first character of the current conversion,
339 delete the remaining input.
340 C-h kkc-help
341 List these key bindings.
141 " 342 "
142 nil t t nil nil nil nil nil 343 nil t t nil nil nil nil nil
143 'quail-japanese-update-translation 344 'quail-japanese-update-translation
144 '(("K" . quail-japanese-toggle-kana) 345 '(("K" . quail-japanese-toggle-kana)
145 (" " . quail-japanese-kanji-kkc) 346 (" " . quail-japanese-kanji-kkc)
245 ("zk" "$B",(B") 446 ("zk" "$B",(B")
246 ("zl" "$B"*(B") 447 ("zl" "$B"*(B")
247 ("z;" "$B!+(B") ("z:" "$B!,(B") 448 ("z;" "$B!+(B") ("z:" "$B!,(B")
248 ("z\'" "$B!F(B") ("z\"" "$B!H(B") 449 ("z\'" "$B!F(B") ("z\"" "$B!H(B")
249 450
250 ("zx" ":-") ("zX" ":-)") 451 ("zx" [":-"]) ("zX" [":-)"])
251 ("zc" "$B!;(B") ("zC" "$B!n(B") 452 ("zc" "$B!;(B") ("zC" "$B!n(B")
252 ("zv" "$B"((B") ("zV" "$B!`(B") 453 ("zv" "$B"((B") ("zV" "$B!`(B")
253 ("zb" "$B!k(B") ("zB" "$B"+(B") 454 ("zb" "$B!k(B") ("zB" "$B"+(B")
254 ("zn" "$B!l(B") ("zN" "$B"-(B") 455 ("zn" "$B!l(B") ("zN" "$B"-(B")
255 ("zm" "$B!m(B") ("zM" "$B".(B") 456 ("zm" "$B!m(B") ("zM" "$B".(B")