Mercurial > hg > xemacs-beta
comparison lisp/language/chinese.el @ 197:acd284d43ca1 r20-3b25
Import from CVS: tag r20-3b25
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:00:02 +0200 |
parents | 85ec50267440 |
children | e45d5e7c476e |
comparison
equal
deleted
inserted
replaced
196:58e0786448ca | 197:acd284d43ca1 |
---|---|
1 ;;; chinese.el --- Support for Chinese | 1 ;;; chinese.el --- Support for Chinese |
2 | 2 |
3 ;; Copyright (C) 1995 Free Software Foundation, Inc. | |
4 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | 3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
4 ;; Licensed to the Free Software Foundation. | |
5 ;; Copyright (C) 1997 MORIOKA Tomohiko | 5 ;; Copyright (C) 1997 MORIOKA Tomohiko |
6 | 6 |
7 ;; Keywords: multilingual, Chinese | 7 ;; Keywords: multilingual, Chinese |
8 | 8 |
9 ;; This file is part of XEmacs. | 9 ;; This file is part of XEmacs. |
102 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 102 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
103 ;;; Chinese (general) | 103 ;;; Chinese (general) |
104 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 104 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
105 | 105 |
106 ;; (make-coding-system | 106 ;; (make-coding-system |
107 ;; 'iso-2022-cn 2 ?C | 107 ;; 'chinese-iso-7bit 2 ?C |
108 ;; "Coding system ISO-2022-CN for Chinese (GB and CNS character sets)." | 108 ;; "ISO 2022 based 7bit encoding for Chinese GB and CNS (MIME:ISO-2022-CN)" |
109 ;; '(ascii | 109 ;; '(ascii |
110 ;; (nil chinese-gb2312 chinese-cns11643-1) | 110 ;; (nil chinese-gb2312 chinese-cns11643-1) |
111 ;; (nil chinese-cns11643-2) | 111 ;; (nil chinese-cns11643-2) |
112 ;; (nil chinese-cns11643-3 chinese-cns11643-4 chinese-cns11643-5 | 112 ;; (nil chinese-cns11643-3 chinese-cns11643-4 chinese-cns11643-5 |
113 ;; chinese-cns11643-6 chinese-cns11643-7) | 113 ;; chinese-cns11643-6 chinese-cns11643-7) |
114 ;; nil ascii-eol ascii-cntl seven locking-shift single-shift nil nil nil | 114 ;; nil ascii-eol ascii-cntl seven locking-shift single-shift nil nil nil |
115 ;; init-bol)) | 115 ;; init-bol)) |
116 | 116 |
117 ;; (define-coding-system-alias 'iso-2022-cn 'iso-2022-cn-ext) | 117 ;; (define-coding-system-alias 'iso-2022-cn 'chinese-iso-7bit) |
118 | 118 ;; (define-coding-system-alias 'iso-2022-cn-ext 'chinese-iso-7bit) |
119 (defun describe-chinese-support () | 119 |
120 "Describe how Emacs supports Chinese." | 120 ;; (define-prefix-command 'describe-chinese-environment-map) |
121 (interactive) | 121 ;; (define-key-after describe-language-environment-map [Chinese] |
122 (with-output-to-temp-buffer "*Help*" | 122 ;; '("Chinese" . describe-chinese-environment-map) |
123 (princ (get-language-info "Chinese" 'documentation)) | 123 ;; t) |
124 (princ "\n"))) | 124 |
125 | 125 ;; (define-prefix-command 'setup-chinese-environment-map) |
126 (set-language-info-alist | 126 ;; (define-key-after setup-language-environment-map [Chinese] |
127 "Chinese" '((describe-function . describe-chinese-support) | 127 ;; '("Chinese" . setup-chinese-environment-map) |
128 (documentation . "\ | 128 ;; t) |
129 Emacs provides the following three kinds of Chinese support: | 129 |
130 Chinese-GB: for users of the charset GB2312 | 130 ;; (defun describe-chinese-support () |
131 Chinese-BIG5: for users of the charset Big5 | 131 ;; "Describe how Emacs supports Chinese." |
132 Chinese-CNS: for users of the charset CNS11643 family | 132 ;; (interactive) |
133 Please specify one of them to get more information.") | 133 ;; (with-output-to-temp-buffer "*Help*" |
134 )) | 134 ;; (princ (get-language-info "Chinese" 'documentation)) |
135 | 135 ;; (princ "\n"))) |
136 | |
136 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 137 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
137 ;;; Chinese GB2312 (simplified) | 138 ;;; Chinese GB2312 (simplified) |
138 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 139 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
139 | 140 |
140 ;; (make-coding-system | 141 ;; (make-coding-system |
141 ;; 'cn-gb-2312 2 ?C | 142 ;; 'chinese-iso-8bit 2 ?c |
142 ;; "Coding-system of Chinese EUC (so called GB Encoding)." | 143 ;; "ISO 2022 based EUC encoding for Chinese GB2312 (MIME:CN-GB-2312)" |
143 ;; '((ascii t) chinese-gb2312 chinese-sisheng nil | 144 ;; '((ascii t) chinese-gb2312 chinese-sisheng nil |
144 ;; nil ascii-eol ascii-cntl nil nil single-shift nil)) | 145 ;; nil ascii-eol ascii-cntl nil nil single-shift nil)) |
145 | 146 |
146 (make-coding-system | 147 (make-coding-system |
147 'cn-gb-2312 'iso2022 | 148 'cn-gb-2312 'iso2022 |
151 charset-g2 sisheng | 152 charset-g2 sisheng |
152 charset-g3 t | 153 charset-g3 t |
153 mnemonic "Zh-GB/EUC" | 154 mnemonic "Zh-GB/EUC" |
154 )) | 155 )) |
155 | 156 |
156 ;;(define-coding-system-alias 'cn-gb-2312 'euc-china) | 157 ;; (define-coding-system-alias 'cn-gb-2312 'chinese-iso-8bit) |
158 ;; (define-coding-system-alias 'euc-china 'chinese-iso-8bit) | |
157 | 159 |
158 (copy-coding-system 'cn-gb-2312 'gb2312) | 160 (copy-coding-system 'cn-gb-2312 'gb2312) |
159 (copy-coding-system 'cn-gb-2312 'chinese-euc) | 161 (copy-coding-system 'cn-gb-2312 'chinese-euc) |
160 | 162 |
161 ;; (make-coding-system | 163 ;; (make-coding-system |
162 ;; 'hz-gb-2312 0 ?z | 164 ;; 'chinese-hz 0 ?z |
163 ;; "Codins-system of Hz/ZW used for Chinese (GB)." | 165 ;; "Hz/ZW 7-bit encoding for Chinese GB2312 (MIME:HZ-GB-2312)" |
164 ;; nil) | 166 ;; nil) |
165 ;; (put 'hz-gb-2312 'post-read-conversion 'post-read-decode-hz) | 167 ;; (put 'chinese-hz 'post-read-conversion 'post-read-decode-hz) |
166 ;; (put 'hz-gb-2312 'pre-write-conversion 'pre-write-encode-hz) | 168 ;; (put 'chinese-hz 'pre-write-conversion 'pre-write-encode-hz) |
167 | 169 |
168 (make-coding-system | 170 (make-coding-system |
169 'hz-gb-2312 'no-conversion | 171 'hz-gb-2312 'no-conversion |
170 "Coding-system of Hz/ZW used for Chinese." | 172 "Coding-system of Hz/ZW used for Chinese." |
171 '(mnemonic "Zh-GB/Hz" | 173 '(mnemonic "Zh-GB/Hz" |
172 eol-type lf | 174 eol-type lf |
173 post-read-conversion post-read-decode-hz | 175 post-read-conversion post-read-decode-hz |
174 pre-write-conversion pre-write-encode-hz)) | 176 pre-write-conversion pre-write-encode-hz)) |
175 | 177 |
176 ;; (define-coding-system-alias 'hz-gb-2312 'hz) | 178 ;; (define-coding-system-alias 'hz-gb-2312 'chinese-hz) |
179 ;; (define-coding-system-alias 'hz 'chinese-hz) | |
177 | 180 |
178 (copy-coding-system 'hz-gb-2312 'hz) | 181 (copy-coding-system 'hz-gb-2312 'hz) |
179 (copy-coding-system 'hz-gb-2312 'chinese-hz) | 182 (copy-coding-system 'hz-gb-2312 'chinese-hz) |
180 | 183 |
181 (defun post-read-decode-hz (len) | 184 (defun post-read-decode-hz (len) |
191 (insert from) | 194 (insert from) |
192 (insert-buffer-substring buf from to)) | 195 (insert-buffer-substring buf from to)) |
193 (encode-hz-region 1 (point-max)) | 196 (encode-hz-region 1 (point-max)) |
194 nil)) | 197 nil)) |
195 | 198 |
196 (register-input-method | 199 ;; (defun setup-chinese-gb-environment () |
197 "Chinese-GB" '("quail-ccdospy" quail-use-package "quail/ccdospy")) | 200 ;; "Setup multilingual environment (MULE) for Chinese GB2312 users." |
198 (register-input-method | 201 ;; (interactive) |
199 "Chinese-GB" '("quail-ctlau" quail-use-package "quail/ctlau")) | 202 ;; (setq primary-language "Chinese-GB") |
200 (register-input-method | 203 ;; |
201 "Chinese-GB" '("quail-punct" quail-use-package "quail/punct")) | 204 ;; (setq coding-category-iso-8-2 'cn-gb-2312) |
202 (register-input-method | 205 ;; (setq coding-category-iso-else 'iso-2022-cn) |
203 "Chinese-GB" '("quail-qj" quail-use-package "quail/qj")) | 206 ;; (setq coding-category-big5 'cn-big5) |
204 (register-input-method | 207 ;; |
205 "Chinese-GB" '("quail-sw" quail-use-package "quail/sw")) | 208 ;; (set-coding-priority |
206 (register-input-method | 209 ;; '(coding-category-iso-7 |
207 "Chinese-GB" '("quail-ziranma" quail-use-package "quail/ziranma")) | 210 ;; coding-category-iso-else |
208 (register-input-method | 211 ;; coding-category-iso-8-2 |
209 "Chinese-GB" '("quail-tonepy" quail-use-package "quail/tonepy")) | 212 ;; coding-category-big5 |
210 (register-input-method | 213 ;; coding-category-iso-8-1 |
211 "Chinese-GB" '("quail-py" quail-use-package "quail/py")) | 214 ;; coding-category-internal |
212 | 215 ;; )) |
213 (defun setup-chinese-gb-environment () | 216 ;; |
214 "Setup multilingual environment (MULE) for Chinese GB2312 users." | 217 ;; (setq-default buffer-file-coding-system 'cn-gb-2312) |
215 (interactive) | 218 ;; (set-terminal-coding-system 'cn-gb-2312) |
216 (setq primary-language "Chinese-GB") | 219 ;; (set-keyboard-coding-system 'cn-gb-2312) |
217 | 220 ;; |
218 (setq coding-category-iso-8-2 'cn-gb-2312) | 221 ;; (setq default-input-method '("Chinese-GB" . "quail-py")) |
219 (setq coding-category-iso-else 'iso-2022-cn) | 222 ;; ) |
220 (setq coding-category-big5 'cn-big5) | 223 |
221 | 224 ;; (defun describe-chinese-gb-support () |
222 (set-coding-priority | 225 ;; "Describe how Emacs supports Chinese for GB2312 users." |
223 '(coding-category-iso-7 | 226 ;; (interactive) |
224 coding-category-iso-else | 227 ;; (describe-language-support-internal "Chinese-GB")) |
225 coding-category-iso-8-2 | 228 |
226 coding-category-big5 | |
227 coding-category-iso-8-1 | |
228 coding-category-internal | |
229 )) | |
230 | |
231 (setq-default buffer-file-coding-system 'cn-gb-2312) | |
232 (set-terminal-coding-system 'cn-gb-2312) | |
233 (set-keyboard-coding-system 'cn-gb-2312) | |
234 | |
235 (setq default-input-method '("Chinese-GB" . "quail-py")) | |
236 ) | |
237 | |
238 (defun describe-chinese-gb-support () | |
239 "Describe how Emacs supports Chinese for GB2312 users." | |
240 (interactive) | |
241 (describe-language-support-internal "Chinese-GB")) | |
242 | |
243 (set-language-info-alist | 229 (set-language-info-alist |
244 "Chinese-GB" '((setup-function . setup-chinese-gb-environment) | 230 "Chinese-GB" '((setup-function . (setup-chinese-gb-environment |
245 (describe-function . describe-chinese-gb-support) | 231 . setup-chinese-environment-map)) |
246 (charset . (chinese-gb2312 chinese-sisheng)) | 232 (charset . (chinese-gb2312 chinese-sisheng)) |
247 (coding-system . (cn-gb-2312 hz-gb-2312 iso-2022-cn)) | 233 (coding-system |
234 . (cn-gb-2312 iso-2022-7bit hz-gb-2312)) | |
248 (sample-text . "Chinese ($AVPND(B,$AFUM(;0(B,$A::So(B) $ADc:C(B") | 235 (sample-text . "Chinese ($AVPND(B,$AFUM(;0(B,$A::So(B) $ADc:C(B") |
249 (documentation . nil))) | 236 (documentation . ("Support for Chinese GB2312 character set." |
237 . describe-chinese-environment-map)) | |
238 )) | |
250 | 239 |
251 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 240 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
252 ;; Chinese BIG5 (traditional) | 241 ;; Chinese BIG5 (traditional) |
253 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 242 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
254 | 243 |
255 ;; (make-coding-system | 244 ;; (make-coding-system |
256 ;; 'big5 3 ?B | 245 ;; 'chinese-big5 3 ?B "BIG5 8-bit encoding for Chinese (MIME:CN-BIG5)") |
257 ;; "Coding-system of BIG5.") | |
258 | |
259 ;;(define-coding-system-alias 'big5 'cn-big5) | |
260 | 246 |
261 (make-coding-system | 247 (make-coding-system |
262 'big5 'big5 | 248 'big5 'big5 |
263 "Coding-system of BIG5." | 249 "Coding-system of BIG5." |
264 '(mnemonic "Zh/Big5")) | 250 '(mnemonic "Zh/Big5")) |
251 | |
252 ;; (define-coding-system-alias 'big5 'chinese-big5) | |
253 ;; (define-coding-system-alias 'cn-big5 'chinese-big5) | |
265 | 254 |
266 (copy-coding-system 'big5 'cn-big5) | 255 (copy-coding-system 'big5 'cn-big5) |
267 (copy-coding-system 'big5 'chinese-big5) | 256 (copy-coding-system 'big5 'chinese-big5) |
268 | 257 |
269 ;; Big5 font requires special encoding. | 258 ;; Big5 font requires special encoding. |
300 "CCL program to encode a Big5 code (level2) to code point of Big5 font.") | 289 "CCL program to encode a Big5 code (level2) to code point of Big5 font.") |
301 | 290 |
302 (set-charset-ccl-program 'chinese-big5-1 ccl-encode-big5-1-font) | 291 (set-charset-ccl-program 'chinese-big5-1 ccl-encode-big5-1-font) |
303 (set-charset-ccl-program 'chinese-big5-2 ccl-encode-big5-2-font) | 292 (set-charset-ccl-program 'chinese-big5-2 ccl-encode-big5-2-font) |
304 | 293 |
305 (register-input-method | 294 ;; (defun setup-chinese-big5-environment () |
306 "Chinese-BIG5" '("quail-qj-b5" quail-use-package "quail/qj-b5")) | 295 ;; "Setup multilingual environment (MULE) for Chinese Big5 users." |
307 (register-input-method | 296 ;; (interactive) |
308 "Chinese-BIG5" '("quail-zozy" quail-use-package "quail/zozy")) | 297 ;; (setq primary-language "Chinese-BIG5") |
309 (register-input-method | 298 ;; |
310 "Chinese-BIG5" '("quail-tsangchi-b5" quail-use-package "quail/tsangchi-b5")) | 299 ;; (setq coding-category-big5 'cn-big5) |
311 (register-input-method | 300 ;; (setq coding-category-iso-else 'iso-2022-cn) |
312 "Chinese-BIG5" '("quail-py-b5" quail-use-package "quail/py-b5")) | 301 ;; (setq coding-category-iso-8-2 'cn-gb-2312) |
313 (register-input-method | 302 ;; |
314 "Chinese-BIG5" '("quail-quick-b5" quail-use-package "quail/quick-bt")) | 303 ;; (set-coding-priority |
315 (register-input-method | 304 ;; '(coding-category-iso-7 |
316 "Chinese-BIG5" '("quail-etzy" quail-use-package "quail/etzy")) | 305 ;; coding-category-iso-else |
317 (register-input-method | 306 ;; coding-category-big5 |
318 "Chinese-BIG5" '("quail-ecdict" quail-use-package "quail/ecdict")) | 307 ;; coding-category-iso-8-2)) |
319 (register-input-method | 308 ;; |
320 "Chinese-BIG5" '("quail-ctlaub" quail-use-package "quail/ctlaub")) | 309 ;; (setq-default buffer-file-coding-system 'cn-big5) |
321 (register-input-method | 310 ;; (set-terminal-coding-system 'cn-big5) |
322 "Chinese-BIG5" '("quail-array30" quail-use-package "quail/array30")) | 311 ;; (set-keyboard-coding-system 'cn-big5) |
323 (register-input-method | 312 ;; |
324 "Chinese-BIG5" '("quail-4corner" quail-use-package "quail/4corner")) | 313 ;; (setq default-input-method '("Chinese-BIG5" . "quail-py-b5")) |
325 | 314 ;; ) |
326 (defun setup-chinese-big5-environment () | 315 |
327 "Setup multilingual environment (MULE) for Chinese Big5 users." | 316 ;; (defun describe-chinese-big5-support () |
328 (interactive) | 317 ;; "Describe how Emacs supports Chinese for Big5 users." |
329 (setq primary-language "Chinese-BIG5") | 318 ;; (interactive) |
330 | 319 ;; (describe-language-support-internal "Chinese-BIG5")) |
331 (setq coding-category-big5 'cn-big5) | |
332 (setq coding-category-iso-else 'iso-2022-cn) | |
333 (setq coding-category-iso-8-2 'cn-gb-2312) | |
334 | |
335 (set-coding-priority | |
336 '(coding-category-iso-7 | |
337 coding-category-iso-else | |
338 coding-category-big5 | |
339 coding-category-iso-8-2)) | |
340 | |
341 (setq-default buffer-file-coding-system 'cn-big5) | |
342 (set-terminal-coding-system 'cn-big5) | |
343 (set-keyboard-coding-system 'cn-big5) | |
344 | |
345 (setq default-input-method '("Chinese-BIG5" . "quail-py-b5")) | |
346 ) | |
347 | |
348 (defun describe-chinese-big5-support () | |
349 "Describe how Emacs supports Chinese for Big5 users." | |
350 (interactive) | |
351 (describe-language-support-internal "Chinese-BIG5")) | |
352 | 320 |
353 (set-language-info-alist | 321 (set-language-info-alist |
354 "Chinese-BIG5" '((setup-function . setup-chinese-big5-environment) | 322 "Chinese-BIG5" '((setup-function . (setup-chinese-big5-environment |
355 (describe-function . describe-chinese-big5-support) | 323 . setup-chinese-environment-map)) |
356 (charset . (chinese-big5-1 chinese-big5-2)) | 324 (charset . (chinese-big5-1 chinese-big5-2)) |
357 (coding-system . (cn-big5 iso-2022-cn)) | 325 (coding-system . (big5 iso-2022-7bit)) |
358 (sample-text . "Cantonese ($(0GnM$(B,$(0N]0*Hd(B) $(0*/=((B, $(0+$)p(B") | 326 (sample-text . "Cantonese ($(0GnM$(B,$(0N]0*Hd(B) $(0*/=((B, $(0+$)p(B") |
359 (documentation . nil))) | 327 (documentation . ("Support for Chinese Big5 character set." |
328 . describe-chinese-environment-map)) | |
329 )) | |
360 | 330 |
361 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 331 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
362 ;; Chinese CNS11643 (traditional) | 332 ;; Chinese CNS11643 (traditional) |
363 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 333 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
364 | 334 |
365 (register-input-method | 335 ;; (defun setup-chinese-cns-environment () |
366 "Chinese-CNS" '("quail-quick-cns" quail-use-package "quail/quick-cns")) | 336 ;; "Setup multilingual environment (MULE) for Chinese CNS11643 family users." |
367 (register-input-method | 337 ;; (interactive) |
368 "Chinese-CNS" '("quail-tsangchi-cns" quail-use-package "quail/tsangchi-cns")) | 338 ;; (setq primary-language "Chinese-CNS") |
369 | 339 ;; |
370 (defun setup-chinese-cns-environment () | 340 ;; (setq coding-category-iso-else 'iso-2022-cn) |
371 "Setup multilingual environment (MULE) for Chinese CNS11643 family users." | 341 ;; (setq coding-category-big5 'cn-big5) |
372 (interactive) | 342 ;; (setq coding-category-iso-8-2 'cn-gb-2312) |
373 (setq primary-language "Chinese-CNS") | 343 ;; |
374 | 344 ;; (set-coding-priority |
375 (setq coding-category-iso-else 'iso-2022-cn) | 345 ;; '(coding-category-iso-7 |
376 (setq coding-category-big5 'cn-big5) | 346 ;; coding-category-iso-else |
377 (setq coding-category-iso-8-2 'cn-gb-2312) | 347 ;; coding-category-iso-8-2 |
378 | 348 ;; coding-category-big5)) |
379 (set-coding-priority | 349 ;; |
380 '(coding-category-iso-7 | 350 ;; (setq-default buffer-file-coding-system 'iso-2022-cn) |
381 coding-category-iso-else | 351 ;; (set-terminal-coding-system 'iso-2022-cn) |
382 coding-category-iso-8-2 | 352 ;; (set-keyboard-coding-system 'iso-2022-cn) |
383 coding-category-big5)) | 353 ;; |
384 | 354 ;; (setq default-input-method '("Chinese-CNS" . "quail-py-cns")) |
385 (setq-default buffer-file-coding-system 'iso-2022-cn) | 355 ;; ) |
386 (set-terminal-coding-system 'iso-2022-cn) | 356 |
387 (set-keyboard-coding-system 'iso-2022-cn) | 357 ;; (defun describe-chinese-cns-support () |
388 | 358 ;; "Describe how Emacs supports Chinese for CNS11643 family users." |
389 (setq default-input-method '("Chinese-CNS" . "quail-py-cns")) | 359 ;; (interactive) |
390 ) | 360 ;; (describe-language-support-internal "Chinese-CNS")) |
391 | |
392 (defun describe-chinese-cns-support () | |
393 "Describe how Emacs supports Chinese for CNS11643 family users." | |
394 (interactive) | |
395 (describe-language-support-internal "Chinese-CNS")) | |
396 | 361 |
397 (set-language-info-alist | 362 (set-language-info-alist |
398 "Chinese-CNS" '((setup-function . setup-chinese-cns-environment) | 363 "Chinese-CNS" '((setup-function . (setup-chinese-cns-environment |
399 (describe-function . describe-chinese-cns-support) | 364 . setup-chinese-environment-map)) |
400 (charset . (chinese-cns11643-1 chinese-cns11643-2 | 365 (charset . (chinese-cns11643-1 chinese-cns11643-2 |
401 chinese-cns11643-3 chinese-cns11643-4 | 366 chinese-cns11643-3 chinese-cns11643-4 |
402 chinese-cns11643-5 chinese-cns11643-6 | 367 chinese-cns11643-5 chinese-cns11643-6 |
403 chinese-cns11643-7)) | 368 chinese-cns11643-7)) |
404 (coding-system . (iso-2022-cn)) | 369 (coding-system . (iso-2022-7bit)) |
405 (documentation . nil))) | 370 (documentation . ("Support for Chinese CNS character sets." |
406 | 371 . describe-chinese-environment-map)) |
372 )) | |
407 | 373 |
408 ;;; for XEmacs (will be obsoleted) | 374 ;;; for XEmacs (will be obsoleted) |
409 | 375 |
410 (define-language-environment 'chinese | 376 (define-language-environment 'chinese |
411 "Chinese (includes GB, Big5, and CNS)" | 377 "Chinese (includes GB, Big5, and CNS)" |