aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--leim/quail/japanese.el217
1 files changed, 209 insertions, 8 deletions
diff --git a/leim/quail/japanese.el b/leim/quail/japanese.el
index 6a6036a3c90..eb231ea9da6 100644
--- a/leim/quail/japanese.el
+++ b/leim/quail/japanese.el
@@ -128,16 +128,217 @@
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
136qq: toggle between input methods `japanese' and `japanese-ascii' 206When you use this input method, text entry proceeds in two stages:
137qz: use `japanese-zenkaku' package, \"qh\" puts you back to `japanese' 207Roman-Kana transliteration and Kana-Kanji conversion. When you start
138K: toggle converting region between Katakana and Hiragana 208to enter text, you are in the first stage, Roman-Kana transliteration.
139SPC: convert to Kanji&Kana 209Type SPC to proceed to the next stage, Kana-Kanji conversion.
140z: insert one Japanese symbol according to a key which follows 210
211:: Roman-Kana transliteration ::
212
213You can input any Hiragana character as a sequence of lower-case
214letters, Japanese punctuation characters by typing punctuation keys,
215Japanese symbols by typing `z' followed by another key. See below for
216a list of all available sequences. The characters you input are
217underlined.
218
219In addition, the following keys provide special effects:
220
221K Change Hiragana to Katakana or Katakana to Hiragana.
222qq Toggle between this input method and the `japanese-ascii' input method.
223qz Shift to the `japanese-zenkaku' input method.
224 Typing \"qh\" will put you back to this input method.
225RET Accept the current character sequence.
226SPC Proceed to the next stage, Kana-Kanji conversion.
227
228The `japanese-ascii' input method is used to enter ASCII characters.
229This is almost the same as turning off the input method. The only
230difference is that typing `qq' will put you back into the Japanese
231input method.
232
233The `japanese-zenkaku' input methods is used to enter full width
234JISX0208 characters corresponding to typed ASCII characters.
235
236Here's a list of key sequences for Roman-Kana transliteration.
237
238a $B$"(B i $B$$(B u $B$&(B e $B$((B o $B$*(B
239ka $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
240sa $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
241ta $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
242na $B$J(B ni $B$K(B nu $B$L(B ne $B$M(B no $B$N(B
243ha $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
244ma $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
245ya $B$d(B yu $B$f(B yo $B$h(B
246ra $B$i(B ri $B$j(B ru $B$k(B re $B$l(B ro $B$m(B
247la $B$i(B li $B$j(B lu $B$k(B le $B$l(B lo $B$m(B
248wa $B$o(B wi $B$p(B wu $B$&(B we $B$q(B wo $B$r(B n' $B$s(B
249
250kya $B$-$c(B kyu $B$-$e(B kye $B$-$'(B kyo $B$-$g(B
251sha $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
252cha $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
253nya $B$K$c(B nyu $B$K$e(B nye $B$K$'(B nyo $B$K$g(B
254hya $B$R$c(B hyu $B$R$e(B hye $B$R$'(B hyo $B$R$g(B
255mya $B$_$c(B myu $B$_$e(B mye $B$_$'(B myo $B$_$g(B
256rya $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
257gya $B$.$c(B gyu $B$.$e(B gye $B$.$'(B gyo $B$.$g(B
258zya $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
259ja $B$8$c(B ju $B$8$e(B je $B$8$'(B jo $B$8$g(B
260bya $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
262kwa $B$/$n(B kwi $B$/$#(B kwe $B$/$'(B kwo $B$/$)(B
263tsa $B$D$!(B tsi $B$D$#(B tse $B$D$'(B tso $B$D$)(B
264fa $B$U$!(B fi $B$U$#(B fe $B$U$'(B fo $B$U$)(B
265gwa $B$0$n(B gwi $B$0$#(B gwe $B$0$'(B gwo $B$0$)(B
266dyi $B$G$#(B dyu $B$I$%(B dye $B$G$'(B dyo $B$I$)(B
267
268shi $B$7(B tyi $B$F$#(B chi $B$A(B tsu $B$D(B ji $B$8(B fu $B$U(B
269xwi $B$&$#(B xwe $B$&$'(B xwo $B$&$)(B ye $B$$$'(B
270
271va $B%t$!(B vi $B%t$#(B vu $B%t(B ve $B%t$'(B vo $B%t$)(B
272
273xa $B$!(B xi $B$#(B xu $B$%(B xe $B$'(B xo $B$)(B xtu $B$C(B
274xya $B$c(B xyu $B$e(B xyo $B$g(B xwa $B$n(B xka $B%u(B xke $B%v(B
275
276Digists and punctuations:
277
278key: 1 2 3 4 5 6 7 8 9 0 - = \ ` ! @ # $ % ^ & * ( ) _ + | ~
279char: $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
281key: [ ] { } ; ' : \" , . / < > ?
282char: $B!V!W!P!Q!(!G!"!#!?!'!I!c!d!)(B
283
284Symbols (`z' followed by these keys):
285
286Key: 1 2 3 4 5 6 7 8 9 0 - = \ ` ! @ # $ % ^ & * ( ) _ + | ~
287char: $B!{"&"$""!~!y!}!q!i!j!A!b!@!-!|"'"%"#"!!z!r!_!Z![!h!^!B!/(B
288
289Key: [ ] { } ; ' : \" , . / < > ?
290char: $B!X!Y!L!M!+!F!,!H!E!D!&!e!f!g(B
291
292Key: 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
293char: $B!k!;!5!7!>"+"-","*!m!l")!T!9!3!:"(!U"+!n!6"*!="."-",!R!8!4!x!`!S(B
294
295Key: x X
296str: :- :-)
297
298:: Kana-Kanji conversion ::
299
300You can convert the current Japanese characters (underlined) to
301Kana-Kanji mixed text. In this stage, the converted text is divided
302into two parts, the current phrase (highlighted) and the remaining
303input (underlined). The following commands can be used on the
304current phrase.
305
306SPC, C-n kkc-next
307 Show the next candidate for the current phrase.
308C-p kkc-prev
309 Show the previous candidate for the current phrase.
310l 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.
313L 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.
3160..9 kkc-select-from-list
317 Select a candidate corresponding to the typed number.
318H kkc-hiragana
319 Convert the current phrase to Hiragana
320K kkc-katakana
321 Convert the current phrase to Katakana
322C-o kkc-longer
323 Extend the current phrase; pull in the first character of
324 the remaining input.
325C-i kkc-shorter
326 Contract the current phrase; drop its last character
327 back into the remaining input.
328C-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.
332DEL, C-c kkc-cancel
333 Cancel the conversion, shift back to the Roman-Kana
334 transliteration.
335return kkc-terminate
336 Accept the whole conversion.
337C-SPC, C-@ kkc-first-char-only
338 Accept the first character of the current conversion,
339 delete the remaining input.
340C-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
@@ -247,7 +448,7 @@ z: insert one Japanese symbol according to a key which follows
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")