Mercurial > emacs
annotate leim/quail/japanese.el @ 111604:149090e9b891
* lisp/files.el (safe-local-variable-p): Gracefully handle errors.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
safety predicate.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 11 Nov 2010 17:19:01 -0500 |
parents | d0fc9cc79b2b |
children | 376148b31b5e |
rev | line source |
---|---|
40710 | 1 ;;; japanese.el --- Quail package for inputting Japanese -*-coding: iso-2022-7bit;-*- |
18673 | 2 |
106815 | 3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
75253
f5f322eb227f
Update copyright for years from Emacs 21 to present.
Glenn Morris <rgm@gnu.org>
parents:
74605
diff
changeset
|
4 ;; Free Software Foundation, Inc. |
f5f322eb227f
Update copyright for years from Emacs 21 to present.
Glenn Morris <rgm@gnu.org>
parents:
74605
diff
changeset
|
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
106815 | 6 ;; 2006, 2007, 2008, 2009, 2010 |
67657 | 7 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
8 ;; Registration Number H14PRO021 | |
18673 | 9 |
10 ;; Keywords: multilingual, input method, Japanese | |
11 | |
12 ;; This file is part of GNU Emacs. | |
13 | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
14 ;; GNU Emacs is free software: you can redistribute it and/or modify |
18673 | 15 ;; it under the terms of the GNU General Public License as published by |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
16 ;; the Free Software Foundation, either version 3 of the License, or |
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
17 ;; (at your option) any later version. |
18673 | 18 |
19 ;; GNU Emacs is distributed in the hope that it will be useful, | |
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 ;; GNU General Public License for more details. | |
23 | |
24 ;; You should have received a copy of the GNU General Public License | |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
25 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
18673 | 26 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
37202
diff
changeset
|
27 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
37202
diff
changeset
|
28 |
18673 | 29 ;;; Code: |
30 | |
31 (require 'quail) | |
32 (require 'kkc) | |
33 | |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
34 (defvar quail-japanese-use-double-n nil |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
35 "If non-nil, use type \"nn\" to insert $B$s(B.") |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
36 |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
37 ;; Update Quail translation region while considering Japanese bizarre |
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
38 ;; translation rules. |
18673 | 39 (defun quail-japanese-update-translation (control-flag) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
40 (if (null control-flag) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
41 (setq quail-current-str |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
42 (if (/= (aref quail-current-key 0) ?q) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
43 (or quail-current-str quail-current-key) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
44 "")) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
45 (if (integerp control-flag) |
110117
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
46 (let ((keylen (length quail-current-key))) |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
47 (cond ((= control-flag 0) |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
48 (setq quail-current-str (aref quail-current-key 0) |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
49 control-flag t)) |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
50 ((= (aref quail-current-key 0) ?n) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
51 (setq quail-current-str ?$B$s(B) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
52 (if (and quail-japanese-use-double-n |
110117
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
53 (> keylen 0) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
54 (= (aref quail-current-key 1) ?n)) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
55 (setq control-flag t))) |
110117
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
56 ((and (> keylen 1) |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
57 (= (aref quail-current-key 0) (aref quail-current-key 1))) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
58 (setq quail-current-str ?$B$C(B)) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
59 (t |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
60 (setq quail-current-str (aref quail-current-key 0)))) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
61 (if (integerp control-flag) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
62 (setq unread-command-events |
110117
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
63 (string-to-list |
d0fc9cc79b2b
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa <handa@m17n.org>
parents:
106815
diff
changeset
|
64 (substring quail-current-key control-flag))))))) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
65 control-flag) |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40710
diff
changeset
|
66 |
18673 | 67 ;; Convert Hiragana <-> Katakana in the current translation region. |
68 (defun quail-japanese-toggle-kana () | |
69 (interactive) | |
22781
d7ebc53b6b16
(quail-japanese-update-translation): Handle
Kenichi Handa <handa@m17n.org>
parents:
22767
diff
changeset
|
70 (setq quail-translating nil) |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
71 (let ((start (overlay-start quail-conv-overlay)) |
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
72 (end (overlay-end quail-conv-overlay))) |
36834
ec1f6390f68e
(quail-japanese-kana-state): Delete this variable.
Kenichi Handa <handa@m17n.org>
parents:
36832
diff
changeset
|
73 (save-excursion |
ec1f6390f68e
(quail-japanese-kana-state): Delete this variable.
Kenichi Handa <handa@m17n.org>
parents:
36832
diff
changeset
|
74 (goto-char start) |
ec1f6390f68e
(quail-japanese-kana-state): Delete this variable.
Kenichi Handa <handa@m17n.org>
parents:
36832
diff
changeset
|
75 (if (re-search-forward "\\cH" end t) |
ec1f6390f68e
(quail-japanese-kana-state): Delete this variable.
Kenichi Handa <handa@m17n.org>
parents:
36832
diff
changeset
|
76 (japanese-katakana-region start end) |
ec1f6390f68e
(quail-japanese-kana-state): Delete this variable.
Kenichi Handa <handa@m17n.org>
parents:
36832
diff
changeset
|
77 (japanese-hiragana-region start end))) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
78 (setq quail-conversion-str |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
79 (buffer-substring (overlay-start quail-conv-overlay) |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
80 (overlay-end quail-conv-overlay))))) |
18673 | 81 |
82 ;; Convert Hiragana in the current translation region to Kanji by KKC | |
83 ;; (Kana Kanji Converter) utility. | |
84 (defun quail-japanese-kanji-kkc () | |
85 (interactive) | |
33582
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
86 (when (= (char-before (overlay-end quail-conv-overlay)) ?n) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
87 ;; The last char is `n'. We had better convert it to `$B$s(B' |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
88 ;; before kana-kanji conversion. |
64152
a3d3e7ed5256
(quail-japanese-kanji-kkc): Fix order of
Kenichi Handa <handa@m17n.org>
parents:
64083
diff
changeset
|
89 (goto-char (1- (overlay-end quail-conv-overlay))) |
a3d3e7ed5256
(quail-japanese-kanji-kkc): Fix order of
Kenichi Handa <handa@m17n.org>
parents:
64083
diff
changeset
|
90 (insert ?$B$s(B) |
a3d3e7ed5256
(quail-japanese-kanji-kkc): Fix order of
Kenichi Handa <handa@m17n.org>
parents:
64083
diff
changeset
|
91 (delete-char 1)) |
33582
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
92 (let* ((from (copy-marker (overlay-start quail-conv-overlay))) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
93 (len (- (overlay-end quail-conv-overlay) from))) |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
94 (quail-delete-overlays) |
24067
89706001ab78
(quail-japanese-kanji-kkc): If the last char
Kenichi Handa <handa@m17n.org>
parents:
23316
diff
changeset
|
95 (setq quail-current-str nil) |
33582
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
96 (unwind-protect |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
97 (let ((result (kkc-region from (+ from len)))) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
98 (move-overlay quail-conv-overlay from (point)) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
99 (setq quail-conversion-str (buffer-substring from (point))) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
100 (if (= (+ from result) (point)) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
101 (setq quail-converting nil)) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
102 (setq quail-translating nil)) |
5ce190e20a23
(quail-japanese-kanji-kkc): Use marker to remember the conversion
Kenichi Handa <handa@m17n.org>
parents:
31427
diff
changeset
|
103 (set-marker from nil)))) |
18673 | 104 |
105 (defun quail-japanese-self-insert-and-switch-to-alpha (key idx) | |
106 (quail-delete-region) | |
107 (setq unread-command-events (list (aref key (1- idx)))) | |
108 (quail-japanese-switch-package "q" 1)) | |
109 | |
110 (defvar quail-japanese-switch-table | |
111 '((?z . "japanese-zenkaku") | |
112 (?k . "japanese-hankaku-kana") | |
113 (?h . "japanese") | |
114 (?q . ("japanese-ascii")))) | |
115 | |
116 (defvar quail-japanese-package-saved nil) | |
117 (make-variable-buffer-local 'quail-japanese-package-saved) | |
118 (put 'quail-japanese-package-saved 'permanent-local t) | |
119 | |
120 (defun quail-japanese-switch-package (key idx) | |
22795
b8d669900d55
(quail-japanese-kanji-kkc): Handle the case
Kenichi Handa <handa@m17n.org>
parents:
22781
diff
changeset
|
121 (quail-delete-region) |
22922
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
122 (setq quail-current-str nil |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
123 quail-converting nil |
dc1913c204c9
(quail-japanese-use-double-n): New variable.
Kenichi Handa <handa@m17n.org>
parents:
22817
diff
changeset
|
124 quail-conversion-str "") |
18673 | 125 (let ((pkg (cdr (assq (aref key (1- idx)) quail-japanese-switch-table)))) |
126 (if (null pkg) | |
22767
5fb5debece56
(quail-japanese-kanji-kkc): Adjusted for the change of quail.el.
Kenichi Handa <handa@m17n.org>
parents:
19517
diff
changeset
|
127 (quail-error "No package to be switched") |
18673 | 128 (if (stringp pkg) |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
129 (activate-input-method pkg) |
18673 | 130 (if (string= (car pkg) current-input-method) |
131 (if quail-japanese-package-saved | |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
132 (activate-input-method quail-japanese-package-saved)) |
18673 | 133 (setq quail-japanese-package-saved current-input-method) |
19411
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
134 (activate-input-method (car pkg)))))) |
ae9924361448
(quail-japanese-toggle-kana): Don't call
Kenichi Handa <handa@m17n.org>
parents:
18804
diff
changeset
|
135 (throw 'quail-tag nil)) |
18673 | 136 |
36832
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
137 (defvar quail-japanese-transliteration-rules |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
138 '(( "a" "$B$"(B") ( "i" "$B$$(B") ( "u" "$B$&(B") ( "e" "$B$((B") ( "o" "$B$*(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
139 ("ka" "$B$+(B") ("ki" "$B$-(B") ("ku" "$B$/(B") ("ke" "$B$1(B") ("ko" "$B$3(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
140 ("sa" "$B$5(B") ("si" "$B$7(B") ("su" "$B$9(B") ("se" "$B$;(B") ("so" "$B$=(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
141 ("ta" "$B$?(B") ("ti" "$B$A(B") ("tu" "$B$D(B") ("te" "$B$F(B") ("to" "$B$H(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
142 ("na" "$B$J(B") ("ni" "$B$K(B") ("nu" "$B$L(B") ("ne" "$B$M(B") ("no" "$B$N(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
143 ("ha" "$B$O(B") ("hi" "$B$R(B") ("hu" "$B$U(B") ("he" "$B$X(B") ("ho" "$B$[(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
144 ("ma" "$B$^(B") ("mi" "$B$_(B") ("mu" "$B$`(B") ("me" "$B$a(B") ("mo" "$B$b(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
145 ("ya" "$B$d(B") ("yu" "$B$f(B") ("yo" "$B$h(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
146 ("ra" "$B$i(B") ("ri" "$B$j(B") ("ru" "$B$k(B") ("re" "$B$l(B") ("ro" "$B$m(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
147 ("la" "$B$i(B") ("li" "$B$j(B") ("lu" "$B$k(B") ("le" "$B$l(B") ("lo" "$B$m(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
148 ("wa" "$B$o(B") ("wi" "$B$p(B") ("wu" "$B$&(B") ("we" "$B$q(B") ("wo" "$B$r(B") |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40710
diff
changeset
|
149 ("n'" "$B$s(B") |
36832
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
150 ("ga" "$B$,(B") ("gi" "$B$.(B") ("gu" "$B$0(B") ("ge" "$B$2(B") ("go" "$B$4(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
151 ("za" "$B$6(B") ("zi" "$B$8(B") ("zu" "$B$:(B") ("ze" "$B$<(B") ("zo" "$B$>(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
152 ("da" "$B$@(B") ("di" "$B$B(B") ("du" "$B$E(B") ("de" "$B$G(B") ("do" "$B$I(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
153 ("ba" "$B$P(B") ("bi" "$B$S(B") ("bu" "$B$V(B") ("be" "$B$Y(B") ("bo" "$B$\(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
154 ("pa" "$B$Q(B") ("pi" "$B$T(B") ("pu" "$B$W(B") ("pe" "$B$Z(B") ("po" "$B$](B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
155 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
156 ("kya" ["$B$-$c(B"]) ("kyu" ["$B$-$e(B"]) ("kye" ["$B$-$'(B"]) ("kyo" ["$B$-$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
157 ("sya" ["$B$7$c(B"]) ("syu" ["$B$7$e(B"]) ("sye" ["$B$7$'(B"]) ("syo" ["$B$7$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
158 ("sha" ["$B$7$c(B"]) ("shu" ["$B$7$e(B"]) ("she" ["$B$7$'(B"]) ("sho" ["$B$7$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
159 ("cha" ["$B$A$c(B"]) ("chu" ["$B$A$e(B"]) ("che" ["$B$A$'(B"]) ("cho" ["$B$A$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
160 ("tya" ["$B$A$c(B"]) ("tyu" ["$B$A$e(B"]) ("tye" ["$B$A$'(B"]) ("tyo" ["$B$A$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
161 ("nya" ["$B$K$c(B"]) ("nyu" ["$B$K$e(B"]) ("nye" ["$B$K$'(B"]) ("nyo" ["$B$K$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
162 ("hya" ["$B$R$c(B"]) ("hyu" ["$B$R$e(B"]) ("hye" ["$B$R$'(B"]) ("hyo" ["$B$R$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
163 ("mya" ["$B$_$c(B"]) ("myu" ["$B$_$e(B"]) ("mye" ["$B$_$'(B"]) ("myo" ["$B$_$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
164 ("rya" ["$B$j$c(B"]) ("ryu" ["$B$j$e(B"]) ("rye" ["$B$j$'(B"]) ("ryo" ["$B$j$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
165 ("lya" ["$B$j$c(B"]) ("lyu" ["$B$j$e(B"]) ("lye" ["$B$j$'(B"]) ("lyo" ["$B$j$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
166 ("gya" ["$B$.$c(B"]) ("gyu" ["$B$.$e(B"]) ("gye" ["$B$.$'(B"]) ("gyo" ["$B$.$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
167 ("zya" ["$B$8$c(B"]) ("zyu" ["$B$8$e(B"]) ("zye" ["$B$8$'(B"]) ("zyo" ["$B$8$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
168 ("jya" ["$B$8$c(B"]) ("jyu" ["$B$8$e(B"]) ("jye" ["$B$8$'(B"]) ("jyo" ["$B$8$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
169 ( "ja" ["$B$8$c(B"]) ( "ju" ["$B$8$e(B"]) ( "je" ["$B$8$'(B"]) ( "jo" ["$B$8$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
170 ("bya" ["$B$S$c(B"]) ("byu" ["$B$S$e(B"]) ("bye" ["$B$S$'(B"]) ("byo" ["$B$S$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
171 ("pya" ["$B$T$c(B"]) ("pyu" ["$B$T$e(B"]) ("pye" ["$B$T$'(B"]) ("pyo" ["$B$T$g(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
172 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
173 ("kwa" ["$B$/$n(B"]) ("kwi" ["$B$/$#(B"]) ("kwe" ["$B$/$'(B"]) ("kwo" ["$B$/$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
174 ("tsa" ["$B$D$!(B"]) ("tsi" ["$B$D$#(B"]) ("tse" ["$B$D$'(B"]) ("tso" ["$B$D$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
175 ( "fa" ["$B$U$!(B"]) ( "fi" ["$B$U$#(B"]) ( "fe" ["$B$U$'(B"]) ( "fo" ["$B$U$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
176 ("gwa" ["$B$0$n(B"]) ("gwi" ["$B$0$#(B"]) ("gwe" ["$B$0$'(B"]) ("gwo" ["$B$0$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
177 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
178 ("dyi" ["$B$G$#(B"]) ("dyu" ["$B$I$%(B"]) ("dye" ["$B$G$'(B"]) ("dyo" ["$B$I$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
179 ("xwi" ["$B$&$#(B"]) ("xwe" ["$B$&$'(B"]) ("xwo" ["$B$&$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
180 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
181 ("shi" "$B$7(B") ("tyi" ["$B$F$#(B"]) ("chi" "$B$A(B") ("tsu" "$B$D(B") ("ji" "$B$8(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
182 ("fu" "$B$U(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
183 ("ye" ["$B$$$'(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
184 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
185 ("va" ["$B%t$!(B"]) ("vi" ["$B%t$#(B"]) ("vu" "$B%t(B") ("ve" ["$B%t$'(B"]) ("vo" ["$B%t$)(B"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
186 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
187 ("xa" "$B$!(B") ("xi" "$B$#(B") ("xu" "$B$%(B") ("xe" "$B$'(B") ("xo" "$B$)(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
188 ("xtu" "$B$C(B") ("xya" "$B$c(B") ("xyu" "$B$e(B") ("xyo" "$B$g(B") ("xwa" "$B$n(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
189 ("xka" "$B%u(B") ("xke" "$B%v(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
190 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
191 ("1" "$B#1(B") ("2" "$B#2(B") ("3" "$B#3(B") ("4" "$B#4(B") ("5" "$B#5(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
192 ("6" "$B#6(B") ("7" "$B#7(B") ("8" "$B#8(B") ("9" "$B#9(B") ("0" "$B#0(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
193 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
194 ("!" "$B!*(B") ("@" "$B!w(B") ("#" "$B!t(B") ("$" "$B!p(B") ("%" "$B!s(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
195 ("^" "$B!0(B") ("&" "$B!u(B") ("*" "$B!v(B") ("(" "$B!J(B") (")" "$B!K(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
196 ("-" "$B!<(B") ("=" "$B!a(B") ("`" "$B!.(B") ("\\" "$B!o(B") ("|" "$B!C(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
197 ("_" "$B!2(B") ("+" "$B!\(B") ("~" "$B!1(B") ("[" "$B!V(B") ("]" "$B!W(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
198 ("{" "$B!P(B") ("}" "$B!Q(B") (":" "$B!'(B") (";" "$B!((B") ("\"" "$B!I(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
199 ("'" "$B!G(B") ("." "$B!#(B") ("," "$B!"(B") ("<" "$B!c(B") (">" "$B!d(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
200 ("?" "$B!)(B") ("/" "$B!?(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
201 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
202 ("z1" "$B!{(B") ("z!" "$B!|(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
203 ("z2" "$B"&(B") ("z@" "$B"'(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
204 ("z3" "$B"$(B") ("z#" "$B"%(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
205 ("z4" "$B""(B") ("z$" "$B"#(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
206 ("z5" "$B!~(B") ("z%" "$B"!(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
207 ("z6" "$B!y(B") ("z^" "$B!z(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
208 ("z7" "$B!}(B") ("z&" "$B!r(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
209 ("z8" "$B!q(B") ("z*" "$B!_(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
210 ("z9" "$B!i(B") ("z(" "$B!Z(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
211 ("z0" "$B!j(B") ("z)" "$B![(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
212 ("z-" "$B!A(B") ("z_" "$B!h(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
213 ("z=" "$B!b(B") ("z+" "$B!^(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
214 ("z\\" "$B!@(B") ("z|" "$B!B(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
215 ("z`" "$B!-(B") ("z~" "$B!/(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
216 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
217 ("zq" "$B!T(B") ("zQ" "$B!R(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
218 ("zw" "$B!U(B") ("zW" "$B!S(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
219 ("zr" "$B!9(B") ("zR" "$B!8(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
220 ("zt" "$B!:(B") ("zT" "$B!x(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
221 ("zp" "$B")(B") ("zP" "$B",(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
222 ("z[" "$B!X(B") ("z{" "$B!L(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
223 ("z]" "$B!Y(B") ("z}" "$B!M(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
224 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
225 ("zs" "$B!3(B") ("zS" "$B!4(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
226 ("zd" "$B!5(B") ("zD" "$B!6(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
227 ("zf" "$B!7(B") ("zF" "$B"*(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
228 ("zg" "$B!>(B") ("zG" "$B!=(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
229 ("zh" "$B"+(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
230 ("zj" "$B"-(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
231 ("zk" "$B",(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
232 ("zl" "$B"*(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
233 ("z;" "$B!+(B") ("z:" "$B!,(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
234 ("z\'" "$B!F(B") ("z\"" "$B!H(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
235 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
236 ("zx" [":-"]) ("zX" [":-)"]) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
237 ("zc" "$B!;(B") ("zC" "$B!n(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
238 ("zv" "$B"((B") ("zV" "$B!`(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
239 ("zb" "$B!k(B") ("zB" "$B"+(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
240 ("zn" "$B!l(B") ("zN" "$B"-(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
241 ("zm" "$B!m(B") ("zM" "$B".(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
242 ("z," "$B!E(B") ("z<" "$B!e(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
243 ("z." "$B!D(B") ("z>" "$B!f(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
244 ("z/" "$B!&(B") ("z?" "$B!g(B") |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
245 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
246 ("\\\\" quail-japanese-self-insert-and-switch-to-alpha) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
247 ("{{" quail-japanese-self-insert-and-switch-to-alpha) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
248 ("}}" quail-japanese-self-insert-and-switch-to-alpha) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
249 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
250 ("qq" quail-japanese-switch-package) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
251 ("qz" quail-japanese-switch-package) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
252 )) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
253 |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
254 |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
255 ;; $B%m!<%^;zF~NO5Z$S2>L>4A;zJQ49$K$h$kF|K\8lF~NO%a%=%C%I(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
256 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
257 ;; $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 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
258 ;; $B$H!V2>L>4A;zJQ49!W$+$i$J$k!#:G=i$O%m!<%^;z2>L>JQ49$N%9%F!<%8$G!"%9(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
259 ;; $B%Z!<%9%-!<$r2!$9$3$H$K$h$j!"<!$N%9%F!<%8!V2>L>4A;zJQ49!W$X?J$`!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
260 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
261 ;; $B!V%m!<%^;z2>L>JQ49!W(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
262 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
263 ;; $BJ?2>L>$O>.J8;z%-!<!JNs!K$rBG$D$3$H$K$h$jF~NO!#6gFIE@!"3g8LN`$OBP1~(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
264 ;; $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 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
265 ;; $B$l$+$N%-!<$rBG$D$3$H$K$h$jF~NO!#2<$KA4$F$N2DG=$J%-!<%7!<%1%s%9%j%9(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
266 ;; $B%H%"%C%W$5$l$F$$$k!#F~NO$5$l$?J8;z$O2<@~$G<($5$l$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
267 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
268 ;; $B$5$i$K0J2<$N%-!<$GFCJL$J=hM}$r9T$&!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
269 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
270 ;; K $BJ?2>L>$rJR2>L>$K!"$"$k$$$OJR2>L>$rJ?2>L>$KJQ49(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
271 ;; qq $B$3$NF~NO%a%=%C%I$H(B `japanese-ascii' $BF~NO%a%=%C%I$r%H%0%k@ZBX(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
272 ;; qz `japanese-zenkaku' $BF~NO%a%=%C%I$K%7%U%H(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
273 ;; qh $B$HBG$F$P85$KLa$k(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
274 ;; RET $B8=:_$NF~NOJ8;zNs$r3NDj(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
275 ;; SPC $B2>L>4A;zJQ49$K?J$`(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
276 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
277 ;; `japanese-ascii' $BF~NO%a%=%C%I$O(B ASCII $BJ8;z$rF~NO$9$k$N$K;H$&!#$3$l(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
278 ;; $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 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
279 ;; $BBG$D$3$H$K$h$j!"(B`japanese' $BF~NO%a%=%C%I$KLa$l$kE@$G$"$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
280 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
281 ;; `japanese-zenkaku' $BF~NO%a%=%C%I$OA43Q1Q?t;z$rF~NO$9$k$N$K;H$&!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
282 ;; |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
283 ;; $B!V%m!<%^;z2>L>JQ49!W%9%F!<%8$G$N%-!<%7!<%1%s%9$N%j%9%H$O:G8e$KIU$1(B |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
284 ;; $B$F$"$k!#(B |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
285 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
286 ;; $B!V2>L>4A;zJQ49!W(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
287 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
288 ;; $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 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
289 ;; $BJQ49$5$l$?J8;zNs$O!"CmL\J8@a!JH?E>I=<(!K$H;D$j$NF~NO!J2<@~I=<(!K$K(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
290 ;; $BJ,$1$i$l$k!#CmL\J8@a$KBP$7$F$O0J2<$N%3%^%s%I$,;H$($k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
291 ;; |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
292 ;; SPC, C-n kkc-next |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
293 ;; $B<!$NJQ498uJd$rI=<((B |
30252
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
294 ;; kkc-show-conversion-list-count $B0J>eB3$1$FBG$F$P!"JQ498uJd%j%9(B |
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
295 ;; $B%H$r%(%3!<%(%j%"$KI=<((B |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
296 ;; C-p kkc-prev |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
297 ;; $BA0$NJQ498uJd$rI=<((B |
30252
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
298 ;; kkc-show-conversion-list-count $B0J>eB3$1$FBG$F$P!"JQ498uJd%j%9(B |
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
299 ;; $B%H$r%(%3!<%(%j%"$KI=<((B |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
300 ;; l kkc-show-conversion-list-or-next-group |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
301 ;; $B:G9b#1#08D$^$G$NJQ498uJd$r%(%3!<%(%j%"$KI=<(!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
302 ;; $BB3$1$FBG$?$l$l$P!"<!$N#1#08uJd$rI=<(!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
303 ;; L kkc-show-conversion-list-or-prev-group |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
304 ;; $B:G9b#1#08D$^$G$NJQ498uJd$r%(%3!<%(%j%"$KI=<(!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
305 ;; $BB3$1$FBG$?$l$l$P!"A0$N#1#08uJd$rI=<(!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
306 ;; 0..9 kkc-select-from-list |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
307 ;; $BBG$?$l$??t;z$NJQ498uJd$rA*Br(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
308 ;; H kkc-hiragana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
309 ;; $BCmL\J8@a$rJ?2>L>$KJQ49(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
310 ;; K kkc-katakana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
311 ;; $BCmL\J8@a$rJR2>L>$KJQ49(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
312 ;; C-o kkc-longer |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
313 ;; $BCmL\J8@a$r8e$m$K0lJ8;z?-$P$9(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
314 ;; C-i kkc-shorter |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
315 ;; $BCmL\J8@a$r8e$m$+$i0lJ8;z=L$a$k(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
316 ;; C-f kkc-next-phrase |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
317 ;; $BCmL\J8@a$r3NDj$5$;$k!#$b$7;D$j$NF~NO$,$^$@$"$l$P!":G=i$NJ8@a$r(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
318 ;; $BA*Br$7!"$=$l$rCmL\J8@a$H$7!"$=$N:G=i$NJQ498uJd$rI=<($9$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
319 ;; DEL, C-c kkc-cancel |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
320 ;; $B2>L>4A;zJQ49$r%-%c%s%;%k$7!"%m!<%^;z2>L>JQ49$N%9%F!<%8$KLa$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
321 ;; return kkc-terminate |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
322 ;; $BA4J8@a$r3NDj$5$;$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
323 ;; C-SPC, C-@ kkc-first-char-only |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
324 ;; $B:G=i$NJ8;z$r3NDj$5$;!";D$j$O:o=|$9$k!#(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
325 ;; C-h kkc-help |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
326 ;; $B$3$l$i$N%-!<%P%$%s%I$N%j%9%H$rI=<($9$k!#$"(B |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
327 |
18673 | 328 (quail-define-package |
329 "japanese" "Japanese" "A$B$"(B" | |
330 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
331 "Japanese input method by Roman transliteration and Kana-Kanji conversion. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
332 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
333 When you use this input method, text entry proceeds in two stages: |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
334 Roman-Kana transliteration and Kana-Kanji conversion. When you start |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
335 to enter text, you are in the first stage, Roman-Kana transliteration. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
336 Type SPC to proceed to the next stage, Kana-Kanji conversion. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
337 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
338 :: Roman-Kana transliteration :: |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
339 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
340 You can input any Hiragana character as a sequence of lower-case |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
341 letters, Japanese punctuation characters by typing punctuation keys, |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
342 Japanese symbols by typing `z' followed by another key. See below for |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
343 a list of all available sequences. The characters you input are |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
344 underlined. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
345 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
346 In addition, the following keys provide special effects: |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
347 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
348 K Change Hiragana to Katakana or Katakana to Hiragana. |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
349 qq Toggle between this input method and the input method `japanese-ascii'. |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
350 qz Shift to the input method `japanese-zenkaku'. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
351 Typing \"qh\" will put you back to this input method. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
352 RET Accept the current character sequence. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
353 SPC Proceed to the next stage, Kana-Kanji conversion. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
354 |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
355 The input method `japanese-ascii' is used to enter ASCII characters. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
356 This is almost the same as turning off the input method. The only |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
357 difference is that typing `qq' will put you back into the Japanese |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
358 input method. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
359 |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
360 The input method `japanese-zenkaku' is used to enter full width |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
361 JISX0208 characters corresponding to typed ASCII characters. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
362 |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
363 List of the all key sequences for Roman-Kana transliteration is shown |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
364 at the tail. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
365 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
366 :: Kana-Kanji conversion :: |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
367 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
368 You can convert the current Japanese characters (underlined) to |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
369 Kana-Kanji mixed text. In this stage, the converted text is divided |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
370 into two parts, the current phrase (highlighted) and the remaining |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
371 input (underlined). The following commands can be used on the |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
372 current phrase. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
373 |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
374 SPC, C-n kkc-next |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
375 Show the next candidate for the current phrase. |
30253 | 376 If successively typed `kkc-show-conversion-list-count' times, |
30252
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
377 conversion candidates are shown in the echo area. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
378 C-p kkc-prev |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
379 Show the previous candidate for the current phrase. |
30253 | 380 If successively typed `kkc-show-conversion-list-count' times, |
30252
5955b64b1637
("japanese"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
27131
diff
changeset
|
381 conversion candidates are shown in the echo area. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
382 l kkc-show-conversion-list-or-next-group |
30264
0f70c0c64a49
("japanese"): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents:
30253
diff
changeset
|
383 Show at most 10 candidates for the current phrase in echo area. |
27131
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
384 If typed repeatedly, show the next 10 candidates. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
385 L kkc-show-conversion-list-or-prev-group |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
386 Show at most 10 candidates for the current phrase in echo area. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
387 If typed repeatedly, show the previous 10 candidates. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
388 0..9 kkc-select-from-list |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
389 Select a candidate corresponding to the typed number. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
390 H kkc-hiragana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
391 Convert the current phrase to Hiragana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
392 K kkc-katakana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
393 Convert the current phrase to Katakana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
394 C-o kkc-longer |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
395 Extend the current phrase; pull in the first character of |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
396 the remaining input. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
397 C-i kkc-shorter |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
398 Contract the current phrase; drop its last character |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
399 back into the remaining input. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
400 C-f kkc-next-phrase |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
401 Accept the current phrase. If there remains input, select |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
402 the first phrase as the current one, and show the first |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
403 candidate for the conversion. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
404 DEL, C-c kkc-cancel |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
405 Cancel the conversion, shift back to the Roman-Kana |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
406 transliteration. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
407 return kkc-terminate |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
408 Accept the whole conversion. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
409 C-SPC, C-@ kkc-first-char-only |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
410 Accept the first character of the current conversion, |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
411 delete the remaining input. |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
412 C-h kkc-help |
6a56916deed4
("japanese"): Docstring augmented.
Kenichi Handa <handa@m17n.org>
parents:
24067
diff
changeset
|
413 List these key bindings. |
18673 | 414 " |
415 nil t t nil nil nil nil nil | |
416 'quail-japanese-update-translation | |
417 '(("K" . quail-japanese-toggle-kana) | |
418 (" " . quail-japanese-kanji-kkc) | |
419 ("\C-m" . quail-no-conversion) | |
420 ([return] . quail-no-conversion)) | |
421 ) | |
422 | |
36832
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
423 (dolist (elt quail-japanese-transliteration-rules) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
424 (quail-defrule (car elt) (nth 1 elt))) |
18673 | 425 |
426 (quail-define-package | |
427 "japanese-ascii" "Japanese" "Aa" | |
428 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
429 "Temporary ASCII input mode used within the input method `japanese'. |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
430 Type \"qq\" to go back to previous input method." |
18673 | 431 nil t t) |
432 | |
433 (quail-define-rules ("qq" quail-japanese-switch-package)) | |
434 | |
435 (quail-define-package | |
436 "japanese-zenkaku" "Japanese" "$B#A(B" | |
437 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
438 "Japanese zenkaku alpha numeric character input method. |
18673 | 439 ---- Special key bindings ---- |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
440 qq: toggle between this input method and the input method `japanese-ascii'. |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
441 qh: shift to the input method `japanese', |
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
442 typing \"qz\" puts you back to this input method. |
18673 | 443 " |
444 nil t t) | |
445 | |
446 (quail-define-rules | |
447 | |
448 (" " "$B!!(B") ("!" "$B!*(B") ("\"" "$B!m(B") ("#" "$B!t(B") | |
449 ("$" "$B!p(B") ("%" "$B!s(B") ("&" "$B!u(B") ("'" "$B!l(B") | |
450 ("(" "$B!J(B") (")" "$B!K(B") ("*" "$B!v(B") ("+" "$B!\(B") | |
451 ("," "$B!$(B") ("-" "$B!](B") ("." "$B!%(B") ("/" "$B!?(B") | |
452 ("0" "$B#0(B") ("1" "$B#1(B") ("2" "$B#2(B") ("3" "$B#3(B") | |
453 ("4" "$B#4(B") ("5" "$B#5(B") ("6" "$B#6(B") ("7" "$B#7(B") | |
454 ("8" "$B#8(B") ("9" "$B#9(B") (":" "$B!'(B") (";" "$B!((B") | |
455 ("<" "$B!c(B") ("=" "$B!a(B") (">" "$B!d(B") ("?" "$B!)(B") | |
456 ("@" "$B!w(B") ("A" "$B#A(B") ("B" "$B#B(B") ("C" "$B#C(B") | |
457 ("D" "$B#D(B") ("E" "$B#E(B") ("F" "$B#F(B") ("G" "$B#G(B") | |
458 ("H" "$B#H(B") ("I" "$B#I(B") ("J" "$B#J(B") ("K" "$B#K(B") | |
459 ("L" "$B#L(B") ("M" "$B#M(B") ("N" "$B#N(B") ("O" "$B#O(B") | |
460 ("P" "$B#P(B") ("Q" "$B#Q(B") ("R" "$B#R(B") ("S" "$B#S(B") | |
461 ("T" "$B#T(B") ("U" "$B#U(B") ("V" "$B#V(B") ("W" "$B#W(B") | |
462 ("X" "$B#X(B") ("Y" "$B#Y(B") ("Z" "$B#Z(B") ("[" "$B!N(B") | |
463 ("\\" "$B!o(B") ("]" "$B!O(B") ("^" "$B!0(B") ("_" "$B!2(B") | |
464 ("`" "$B!F(B") ("a" "$B#a(B") ("b" "$B#b(B") ("c" "$B#c(B") | |
465 ("d" "$B#d(B") ("e" "$B#e(B") ("f" "$B#f(B") ("g" "$B#g(B") | |
466 ("h" "$B#h(B") ("i" "$B#i(B") ("j" "$B#j(B") ("k" "$B#k(B") | |
467 ("l" "$B#l(B") ("m" "$B#m(B") ("n" "$B#n(B") ("o" "$B#o(B") | |
468 ("p" "$B#p(B") ("q" "$B#q(B") ("r" "$B#r(B") ("s" "$B#s(B") | |
469 ("t" "$B#t(B") ("u" "$B#u(B") ("v" "$B#v(B") ("w" "$B#w(B") | |
470 ("x" "$B#x(B") ("y" "$B#y(B") ("z" "$B#z(B") ("{" "$B!P(B") | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40710
diff
changeset
|
471 ("|" "$B!C(B") ("}" "$B!Q(B") ("~" "$B!A(B") |
18673 | 472 |
473 ("qq" quail-japanese-switch-package) | |
474 ("qh" quail-japanese-switch-package) | |
475 ) | |
476 | |
477 (defun quail-japanese-hankaku-update-translation (control-flag) | |
23316
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
478 (setq control-flag |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
479 (quail-japanese-update-translation control-flag)) |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
480 (if (or (and (stringp quail-current-str) |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
481 (> (length quail-current-str) 0)) |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
482 (integerp quail-current-str)) |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
483 (setq quail-current-str (japanese-hankaku quail-current-str))) |
308cd9d90647
(quail-japanese-hankaku-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
23262
diff
changeset
|
484 control-flag) |
18673 | 485 |
486 (quail-define-package | |
487 "japanese-hankaku-kana" | |
488 "Japanese" "(I1(B" | |
489 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
490 "Japanese hankaku katakana input method by Roman transliteration. |
18673 | 491 ---- Special key bindings ---- |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
492 qq: toggle between this input method and the input method `japanese-ascii'. |
18673 | 493 " |
494 nil t t nil nil nil nil nil | |
495 'quail-japanese-hankaku-update-translation) | |
496 | |
37202
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
497 (dolist (elt quail-japanese-transliteration-rules) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
498 (quail-defrule (car elt) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
499 (let ((trans (nth 1 elt))) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
500 (when (or (stringp trans) (vectorp trans)) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
501 (let ((s (japanese-hankaku (if (stringp trans) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
502 trans |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
503 (aref trans 0))))) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
504 ;; If the result of the conversion is a string |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
505 ;; containing more than one character, make the |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
506 ;; result a vector, so that quail-defrule |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
507 ;; recognizes the whole string is the |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
508 ;; translation, instead of interpreting |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
509 ;; individual characters as alternative |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
510 ;; translations. |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
511 (if (and (stringp s) (> (length s) 1)) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
512 (setq trans (vector s)) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
513 (setq trans s)))) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
514 trans))) |
18673 | 515 |
516 (quail-define-package | |
517 "japanese-hiragana" "Japanese" "$B$"(B" | |
518 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
519 "Japanese hiragana input method by Roman transliteration." |
18673 | 520 nil t t nil nil nil nil nil |
521 'quail-japanese-update-translation) | |
522 | |
523 ;; Use the same map as that of `japanese'. | |
524 (setcar (cdr (cdr quail-current-package)) | |
525 (nth 2 (assoc "japanese" quail-package-alist))) | |
526 | |
527 ;; Update Quail translation region while converting Hiragana to Katakana. | |
528 (defun quail-japanese-katakana-update-translation (control-flag) | |
23262
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
529 (setq control-flag |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
530 (quail-japanese-update-translation control-flag)) |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
531 (if (or (and (stringp quail-current-str) |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
532 (> (length quail-current-str) 0)) |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
533 (integerp quail-current-str)) |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
534 (setq quail-current-str (japanese-katakana quail-current-str))) |
5d2f6f759380
(quail-japanese-katakana-update-translation):
Kenichi Handa <handa@m17n.org>
parents:
22922
diff
changeset
|
535 control-flag) |
18673 | 536 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40710
diff
changeset
|
537 (quail-define-package |
18673 | 538 "japanese-katakana" "Japanese" "$B%"(B" |
539 nil | |
31427
57911faddb37
("japanese"): Delete the key sequence for
Kenichi Handa <handa@m17n.org>
parents:
30264
diff
changeset
|
540 "Japanese katakana input method by Roman transliteration." |
18673 | 541 nil t t nil nil nil nil nil |
542 'quail-japanese-katakana-update-translation) | |
543 | |
36832
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
544 (dolist (elt quail-japanese-transliteration-rules) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
545 (quail-defrule (car elt) |
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
546 (let ((trans (nth 1 elt))) |
37202
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
547 (cond ((stringp trans) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
548 (japanese-katakana trans)) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
549 ((vectorp trans) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
550 (vector (japanese-katakana (aref trans 0)))) |
9e69de8a5048
("japanese-hankaku-kana"): Don't use
Gerd Moellmann <gerd@gnu.org>
parents:
36834
diff
changeset
|
551 (t trans))))) |
36832
f40b8211dbe0
(quail-japanese-transliteration-rules): New variable. Use it to
Kenichi Handa <handa@m17n.org>
parents:
33582
diff
changeset
|
552 |
94710
4f1fd208c354
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79727
diff
changeset
|
553 ;; arch-tag: 47e0bfd4-6ecc-4d01-89a8-d687c5e01ff7 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
37202
diff
changeset
|
554 ;;; japanese.el ends here |