1 ;; zh-cangjie.mim -- Chinese input method with CANGJIE sequence
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n database; a sub-part of the m17n
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ;; Lesser General Public License for more details.
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
24 ;; The map "map" was generated from the "Unihan database" belonging
25 ;; to the "Unicode Character Database" using the entries kCangjie,
26 ;; and thus that part is governed by the "Unicode Copyright"
27 ;; (see the file UNIDATA/copyright.html).
29 (input-method zh cangjie)
31 (description "Chinese input method with CANGJIE method.
32 In addition to Chinese characters, fullwidth latin characters and
33 symbols are available in fullwidth mode (turns on and off by
34 \">>\" and \"<<\" respectively). This mode can also be turned on
35 temporarily by typing \"Z\".
40 (candidates-group-size))
44 ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
45 ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
46 ("s") ("t") ("u") ("v") ("w") ("x") ("y"))
16359 (include (t nil cjk-util) map)
16360 (include (t nil zh-util) map)
16363 ;; When an initial character is typed, re-handle it in "main" state.
16365 (starter (show) (pushback 1) (shift main))
16366 (enter-fullwidth-mode (shift fullwidth-mode))
16367 (enter-single-fullwidth-mode (shift single-fullwidth-mode)))
16370 ;; When a complete sequence is typed, shift to "select" state
16371 ;; to allow users to select one from the candidates.
16372 (map (shift select))
16373 (nil (hide) (shift check-undo))))
16375 (include (t nil cjk-util) state)
16376 (include (t nil zh-util) state)
16378 ;; Local Variables: