annotate lisp/mule/chinese-hooks.el @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents
children 54cc21c15cbb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 ;;; chinese-hooks.el --- pre-loaded support for Chinese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 ;; Copyright (C) 1995 Amdahl Corporation.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 ;; Copyright (C) 1996 Sun Microsystems.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 ;; This file is part of XEmacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 ;; XEmacs is free software; you can redistribute it and/or modify it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 ;; under the terms of the GNU General Public License as published by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 ;; any later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 ;; General Public License for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 ;; along with XEmacs; see the file COPYING. If not, write to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 ;; Boston, MA 02111-1307, USA.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 ;;; Synched up with: Mule 2.3.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 ;;; CHINESE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 ;; Syntax of Chinese characters.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 (loop for row in '(33 34 41) do (modify-syntax-entry `[chinese-gb ,row] "."))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 (loop for row from 35 to 40 do (modify-syntax-entry `[chinese-gb ,row] "w"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 (loop for row from 42 to 126 do (modify-syntax-entry `[chinese-gb ,row] "w"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 (modify-syntax-entry 'chinese-cns11643-1 "w")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 (modify-syntax-entry 'chinese-cns11643-2 "w")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 (modify-syntax-entry 'chinese-big5-1 "w")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 (modify-syntax-entry 'chinese-big5-2 "w")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 ;; CNS11643 Plane3 thru Plane7
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 ;; These represent more and more obscure Chinese characters.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 ;; By the time you get to Plane 7, we're talking about characters
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 ;; that appear once in some ancient manuscript and whose meaning
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 ;; is unknown.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 (flet
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 ((make-chinese-cns11643-charset
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 (name plane final)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 (make-charset
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 name (concat "Chinese CNS Plane " plane)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 `(registry
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 ,(concat "CNS11643[.-]\\(.*[.-]\\)?" plane "$")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 dimension 2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 chars 94
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55 final ,final
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 graphic 0))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 (modify-syntax-entry name "w")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 (modify-category-entry name ?t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 (make-chinese-cns11643-charset 'chinese-cns11643-3 "3" ?I)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 (make-chinese-cns11643-charset 'chinese-cns11643-4 "4" ?J)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 (make-chinese-cns11643-charset 'chinese-cns11643-5 "5" ?K)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 (make-chinese-cns11643-charset 'chinese-cns11643-6 "6" ?L)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 (make-chinese-cns11643-charset 'chinese-cns11643-7 "7" ?M)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 )
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 ;; PinYin-ZhuYin
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 (make-charset 'sisheng "PinYin-ZhuYin"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69 '(registry "sisheng_cwnn\\|OMRON_UDC_ZH"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 dimension 1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 chars 94
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72 final ?0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 graphic 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 'euc-china 'iso2022
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 "Coding-system of Chinese EUC (Extended Unix Code)."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 '(charset-g0 ascii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 charset-g1 chinese-gb
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 charset-g2 sisheng
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 charset-g3 t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 mnemonic "EUC/China"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 'hz 'no-conversion
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 "Coding-system of Hz/ZW used for Chinese."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 '(mnemonic "Hz/ZW"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 eol-type lf
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 post-read-conversion hz2gb-region
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 pre-write-conversion gb2hz-region))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 'big5 'big5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96 "Coding-system of BIG5."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 '(mnemonic "Big5"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99 (copy-coding-system 'big5 'big5-eten)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101 ;; If you prefer QUAIL to EGG, please modify below as you wish.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102 (when (and (featurep 'egg) (featurep 'wnn))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103 (setq wnn-server-type 'cserver)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104 (load "its/pinyin")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 (setq its:*standard-modes*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106 (cons (its:get-mode-map "PinYin") its:*standard-modes*)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 ;; For QUAIL
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 ;; Please add your own quail package if any.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111 ;; For GB character input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 (add-hook 'quail-package-alist '("py" "quail/py"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 (add-hook 'quail-package-alist '("qj" "quail/qj"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 (add-hook 'quail-package-alist '("punct" "quail/punct"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 (add-hook 'quail-package-alist '("sw" "quail/sw"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 (add-hook 'quail-package-alist '("tonepy" "quail/tonepy"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 (add-hook 'quail-package-alist '("ccdospy" "quail/ccdospy"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118 (add-hook 'quail-package-alist '("ctlau" "quail/ctlau"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 ;; For BIG5 character input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121 (add-hook 'quail-package-alist '("py-b5" "quail/py-b5"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122 (add-hook 'quail-package-alist '("qj-b5" "quail/qj-b5"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123 (add-hook 'quail-package-alist '("punct-b5" "quail/punct-b5"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124 (add-hook 'quail-package-alist '("ctlaub" "quail/ctlaub"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125 (add-hook 'quail-package-alist '("zozy" "quail/zozy"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 (add-hook 'quail-package-alist '("etzy" "quail/etzy"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 ;; For Big5 handling
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 (define-ccl-program ccl-internal-to-big5-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 '(((r1 = ((((r0 - #x21) * 94) + r1) - #x21))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 (r0 = ((r1 / 157) + #xA1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 (r1 %= 157)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 (if (r1 < #x3F) (r1 += #x40) (r1 += #x62))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 "CCL program to convert internal Big5 code (level1) to code point of Big5 font.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 ;; 6280 is the number of characters that got shoved into `chinese-big5-1'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138 (define-ccl-program ccl-internal-to-big5-2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 '(((r1 = (((((r0 - #x21) * 94) + r1) - #x21) + 6280))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 (r0 = ((r1 / 157) + #xA1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 (r1 %= 157)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 (if (r1 < #x3F) (r1 += #x40) (r1 += #x62))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143 "CCL program to convert internal Big5 code (level2) to code point of Big5 font.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 (set-charset-ccl-program 'chinese-big5-1 ccl-internal-to-big5-1)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 (set-charset-ccl-program 'chinese-big5-2 ccl-internal-to-big5-2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 ;; This isn't used and doesn't work yet because CCL doesn't know
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 ;; how to handle things like 'chinese-big5-1 currently. The
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 ;; original of this program had 152 (the leading byte) in place of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 ;; chinese-big5-1, etc., but that will never do. No exposing of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 ;; leading bytes to the Lisp level!
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153 ;(define-ccl-program ccl-big5-to-internal
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 ; '(0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 ; ((if (r0 < #xC9)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 ; ((r2 = (((r0 - #xA1) * 157) + r1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157 ; (r0 = chinese-big5-1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158 ; ((r2 = (((r0 - #xC9) * 157) + r1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 ; (r0 = chinese-big5-2)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160 ; (if (r1 < #x7F) (r2 -= #x40) (r2 -= #x62))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 ; (r1 = ((r2 / 94) + #x21))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162 ; (r2 = ((r2 % 94) + #x21))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163 ; ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 ; "CCL program to convert Big5 code to internal code.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 (define-language-environment 'chinese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167 "Chinese (includes GB, Big5, and CNS)"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 (lambda ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 (require 'chinese)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 (set-coding-category-system 'iso-8-2 'euc-china)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 (set-coding-priority-list '(iso-8-2 big5 iso-8-designate))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 (set-default-file-coding-system 'euc-china) ; GB encoding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 (setq terminal-coding-system 'euc-china)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174 (setq keyboard-coding-system 'euc-china)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175 (when (featurep 'egg)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 (setq-default its:*current-map* (its:get-mode-map "PinYin")))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 (setq-default quail-current-package (assoc "py" quail-package-alist))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 (set-coding-category-system 'big5 'big5)