diff options
| author | Kenichi Handa | 1997-10-23 12:03:41 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-10-23 12:03:41 +0000 |
| commit | 6def618668f8dcaff265317e2cb2a81b9865051e (patch) | |
| tree | 04d93d2f5997d32a1e2f529590f83d33aaa79fec | |
| parent | a18aa84109912116f4255a8bf10b7a515cce8ff6 (diff) | |
| download | emacs-6def618668f8dcaff265317e2cb2a81b9865051e.tar.gz emacs-6def618668f8dcaff265317e2cb2a81b9865051e.zip | |
Give proper SAFE-CHARSET argument in each
call of make-coding-system.
| -rw-r--r-- | lisp/language/cyrillic.el | 9 | ||||
| -rw-r--r-- | lisp/language/devanagari.el | 3 | ||||
| -rw-r--r-- | lisp/language/european.el | 15 | ||||
| -rw-r--r-- | lisp/language/greek.el | 3 | ||||
| -rw-r--r-- | lisp/language/hebrew.el | 3 | ||||
| -rw-r--r-- | lisp/language/japanese.el | 15 | ||||
| -rw-r--r-- | lisp/language/tibetan.el | 3 |
7 files changed, 35 insertions, 16 deletions
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el index b97c3f26698..95a5efe5e0a 100644 --- a/lisp/language/cyrillic.el +++ b/lisp/language/cyrillic.el | |||
| @@ -47,7 +47,8 @@ | |||
| 47 | 'cyrillic-iso-8bit 2 ?5 | 47 | 'cyrillic-iso-8bit 2 ?5 |
| 48 | "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)" | 48 | "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)" |
| 49 | '((ascii t) (cyrillic-iso8859-5 t) nil nil | 49 | '((ascii t) (cyrillic-iso8859-5 t) nil nil |
| 50 | nil ascii-eol ascii-cntl nil nil nil nil)) | 50 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 51 | '(ascii cyrillic-iso8859-5)) | ||
| 51 | 52 | ||
| 52 | (define-coding-system-alias 'iso-8859-5 'cyrillic-iso-8bit) | 53 | (define-coding-system-alias 'iso-8859-5 'cyrillic-iso-8bit) |
| 53 | 54 | ||
| @@ -112,7 +113,8 @@ | |||
| 112 | ;; So people who use koi8 for languages other than Russian | 113 | ;; So people who use koi8 for languages other than Russian |
| 113 | ;; will have to forgive us. | 114 | ;; will have to forgive us. |
| 114 | ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)" | 115 | ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)" |
| 115 | (cons ccl-decode-koi8 ccl-encode-koi8)) | 116 | (cons ccl-decode-koi8 ccl-encode-koi8) |
| 117 | '(ascii cyrillic-iso8859-5)) | ||
| 116 | 118 | ||
| 117 | (define-coding-system-alias 'koi8-r 'cyrillic-koi8) | 119 | (define-coding-system-alias 'koi8-r 'cyrillic-koi8) |
| 118 | (define-coding-system-alias 'koi8 'cyrillic-koi8) | 120 | (define-coding-system-alias 'koi8 'cyrillic-koi8) |
| @@ -190,7 +192,8 @@ | |||
| 190 | (make-coding-system | 192 | (make-coding-system |
| 191 | 'cyrillic-alternativnyj 4 ?A | 193 | 'cyrillic-alternativnyj 4 ?A |
| 192 | "ALTERNATIVNYJ 8-bit encoding for Cyrillic" | 194 | "ALTERNATIVNYJ 8-bit encoding for Cyrillic" |
| 193 | (cons ccl-decode-alternativnyj ccl-encode-alternativnyj)) | 195 | (cons ccl-decode-alternativnyj ccl-encode-alternativnyj) |
| 196 | '(ascii cyrillic-iso8859-5)) | ||
| 194 | 197 | ||
| 195 | (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj) | 198 | (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj) |
| 196 | 199 | ||
diff --git a/lisp/language/devanagari.el b/lisp/language/devanagari.el index f481de76ca1..f26e0fe6487 100644 --- a/lisp/language/devanagari.el +++ b/lisp/language/devanagari.el | |||
| @@ -34,7 +34,8 @@ | |||
| 34 | 'in-is13194-devanagari 2 ?D | 34 | 'in-is13194-devanagari 2 ?D |
| 35 | "8-bit encoding for ASCII (MSB=0) and IS13194-Devanagari (MSB=1)" | 35 | "8-bit encoding for ASCII (MSB=0) and IS13194-Devanagari (MSB=1)" |
| 36 | '((ascii t) (indian-is13194 t) nil nil | 36 | '((ascii t) (indian-is13194 t) nil nil |
| 37 | nil ascii-eol)) | 37 | nil ascii-eol) |
| 38 | '(ascii indian-is13194)) | ||
| 38 | 39 | ||
| 39 | (define-coding-system-alias 'devanagari 'in-is13194-devanagari) | 40 | (define-coding-system-alias 'devanagari 'in-is13194-devanagari) |
| 40 | 41 | ||
diff --git a/lisp/language/european.el b/lisp/language/european.el index 47289e6c43a..a3986f0c01b 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -67,7 +67,8 @@ | |||
| 67 | 'iso-latin-1 2 ?1 | 67 | 'iso-latin-1 2 ?1 |
| 68 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-1, Compound Text Encoding)" | 68 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-1, Compound Text Encoding)" |
| 69 | '((ascii t) (latin-iso8859-1 t) nil nil | 69 | '((ascii t) (latin-iso8859-1 t) nil nil |
| 70 | nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)) | 70 | nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t) |
| 71 | '(ascii latin-iso8859-1)) | ||
| 71 | 72 | ||
| 72 | (define-coding-system-alias 'iso-8859-1 'iso-latin-1) | 73 | (define-coding-system-alias 'iso-8859-1 'iso-latin-1) |
| 73 | (define-coding-system-alias 'latin-1 'iso-latin-1) | 74 | (define-coding-system-alias 'latin-1 'iso-latin-1) |
| @@ -99,7 +100,8 @@ These languages are supported with the Latin-1 (ISO-8859-1) character set: | |||
| 99 | 'iso-latin-2 2 ?2 | 100 | 'iso-latin-2 2 ?2 |
| 100 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)" | 101 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)" |
| 101 | '((ascii t) (latin-iso8859-2 t) nil nil | 102 | '((ascii t) (latin-iso8859-2 t) nil nil |
| 102 | nil ascii-eol ascii-cntl nil nil nil nil)) | 103 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 104 | '(ascii latin-iso8859-2)) | ||
| 103 | 105 | ||
| 104 | (define-coding-system-alias 'iso-8859-2 'iso-latin-2) | 106 | (define-coding-system-alias 'iso-8859-2 'iso-latin-2) |
| 105 | (define-coding-system-alias 'latin-2 'iso-latin-2) | 107 | (define-coding-system-alias 'latin-2 'iso-latin-2) |
| @@ -128,7 +130,8 @@ These languages are supported with the Latin-2 (ISO-8859-2) character set: | |||
| 128 | 'iso-latin-3 2 ?3 | 130 | 'iso-latin-3 2 ?3 |
| 129 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)" | 131 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)" |
| 130 | '((ascii t) (latin-iso8859-3 t) nil nil | 132 | '((ascii t) (latin-iso8859-3 t) nil nil |
| 131 | nil ascii-eol ascii-cntl nil nil nil nil)) | 133 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 134 | '(ascii latin-iso8859-3)) | ||
| 132 | 135 | ||
| 133 | (define-coding-system-alias 'iso-8859-3 'iso-latin-3) | 136 | (define-coding-system-alias 'iso-8859-3 'iso-latin-3) |
| 134 | (define-coding-system-alias 'latin-3 'iso-latin-3) | 137 | (define-coding-system-alias 'latin-3 'iso-latin-3) |
| @@ -157,7 +160,8 @@ These languages are supported with the Latin-3 (ISO-8859-3) character set: | |||
| 157 | 'iso-latin-4 2 ?4 | 160 | 'iso-latin-4 2 ?4 |
| 158 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)" | 161 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)" |
| 159 | '((ascii t) (latin-iso8859-4 t) nil nil | 162 | '((ascii t) (latin-iso8859-4 t) nil nil |
| 160 | nil ascii-eol ascii-cntl nil nil nil nil)) | 163 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 164 | '(ascii latin-iso8859-4)) | ||
| 161 | 165 | ||
| 162 | (define-coding-system-alias 'iso-8859-4 'iso-latin-4) | 166 | (define-coding-system-alias 'iso-8859-4 'iso-latin-4) |
| 163 | (define-coding-system-alias 'latin-4 'iso-latin-4) | 167 | (define-coding-system-alias 'latin-4 'iso-latin-4) |
| @@ -186,7 +190,8 @@ These languages are supported with the Latin-4 (ISO-8859-4) character set: | |||
| 186 | 'iso-latin-5 2 ?9 | 190 | 'iso-latin-5 2 ?9 |
| 187 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)" | 191 | "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)" |
| 188 | '((ascii t) (latin-iso8859-9 t) nil nil | 192 | '((ascii t) (latin-iso8859-9 t) nil nil |
| 189 | nil ascii-eol ascii-cntl nil nil nil nil)) | 193 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 194 | '(ascii latin-iso8859-9)) | ||
| 190 | 195 | ||
| 191 | (define-coding-system-alias 'iso-8859-9 'iso-latin-5) | 196 | (define-coding-system-alias 'iso-8859-9 'iso-latin-5) |
| 192 | (define-coding-system-alias 'latin-5 'iso-latin-5) | 197 | (define-coding-system-alias 'latin-5 'iso-latin-5) |
diff --git a/lisp/language/greek.el b/lisp/language/greek.el index 35eae190d16..8a9694016dd 100644 --- a/lisp/language/greek.el +++ b/lisp/language/greek.el | |||
| @@ -32,7 +32,8 @@ | |||
| 32 | 'greek-iso-8bit 2 ?7 | 32 | 'greek-iso-8bit 2 ?7 |
| 33 | "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)" | 33 | "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)" |
| 34 | '((ascii t) (greek-iso8859-7 t) nil nil | 34 | '((ascii t) (greek-iso8859-7 t) nil nil |
| 35 | nil ascii-eol ascii-cntl nil nil nil nil)) | 35 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 36 | '(ascii greek-iso8859-7)) | ||
| 36 | 37 | ||
| 37 | (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) | 38 | (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) |
| 38 | 39 | ||
diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index b2a87ff4644..71fd2115f62 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el | |||
| @@ -32,7 +32,8 @@ | |||
| 32 | 'hebrew-iso-8bit 2 ?8 | 32 | 'hebrew-iso-8bit 2 ?8 |
| 33 | "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)" | 33 | "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)" |
| 34 | '((ascii t) (hebrew-iso8859-8 t) nil nil | 34 | '((ascii t) (hebrew-iso8859-8 t) nil nil |
| 35 | nil ascii-eol ascii-cntl nil nil nil nil nil t)) | 35 | nil ascii-eol ascii-cntl nil nil nil nil nil t) |
| 36 | '(ascii hebrew-iso8859-8)) | ||
| 36 | 37 | ||
| 37 | (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit) | 38 | (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit) |
| 38 | 39 | ||
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index b8e587dd88e..c109d487994 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el | |||
| @@ -34,13 +34,17 @@ | |||
| 34 | "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)" | 34 | "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)" |
| 35 | '((ascii japanese-jisx0208-1978 japanese-jisx0208 | 35 | '((ascii japanese-jisx0208-1978 japanese-jisx0208 |
| 36 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil | 36 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil |
| 37 | short ascii-eol ascii-cntl seven)) | 37 | short ascii-eol ascii-cntl seven) |
| 38 | '(ascii japanese-jisx0208-1978 japanese-jisx0208 latin-jisx0201)) | ||
| 38 | 39 | ||
| 39 | (define-coding-system-alias 'junet 'iso-2022-jp) | 40 | (define-coding-system-alias 'junet 'iso-2022-jp) |
| 40 | 41 | ||
| 41 | (make-coding-system | 42 | (make-coding-system |
| 42 | 'japanese-shift-jis 1 ?S | 43 | 'japanese-shift-jis 1 ?S |
| 43 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)") | 44 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)" |
| 45 | nil | ||
| 46 | '(ascii japanese-jisx0208 japanese-jisx0208-1978 | ||
| 47 | latin-jisx0201 katakana-jisx0201)) | ||
| 44 | 48 | ||
| 45 | (define-coding-system-alias 'shift_jis 'japanese-shift-jis) | 49 | (define-coding-system-alias 'shift_jis 'japanese-shift-jis) |
| 46 | (define-coding-system-alias 'sjis 'japanese-shift-jis) | 50 | (define-coding-system-alias 'sjis 'japanese-shift-jis) |
| @@ -50,7 +54,8 @@ | |||
| 50 | "ISO 2022 based 7-bit encoding for Japanese JISX0208-1978 and JISX0201-Roman" | 54 | "ISO 2022 based 7-bit encoding for Japanese JISX0208-1978 and JISX0201-Roman" |
| 51 | '((ascii japanese-jisx0208-1978 japanese-jisx0208 | 55 | '((ascii japanese-jisx0208-1978 japanese-jisx0208 |
| 52 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil | 56 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil |
| 53 | short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) | 57 | short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis) |
| 58 | '(ascii japanese-jisx0208-1978 japanese-jisx0208 latin-jisx0201)) | ||
| 54 | 59 | ||
| 55 | (define-coding-system-alias 'iso-2022-jp-1978-irv 'japanese-iso-7bit-1978-irv) | 60 | (define-coding-system-alias 'iso-2022-jp-1978-irv 'japanese-iso-7bit-1978-irv) |
| 56 | (define-coding-system-alias 'old-jis 'japanese-iso-7bit-1978-irv) | 61 | (define-coding-system-alias 'old-jis 'japanese-iso-7bit-1978-irv) |
| @@ -60,7 +65,9 @@ | |||
| 60 | "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)" | 65 | "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)" |
| 61 | '((ascii latin-jisx0201) (japanese-jisx0208 japanese-jisx0208-1978) | 66 | '((ascii latin-jisx0201) (japanese-jisx0208 japanese-jisx0208-1978) |
| 62 | katakana-jisx0201 japanese-jisx0212 | 67 | katakana-jisx0201 japanese-jisx0212 |
| 63 | short ascii-eol ascii-cntl nil nil single-shift)) | 68 | short ascii-eol ascii-cntl nil nil single-shift) |
| 69 | '(ascii latin-jisx0201 japanese-jisx0208 japanese-jisx0208-1978 | ||
| 70 | katakana-jisx0201 japanese-jisx0212)) | ||
| 64 | 71 | ||
| 65 | (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) | 72 | (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) |
| 66 | (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) | 73 | (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) |
diff --git a/lisp/language/tibetan.el b/lisp/language/tibetan.el index 2c9f93780d8..1b1767a561a 100644 --- a/lisp/language/tibetan.el +++ b/lisp/language/tibetan.el | |||
| @@ -92,7 +92,8 @@ | |||
| 92 | 'tibetan 2 ?Q | 92 | 'tibetan 2 ?Q |
| 93 | "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)" | 93 | "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)" |
| 94 | '((ascii t) (tibetan t) nil nil | 94 | '((ascii t) (tibetan t) nil nil |
| 95 | nil ascii-eol)) | 95 | nil ascii-eol) |
| 96 | '(ascii tibetan)) | ||
| 96 | 97 | ||
| 97 | (coding-system-put 'tibetan 'post-read-conversion | 98 | (coding-system-put 'tibetan 'post-read-conversion |
| 98 | 'tibetan-post-read-conversion) | 99 | 'tibetan-post-read-conversion) |