Mercurial > emacs
comparison lisp/language/japanese.el @ 18203:0745f30aec66
Adjusted for coding system name change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 10 Jun 1997 01:08:21 +0000 |
parents | 73869115ae0a |
children | bd8b521f5218 |
comparison
equal
deleted
inserted
replaced
18202:1fe28ee1b0cd | 18203:0745f30aec66 |
---|---|
27 ;; For Japanese, character sets JISX0201, JISX0208, JISX0212 are | 27 ;; For Japanese, character sets JISX0201, JISX0208, JISX0212 are |
28 ;; supported. | 28 ;; supported. |
29 | 29 |
30 ;;; Code: | 30 ;;; Code: |
31 | 31 |
32 (define-coding-system-alias 'iso-2022-7 'iso-2022-jp) | 32 (define-coding-system-alias 'iso-2022-7bit 'iso-2022-jp) |
33 (define-coding-system-alias 'iso-2022-7 'junet) | 33 (define-coding-system-alias 'iso-2022-7bit 'junet) |
34 | 34 |
35 (make-coding-system | 35 (make-coding-system |
36 'shift_jis 1 ?S | 36 'japanese-shift-jis 1 ?S |
37 "Coding-system of Shift-JIS used in Japan." t) | 37 "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)") |
38 | 38 |
39 (define-coding-system-alias 'shift_jis 'sjis) | 39 (define-coding-system-alias 'japanese-shift-jis 'shift_jis) |
40 (define-coding-system-alias 'japanese-shift-jis 'sjis) | |
40 | 41 |
41 (make-coding-system | 42 (make-coding-system |
42 'iso-2022-jp-1978-irv 2 ?J | 43 'japanese-iso-7bit-1978-irv 2 ?j |
43 "Coding-system used for old jis terminal." | 44 "ISO 2022 based 7-bit encoding for Japanese JISX0208-1978 and JISX0201-Roman" |
44 '((ascii t) nil nil nil | 45 '((ascii t) nil nil nil |
45 short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) | 46 short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) |
46 | 47 |
47 (define-coding-system-alias 'iso-2022-jp-1978-irv 'old-jis) | 48 (define-coding-system-alias 'japanese-iso-7bit-1978-irv 'iso-2022-jp-1978-irv) |
49 (define-coding-system-alias 'japanese-iso-7bit-1978-irv 'old-jis) | |
48 | 50 |
49 (make-coding-system | 51 (make-coding-system |
50 'euc-japan-1990 2 ?E | 52 'japanese-iso-8bit 2 ?E |
51 "Coding-system of Japanese EUC (Extended Unix Code)." | 53 "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)" |
52 '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 | 54 '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 |
53 short ascii-eol ascii-cntl nil nil single-shift)) | 55 short ascii-eol ascii-cntl nil nil single-shift)) |
54 | 56 |
55 (define-coding-system-alias 'euc-japan-1990 'euc-japan) | 57 (define-coding-system-alias 'japanese-iso-8bit 'euc-japan-1990) |
58 (define-coding-system-alias 'japanese-iso-8bit 'euc-japan) | |
59 (define-coding-system-alias 'japanese-iso-8bit 'euc-jp) | |
56 | 60 |
57 (register-input-method | 61 (register-input-method |
58 "Japanese" '("quail-ja-hiragana" quail-use-package "quail/japanese")) | 62 "Japanese" '("quail-ja-hiragana" quail-use-package "quail/japanese")) |
59 (register-input-method | 63 (register-input-method |
60 "Japanese" '("quail-ja" quail-use-package "quail/japanese")) | 64 "Japanese" '("quail-ja" quail-use-package "quail/japanese")) |
63 "Japanese" '((setup-function . setup-japanese-environment) | 67 "Japanese" '((setup-function . setup-japanese-environment) |
64 (tutorial . "TUTORIAL.jp") | 68 (tutorial . "TUTORIAL.jp") |
65 (charset . (japanese-jisx0208 japanese-jisx0208-1978 | 69 (charset . (japanese-jisx0208 japanese-jisx0208-1978 |
66 japanese-jisx0212 latin-jisx0201 | 70 japanese-jisx0212 latin-jisx0201 |
67 katakana-jisx0201)) | 71 katakana-jisx0201)) |
68 (coding-system . (euc-japan-1990 sjis | 72 (coding-system . (japanese-iso-7bit japanese-iso-8bit |
69 iso-2022-jp iso-2022-jp-1978-irv)) | 73 japanese-shift-jis japanese-iso-7bit-1978-irv)) |
70 (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") | 74 (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") |
71 (documentation . t))) | 75 (documentation . t))) |
72 | 76 |
73 ;;; japanese.el ends here | 77 ;;; japanese.el ends here |