annotate lisp/international/mule-conf.el @ 67488:34b8bc403505

(main) [MAC_OS8]: Undo previous change.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 11 Dec 2005 01:06:20 +0000
parents 18a818a2ee7c
children 43cc94d955c2 f9a65d7ebd29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 47710
diff changeset
1 ;;; mule-conf.el --- configure multilingual environment -*- no-byte-compile: t -*-
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
62274
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 61933
diff changeset
3 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2005
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 61933
diff changeset
4 ;; Free Software Foundation, Inc.
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 61933
diff changeset
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 61933
diff changeset
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 61933
diff changeset
7 ;; Registration Number H14PRO021
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 ;; Keywords: mule, multilingual, character set, coding system
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;; This file is part of GNU Emacs.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; GNU Emacs is free software; you can redistribute it and/or modify
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 ;; it under the terms of the GNU General Public License as published by
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; the Free Software Foundation; either version 2, or (at your option)
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; any later version.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; GNU Emacs is distributed in the hope that it will be useful,
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 ;; GNU General Public License for more details.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62274
diff changeset
25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62274
diff changeset
26 ;; Boston, MA 02110-1301, USA.
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28 ;;; Commentary:
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30 ;; Don't byte-compile this file.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32 ;;; Code:
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34 ;;; Definitions of character sets.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 ;; Basic (official) character sets. These character sets are treated
26013
987e55950346 Add latin-iso8859-1[45].
Dave Love <fx@gnu.org>
parents: 24807
diff changeset
37 ;; efficiently with respect to buffer memory.
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
38
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39 ;; Syntax:
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 ;; (define-charset CHARSET-ID CHARSET
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41 ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 ;; SHORT-NAME LONG-NAME DESCRIPTION ])
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43 ;; ASCII charset is defined in src/charset.c as below.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44 ;; (define-charset 0 ascii
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 ;; [1 94 1 0 ?B 0 "ASCII" "ASCII" "ASCII (ISO646 IRV)"])
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
46
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
47 ;; 1-byte charsets. Valid range of CHARSET-ID is 128..143.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
48
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
49 ;; CHARSET-ID 128 is not used.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
50
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
51 (define-charset 129 'latin-iso8859-1
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
52 [1 96 1 0 ?A 1 "RHP of Latin-1" "RHP of Latin-1 (ISO 8859-1): ISO-IR-100"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
53 "Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
54 (define-charset 130 'latin-iso8859-2
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
55 [1 96 1 0 ?B 1 "RHP of Latin-2" "RHP of Latin-2 (ISO 8859-2): ISO-IR-101"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
56 "Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
57 (define-charset 131 'latin-iso8859-3
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
58 [1 96 1 0 ?C 1 "RHP of Latin-3" "RHP of Latin-3 (ISO 8859-3): ISO-IR-109"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
59 "Right-Hand Part of Latin Alphabet 3 (ISO/IEC 8859-3): ISO-IR-109."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
60 (define-charset 132 'latin-iso8859-4
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
61 [1 96 1 0 ?D 1 "RHP of Latin-4" "RHP of Latin-4 (ISO 8859-4): ISO-IR-110"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
62 "Right-Hand Part of Latin Alphabet 4 (ISO/IEC 8859-4): ISO-IR-110."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
63 (define-charset 133 'thai-tis620
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
64 [1 96 1 0 ?T 1 "RHP of TIS620" "RHP of Thai (TIS620): ISO-IR-166"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
65 "Right-Hand Part of TIS620.2533 (Thai): ISO-IR-166."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
66 (define-charset 134 'greek-iso8859-7
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
67 [1 96 1 0 ?F 1 "RHP of ISO8859/7" "RHP of Greek (ISO 8859-7): ISO-IR-126"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
68 "Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
69 (define-charset 135 'arabic-iso8859-6
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
70 [1 96 1 1 ?G 1 "RHP of ISO8859/6" "RHP of Arabic (ISO 8859-6): ISO-IR-127"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
71 "Right-Hand Part of Latin/Arabic Alphabet (ISO/IEC 8859-6): ISO-IR-127."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
72 (define-charset 136 'hebrew-iso8859-8
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
73 [1 96 1 1 ?H 1 "RHP of ISO8859/8" "RHP of Hebrew (ISO 8859-8): ISO-IR-138"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
74 "Right-Hand Part of Latin/Hebrew Alphabet (ISO/IEC 8859-8): ISO-IR-138."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
75 (define-charset 137 'katakana-jisx0201
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
76 [1 94 1 0 ?I 1 "JISX0201 Katakana" "Japanese Katakana (JISX0201.1976)"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
77 "Katakana Part of JISX0201.1976."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
78 (define-charset 138 'latin-jisx0201
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
79 [1 94 1 0 ?J 0 "JISX0201 Roman" "Japanese Roman (JISX0201.1976)"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
80 "Roman Part of JISX0201.1976."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
81
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
82 ;; CHARSET-ID is not used 139.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
83
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
84 (define-charset 140 'cyrillic-iso8859-5
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
85 [1 96 1 0 ?L 1 "RHP of ISO8859/5" "RHP of Cyrillic (ISO 8859-5): ISO-IR-144"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
86 "Right-Hand Part of Latin/Cyrillic Alphabet (ISO/IEC 8859-5): ISO-IR-144."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
87 (define-charset 141 'latin-iso8859-9
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
88 [1 96 1 0 ?M 1 "RHP of Latin-5" "RHP of Latin-5 (ISO 8859-9): ISO-IR-148"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
89 "Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148."])
26013
987e55950346 Add latin-iso8859-1[45].
Dave Love <fx@gnu.org>
parents: 24807
diff changeset
90 (define-charset 142 'latin-iso8859-15
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
91 [1 96 1 0 ?b 1 "RHP of Latin-9" "RHP of Latin-9 (ISO 8859-15): ISO-IR-203"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
92 "Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203."])
26013
987e55950346 Add latin-iso8859-1[45].
Dave Love <fx@gnu.org>
parents: 24807
diff changeset
93 (define-charset 143 'latin-iso8859-14
42047
83eb799f3657 (translation-table-for-input): New
Dave Love <fx@gnu.org>
parents: 41468
diff changeset
94 [1 96 1 0 ?_ 1 "RHP of Latin-8" "RHP of Latin-8 (ISO 8859-14): ISO-IR-199"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
95 "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14): ISO-IR-199."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
96
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
97 ;; 2-byte charsets. Valid range of CHARSET-ID is 144..153.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
98
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
99 (define-charset 144 'japanese-jisx0208-1978
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
100 [2 94 2 0 ?@ 0 "JISX0208.1978" "JISX0208.1978 (Japanese): ISO-IR-42"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
101 "JISX0208.1978 Japanese Kanji (so called \"old JIS\"): ISO-IR-42."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
102 (define-charset 145 'chinese-gb2312
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
103 [2 94 2 0 ?A 0 "GB2312" "GB2312: ISO-IR-58"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
104 "GB2312 Chinese simplified: ISO-IR-58."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
105 (define-charset 146 'japanese-jisx0208
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
106 [2 94 2 0 ?B 0 "JISX0208" "JISX0208.1983/1990 (Japanese): ISO-IR-87"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
107 "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
108 (define-charset 147 'korean-ksc5601
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
109 [2 94 2 0 ?C 0 "KSC5601" "KSC5601 (Korean): ISO-IR-149"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
110 "KSC5601 Korean Hangul and Hanja: ISO-IR-149."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
111 (define-charset 148 'japanese-jisx0212
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
112 [2 94 2 0 ?D 0 "JISX0212" "JISX0212 (Japanese): ISO-IR-159"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
113 "JISX0212 Japanese supplement: ISO-IR-159."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
114 (define-charset 149 'chinese-cns11643-1
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
115 [2 94 2 0 ?G 0 "CNS11643-1" "CNS11643-1 (Chinese traditional): ISO-IR-171"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
116 "CNS11643 Plane 1 Chinese traditional: ISO-IR-171."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
117 (define-charset 150 'chinese-cns11643-2
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
118 [2 94 2 0 ?H 0 "CNS11643-2" "CNS11643-2 (Chinese traditional): ISO-IR-172"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
119 "CNS11643 Plane 2 Chinese traditional: ISO-IR-172."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
120 (define-charset 151 'japanese-jisx0213-1
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
121 [2 94 2 0 ?O 0 "JISX0213-1" "JISX0213-1" "JISX0213 Plane 1 (Japanese)"])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
122 (define-charset 152 'chinese-big5-1
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
123 [2 94 2 0 ?0 0 "Big5 (Level-1)" "Big5 (Level-1) A141-C67F"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
124 "Frequently used part (A141-C67F) of Big5 (Chinese traditional)."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
125 (define-charset 153 'chinese-big5-2
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
126 [2 94 2 0 ?1 0 "Big5 (Level-2)" "Big5 (Level-2) C940-FEFE"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
127 "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
128
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
129 ;; Additional (private) character sets. These character sets are
26013
987e55950346 Add latin-iso8859-1[45].
Dave Love <fx@gnu.org>
parents: 24807
diff changeset
130 ;; treated less space-efficiently in the buffer.
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
131
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
132 ;; Syntax:
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
133 ;; (define-charset CHARSET-ID CHARSET
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
134 ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
135 ;; SHORT-NAME LONG-NAME DESCRIPTION ])
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
136
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
137 ;; ISO-2022 allows a use of character sets not registered in ISO with
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
138 ;; final characters `0' (0x30) through `?' (0x3F). Among them, Emacs
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
139 ;; reserves `0' through `9' to support several private character sets.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
140 ;; The remaining final characters `:' through `?' are for users.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
141
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
142 ;; 1-byte 1-column charsets. Valid range of CHARSET-ID is 160..223.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
143
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
144 (define-charset 160 'chinese-sisheng
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
145 [1 94 1 0 ?0 0 "SiSheng" "SiSheng (PinYin/ZhuYin)"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
146 "Sisheng characters (vowels with tone marks) for Pinyin/Zhuyin."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
147
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
148 ;; IPA characters for phonetic symbols.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
149 (define-charset 161 'ipa
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
150 [1 96 1 0 ?0 1 "IPA" "IPA"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
151 "IPA (International Phonetic Association) characters."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
152
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
153 ;; Vietnamese VISCII. VISCII is 1-byte character set which contains
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
154 ;; more than 96 characters. Since Emacs can't handle it as one
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
155 ;; character set, it is divided into two: lower case letters and upper
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
156 ;; case letters.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
157 (define-charset 162 'vietnamese-viscii-lower
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
158 [1 96 1 0 ?1 1 "VISCII lower" "VISCII lower-case"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
159 "Vietnamese VISCII1.1 lower-case characters."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
160 (define-charset 163 'vietnamese-viscii-upper
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
161 [1 96 1 0 ?2 1 "VISCII upper" "VISCII upper-case"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
162 "Vietnamese VISCII1.1 upper-case characters."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
163
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
164 ;; For Arabic, we need three different types of character sets.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
165 ;; Digits are of direction left-to-right and of width 1-column.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
166 ;; Others are of direction right-to-left and of width 1-column or
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
167 ;; 2-column.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
168 (define-charset 164 'arabic-digit
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
169 [1 94 1 0 ?2 0 "Arabic digit" "Arabic digit"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
170 "Arabic digits."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
171 (define-charset 165 'arabic-1-column
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
172 [1 94 1 1 ?3 0 "Arabic 1-col" "Arabic 1-column"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
173 "Arabic 1-column width glyphs."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
174
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
175 ;; ASCII with right-to-left direction.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
176 (define-charset 166 'ascii-right-to-left
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
177 [1 94 1 1 ?B 0 "rev ASCII" "ASCII with right-to-left direction"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
178 "ASCII (left half of ISO 8859-1) with right-to-left direction."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
179
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
180 ;; Lao script.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
181 ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
182 (define-charset 167 'lao
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
183 [1 94 1 0 ?1 0 "Lao" "Lao"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
184 "Lao characters (U+0E80..U+0EDF)."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
185
35805
5f2982b72fae Remove unused charsets mac-roman-lower and mac-roman-upper.
Kenichi Handa <handa@m17n.org>
parents: 35681
diff changeset
186 ;; CHARSET-IDs 168..223 are not used.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
187
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
188 ;; 1-byte 2-column charsets. Valid range of CHARSET-ID is 224..239.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
189
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
190 (define-charset 224 'arabic-2-column
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
191 [1 94 2 1 ?4 0 "Arabic 2-col" "Arabic 2-column"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
192 "Arabic 2-column glyphs."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
193
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
194 ;; Indian scripts. Symbolic charset for data exchange. Glyphs are
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
195 ;; not assigned. They are automatically converted to each Indian
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
196 ;; script which IS-13194 supports.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
197
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
198 (define-charset 225 'indian-is13194
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
199 [1 94 2 0 ?5 1 "IS 13194" "Indian IS 13194"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
200 "Generic Indian character set for data exchange with IS 13194."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
201
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
202 ;; CHARSET-IDs 226..239 are not used.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
203
41468
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
204 (define-charset 240 'indian-glyph
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
205 [2 96 1 0 ?4 0 "Indian glyph" "Indian glyph"
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
206 "Glyphs for Indian characters."])
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
207 ;; 240 used to be [2 94 1 0 ?6 0 "Indian 1-col" "Indian 1 Column"]
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
208
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
209 ;; 2-byte 1-column charsets. Valid range of CHARSET-ID is 240..244.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
210
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
211 ;; Actual Glyph for 1-column width.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
212 (define-charset 241 'tibetan-1-column
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
213 [2 94 1 0 ?8 0 "Tibetan 1-col" "Tibetan 1 column"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
214 "Tibetan 1-column glyphs."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
215
33044
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
216 ;; Subsets of Unicode.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
217
33044
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
218 (define-charset 242 'mule-unicode-2500-33ff
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
219 [2 96 1 0 ?2 0 "Unicode subset 2" "Unicode subset (U+2500..U+33FF)"
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
220 "Unicode characters of the range U+2500..U+33FF."])
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
221
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
222 (define-charset 243 'mule-unicode-e000-ffff
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
223 [2 96 1 0 ?3 0 "Unicode subset 3" "Unicode subset (U+E000+FFFF)"
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
224 "Unicode characters of the range U+E000..U+FFFF."])
7878d85aef6d New charsets mule-unicode-2500-33ff and mule-unicode-e000-ffff.
Kenichi Handa <handa@m17n.org>
parents: 32786
diff changeset
225
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
226 (define-charset 244 'mule-unicode-0100-24ff
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
227 [2 96 1 0 ?1 0 "Unicode subset" "Unicode subset (U+0100..U+24FF)"
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
228 "Unicode characters of the range U+0100..U+24FF."])
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
229
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
230 ;; 2-byte 2-column charsets. Valid range of CHARSET-ID is 245..254.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
231
47962
5e6ae1ee7a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 47726
diff changeset
232 ;; Ethiopic characters (Amharic and Tigrigna).
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
233 (define-charset 245 'ethiopic
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
234 [2 94 2 0 ?3 0 "Ethiopic" "Ethiopic characters"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
235 "Ethiopic characters."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
236
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
237 ;; Chinese CNS11643 Plane3 thru Plane7. Although these are official
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
238 ;; character sets, the use is rare and don't have to be treated
26013
987e55950346 Add latin-iso8859-1[45].
Dave Love <fx@gnu.org>
parents: 24807
diff changeset
239 ;; space-efficiently in the buffer.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
240 (define-charset 246 'chinese-cns11643-3
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
241 [2 94 2 0 ?I 0 "CNS11643-3" "CNS11643-3 (Chinese traditional): ISO-IR-183"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
242 "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
243 (define-charset 247 'chinese-cns11643-4
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
244 [2 94 2 0 ?J 0 "CNS11643-4" "CNS11643-4 (Chinese traditional): ISO-IR-184"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
245 "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
246 (define-charset 248 'chinese-cns11643-5
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
247 [2 94 2 0 ?K 0 "CNS11643-5" "CNS11643-5 (Chinese traditional): ISO-IR-185"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
248 "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
249 (define-charset 249 'chinese-cns11643-6
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
250 [2 94 2 0 ?L 0 "CNS11643-6" "CNS11643-6 (Chinese traditional): ISO-IR-186"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
251 "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
252 (define-charset 250 'chinese-cns11643-7
28898
a17b5669e2df Add more information in descriptions of character sets.
Kenichi Handa <handa@m17n.org>
parents: 28020
diff changeset
253 [2 94 2 0 ?M 0 "CNS11643-7" "CNS11643-7 (Chinese traditional): ISO-IR-187"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
254 "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187."])
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
255
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
256 ;; Actual Glyph for 2-column width.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
257 (define-charset 251 'indian-2-column
17293
273b0cd6aac4 Change descriptions for Arabic, Indian, and
Kenichi Handa <handa@m17n.org>
parents: 17176
diff changeset
258 [2 94 2 0 ?5 0 "Indian 2-col" "Indian 2 Column"
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
259 "Indian character set for 2-column width glyphs."])
41468
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
260 ;; old indian-1-column characters will be translated to indian-2-column.
d566b1e9a5bb Change indian-1-column charset to indian-glyph charset.
Richard M. Stallman <rms@gnu.org>
parents: 36686
diff changeset
261 (declare-equiv-charset 2 94 ?6 'indian-2-column)
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
262
17293
273b0cd6aac4 Change descriptions for Arabic, Indian, and
Kenichi Handa <handa@m17n.org>
parents: 17176
diff changeset
263 ;; Tibetan script.
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
264 (define-charset 252 'tibetan
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
265 [2 94 2 0 ?7 0 "Tibetan 2-col" "Tibetan 2 column"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
266 "Tibetan 2-column width glyphs."])
29167
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
267
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
268 ;; CHARSET-ID 253 is not used.
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
269
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
270 ;; JISX0213 Plane 2
7b645b883dcb Specify CHARSET-ID explicitely for private charsets.
Kenichi Handa <handa@m17n.org>
parents: 28951
diff changeset
271 (define-charset 254 'japanese-jisx0213-2
42112
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
272 [2 94 2 0 ?P 0 "JISX0213-2" "JISX0213-2"
31baf6840fd6 international/mule-conf.el: Improve documentation strings of character sets.
Werner LEMBERG <wl@gnu.org>
parents: 42047
diff changeset
273 "JISX0213 Plane 2 (Japanese)."])
17293
273b0cd6aac4 Change descriptions for Arabic, Indian, and
Kenichi Handa <handa@m17n.org>
parents: 17176
diff changeset
274
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
275 ;; Tell C code charset ID's of several charsets.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
276 (setup-special-charsets)
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
277
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
278
22126
97cf1cae1971 Change term unification to
Kenichi Handa <handa@m17n.org>
parents: 21713
diff changeset
279 ;; These are tables for translating characters on decoding and
97cf1cae1971 Change term unification to
Kenichi Handa <handa@m17n.org>
parents: 21713
diff changeset
280 ;; encoding.
22186
fc4aaf1b1772 Change term "character translation table" to "translation table".
Kenichi Handa <handa@m17n.org>
parents: 22126
diff changeset
281 (define-translation-table
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
282 'oldjis-newjis-jisroman-ascii
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
283 (list (cons (make-char 'japanese-jisx0208-1978)
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
284 (make-char 'japanese-jisx0208))
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
285 (cons (make-char 'latin-jisx0201) (make-char 'ascii))))
30259
e9a0d265b087 (oldjis-newjis-jisroman-ascii): Don't translate some national variant
Kenichi Handa <handa@m17n.org>
parents: 29543
diff changeset
286 (aset (get 'oldjis-newjis-jisroman-ascii 'translation-table)
e9a0d265b087 (oldjis-newjis-jisroman-ascii): Don't translate some national variant
Kenichi Handa <handa@m17n.org>
parents: 29543
diff changeset
287 (make-char 'latin-jisx0201 92) (make-char 'latin-jisx0201 92))
e9a0d265b087 (oldjis-newjis-jisroman-ascii): Don't translate some national variant
Kenichi Handa <handa@m17n.org>
parents: 29543
diff changeset
288 (aset (get 'oldjis-newjis-jisroman-ascii 'translation-table)
e9a0d265b087 (oldjis-newjis-jisroman-ascii): Don't translate some national variant
Kenichi Handa <handa@m17n.org>
parents: 29543
diff changeset
289 (make-char 'latin-jisx0201 126) (make-char 'latin-jisx0201 126))
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
290
22186
fc4aaf1b1772 Change term "character translation table" to "translation table".
Kenichi Handa <handa@m17n.org>
parents: 22126
diff changeset
291 (setq standard-translation-table-for-decode
fc4aaf1b1772 Change term "character translation table" to "translation table".
Kenichi Handa <handa@m17n.org>
parents: 22126
diff changeset
292 (get 'oldjis-newjis-jisroman-ascii 'translation-table))
17760
b3d62674b210 Delete code for alternate-charset-table.
Kenichi Handa <handa@m17n.org>
parents: 17541
diff changeset
293
22186
fc4aaf1b1772 Change term "character translation table" to "translation table".
Kenichi Handa <handa@m17n.org>
parents: 22126
diff changeset
294 (setq standard-translation-table-for-encode nil)
17760
b3d62674b210 Delete code for alternate-charset-table.
Kenichi Handa <handa@m17n.org>
parents: 17541
diff changeset
295
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
296 ;;; Make fundamental coding systems.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
297
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
298 ;; Miscellaneous coding systems which can't be made by
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
299 ;; `make-coding-system'.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
300
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
301 (put 'no-conversion 'coding-system
36686
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
302 (vector nil ?= "Do no conversion.
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
303
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
304 When you visit a file with this coding, the file is read into a
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
305 unibyte buffer as is, thus each byte of a file is treated as a
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
306 character."
20115
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
307 (list 'coding-category 'coding-category-binary
50182
32435942451c (no-conversion): Call
Kenichi Handa <handa@m17n.org>
parents: 50118
diff changeset
308 'alias-coding-systems '(no-conversion)
32435942451c (no-conversion): Call
Kenichi Handa <handa@m17n.org>
parents: 50118
diff changeset
309 'safe-charsets t 'safe-chars t)
20115
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
310 nil))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
311 (put 'no-conversion 'eol-type 0)
20115
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
312 (put 'coding-category-binary 'coding-systems '(no-conversion))
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
313 (setq coding-system-list '(no-conversion))
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
314 (setq coding-system-alist '(("no-conversion")))
50182
32435942451c (no-conversion): Call
Kenichi Handa <handa@m17n.org>
parents: 50118
diff changeset
315 (define-coding-system-internal 'no-conversion)
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
316
18529
8e293f1a19a9 (binary): Define as coding system alias.
Richard M. Stallman <rms@gnu.org>
parents: 18519
diff changeset
317 (define-coding-system-alias 'binary 'no-conversion)
8e293f1a19a9 (binary): Define as coding system alias.
Richard M. Stallman <rms@gnu.org>
parents: 18519
diff changeset
318
17839
b4a81f70d905 Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents: 17760
diff changeset
319 (put 'undecided 'coding-system
18663
8b53028950ae (undecided): Use `-' in mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18560
diff changeset
320 (vector t ?- "No conversion on encoding, automatic conversion on decoding"
24308
af1be3f3e04c (undecided): Set ascii in safe-charsets property.
Kenichi Handa <handa@m17n.org>
parents: 24120
diff changeset
321 (list 'alias-coding-systems '(undecided)
af1be3f3e04c (undecided): Set ascii in safe-charsets property.
Kenichi Handa <handa@m17n.org>
parents: 24120
diff changeset
322 'safe-charsets '(ascii))
20115
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
323 nil))
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
324 (setq coding-system-list (cons 'undecided coding-system-list))
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
325 (setq coding-system-alist (cons '("undecided") coding-system-alist))
17839
b4a81f70d905 Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents: 17760
diff changeset
326 (put 'undecided 'eol-type
20115
99b8a866c50a Change the way of making coding
Kenichi Handa <handa@m17n.org>
parents: 19733
diff changeset
327 (make-subsidiary-coding-system 'undecided))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
328
29543
4711a63436ee (unix): New alias for the coding system undecided-unix.
Kenichi Handa <handa@m17n.org>
parents: 29167
diff changeset
329 (define-coding-system-alias 'unix 'undecided-unix)
24120
372fcaa211c4 Coding system alias `dos' for `undecided-dos', `mac' for `undecided-mac'.
Richard M. Stallman <rms@gnu.org>
parents: 23260
diff changeset
330 (define-coding-system-alias 'dos 'undecided-dos)
372fcaa211c4 Coding system alias `dos' for `undecided-dos', `mac' for `undecided-mac'.
Richard M. Stallman <rms@gnu.org>
parents: 23260
diff changeset
331 (define-coding-system-alias 'mac 'undecided-mac)
372fcaa211c4 Coding system alias `dos' for `undecided-dos', `mac' for `undecided-mac'.
Richard M. Stallman <rms@gnu.org>
parents: 23260
diff changeset
332
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
333 ;; Coding systems not specific to each language environment.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
334
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
335 (make-coding-system
17839
b4a81f70d905 Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents: 17760
diff changeset
336 'emacs-mule 0 ?=
36518
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
337 "Emacs internal format used in buffer and string.
36686
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
338
36518
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
339 Encoding text with this coding system produces the actual byte
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
340 sequence of the text in buffers and strings. An exception is made for
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
341 eight-bit-control characters. Each of them is encoded into a single
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
342 byte."
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
343 nil
47710
6025c7c2fa78 (emacs-mule): Add property composition.
Kenichi Handa <handa@m17n.org>
parents: 46492
diff changeset
344 '((safe-charsets . t)
6025c7c2fa78 (emacs-mule): Add property composition.
Kenichi Handa <handa@m17n.org>
parents: 46492
diff changeset
345 (composition . t)))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
346
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
347 (make-coding-system
19607
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
348 'raw-text 5 ?t
36518
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
349 "Raw text, which means text contains random 8-bit codes.
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
350 Encoding text with this coding system produces the actual byte
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
351 sequence of the text in buffers and strings. An exception is made for
60e98df5c4ce (emacs-mule, raw-text): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents: 35805
diff changeset
352 eight-bit-control characters. Each of them is encoded into a single
36686
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
353 byte.
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
354
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
355 When you visit a file with this coding, the file is read into a
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
356 unibyte buffer as is (except for EOL format), thus each byte of a file
9688519d51d6 (no-conversion): Fix docstring.
Kenichi Handa <handa@m17n.org>
parents: 36518
diff changeset
357 is treated as a character."
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
358 nil
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
359 '((safe-charsets . t)))
19607
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
360
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
361 (make-coding-system
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
362 'iso-2022-7bit 2 ?J
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
363 "ISO 2022 based 7-bit encoding using only G0"
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
364 '((ascii t) nil nil nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
365 short ascii-eol ascii-cntl seven)
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
366 '((safe-charsets . t)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
367 (composition . t)))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
368
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
369 (make-coding-system
18302
6fbbef4e6c39 Change mnemonic letters for iso-2022-7bit-ss2 and
Kenichi Handa <handa@m17n.org>
parents: 18196
diff changeset
370 'iso-2022-7bit-ss2 2 ?$
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
371 "ISO 2022 based 7-bit encoding using SS2 for 96-charset"
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
372 '((ascii t) nil t nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
373 short ascii-eol ascii-cntl seven nil single-shift)
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
374 '((safe-charsets . t)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
375 (composition . t)))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
376
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
377 (make-coding-system
18302
6fbbef4e6c39 Change mnemonic letters for iso-2022-7bit-ss2 and
Kenichi Handa <handa@m17n.org>
parents: 18196
diff changeset
378 'iso-2022-7bit-lock 2 ?&
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
379 "ISO-2022 coding system using Locking-Shift for 96-charset"
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
380 '((ascii t) t nil nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
381 nil ascii-eol ascii-cntl seven locking-shift)
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
382 '((safe-charsets . t)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
383 (composition . t)))
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
384
18519
b6badf3614ea Fix calls to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
385 (define-coding-system-alias 'iso-2022-int-1 'iso-2022-7bit-lock)
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
386
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
387 (make-coding-system
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
388 'iso-2022-7bit-lock-ss2 2 ?i
17091
06d52b56fdd5 Add INIT-BOL to coding system iso-2022-cjk.
Kenichi Handa <handa@m17n.org>
parents: 17070
diff changeset
389 "Mixture of ISO-2022-JP, ISO-2022-KR, and ISO-2022-CN"
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
390 '((ascii t)
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
391 (nil korean-ksc5601 chinese-gb2312 chinese-cns11643-1 t)
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
392 (nil chinese-cns11643-2)
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
393 (nil chinese-cns11643-3 chinese-cns11643-4 chinese-cns11643-5
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
394 chinese-cns11643-6 chinese-cns11643-7)
17091
06d52b56fdd5 Add INIT-BOL to coding system iso-2022-cjk.
Kenichi Handa <handa@m17n.org>
parents: 17070
diff changeset
395 short ascii-eol ascii-cntl seven locking-shift single-shift nil nil nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
396 init-bol)
24807
c116d722d662 (iso-2022-7bit-lock-ss2): Typo fixed.
Kenichi Handa <handa@m17n.org>
parents: 24619
diff changeset
397 '((safe-charsets ascii japanese-jisx0208 japanese-jisx0208-1978 latin-jisx0201
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
398 korean-ksc5601 chinese-gb2312 chinese-cns11643-1
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
399 chinese-cns11643-2 chinese-cns11643-3 chinese-cns11643-4
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
400 chinese-cns11643-5 chinese-cns11643-6 chinese-cns11643-7)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
401 (composition . t)))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
402
18519
b6badf3614ea Fix calls to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
403 (define-coding-system-alias 'iso-2022-cjk 'iso-2022-7bit-lock-ss2)
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
404
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
405 (make-coding-system
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
406 'iso-2022-8bit-ss2 2 ?@
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
407 "ISO 2022 based 8-bit encoding using SS2 for 96-charset"
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
408 '((ascii t) nil t nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
409 nil ascii-eol ascii-cntl nil nil single-shift)
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
410 '((safe-charsets . t)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
411 (composition . t)))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
412
19266
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
413 (make-coding-system
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
414 'compound-text 2 ?x
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
415 "Compound text based generic encoding for decoding unknown messages.
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
416
48073
1b334a808f0f Comment.
Dave Love <fx@gnu.org>
parents: 47962
diff changeset
417 This coding system does not support extended segments."
30260
9a6ed9372ae1 (x-ctext): Force katakana-jisx0201 to be designated to G1.
Kenichi Handa <handa@m17n.org>
parents: 30259
diff changeset
418 '((ascii t) (latin-iso8859-1 katakana-jisx0201 t) t t
24619
6057f7a48050 (x-ctext): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 24308
diff changeset
419 nil ascii-eol ascii-cntl nil locking-shift single-shift nil nil nil
6057f7a48050 (x-ctext): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 24308
diff changeset
420 init-bol nil nil)
6057f7a48050 (x-ctext): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 24308
diff changeset
421 '((safe-charsets . t)
26889
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
422 (mime-charset . x-ctext)
8ce2101d81c0 (iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa <handa@m17n.org>
parents: 26013
diff changeset
423 (composition . t)))
24619
6057f7a48050 (x-ctext): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 24308
diff changeset
424
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
425 (define-coding-system-alias 'x-ctext 'compound-text)
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
426 (define-coding-system-alias 'ctext 'compound-text)
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
427
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
428 ;; Same as compound-text, but doesn't produce composition escape
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
429 ;; sequences. Used in post-read and pre-write conversions of
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
430 ;; compound-text-with-extensions, see mule.el. Note that this should
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
431 ;; not have a mime-charset property, to prevent it from showing up
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
432 ;; close to the beginning of coding systems ordered by priority.
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
433 (make-coding-system
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
434 'ctext-no-compositions 2 ?x
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
435 "Compound text based generic encoding for decoding unknown messages.
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
436
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
437 Like `compound-text', but does not produce escape sequences for compositions."
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
438 '((ascii t) (latin-iso8859-1 katakana-jisx0201 t) t t
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
439 nil ascii-eol ascii-cntl nil locking-shift single-shift nil nil nil
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
440 init-bol nil nil)
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
441 '((safe-charsets . t)))
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
442
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
443 (make-coding-system
53241
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
444 'compound-text-with-extensions 2 ?x
48073
1b334a808f0f Comment.
Dave Love <fx@gnu.org>
parents: 47962
diff changeset
445 "Compound text encoding with extended segments.
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
446
53241
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
447 See the variable `ctext-non-standard-encodings-alist' for the
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
448 detail about how extended segments are handled.
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
449
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
450 This coding system should be used only for X selections. It is inappropriate
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
451 for decoding and encoding files, process I/O, etc."
53241
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
452 '((ascii t) (latin-iso8859-1 katakana-jisx0201 t) t t
b5acb6a7d79b (compound-text-with-extensions): Change the type to 2 (iso-2022 base).
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
453 nil ascii-eol ascii-cntl)
43458
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
454 '((post-read-conversion . ctext-post-read-conversion)
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
455 (pre-write-conversion . ctext-pre-write-conversion)))
3dd402082e18 (ctext-no-compositions): New coding system.
Eli Zaretskii <eliz@gnu.org>
parents: 42112
diff changeset
456
43552
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
457 (define-coding-system-alias
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
458 'x-ctext-with-extensions 'compound-text-with-extensions)
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
459 (define-coding-system-alias
52e76230bc9c (compound-text): Renamed back from compound-text-no-extensions.
Eli Zaretskii <eliz@gnu.org>
parents: 43458
diff changeset
460 'ctext-with-extensions 'compound-text-with-extensions)
33221
22ea1d0f7521 (compound-text): Define this coding system here. Make x-ctext and
Kenichi Handa <handa@m17n.org>
parents: 33044
diff changeset
461
24619
6057f7a48050 (x-ctext): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 24308
diff changeset
462 (make-coding-system
19266
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
463 'iso-safe 2 ?-
48073
1b334a808f0f Comment.
Dave Love <fx@gnu.org>
parents: 47962
diff changeset
464 "Encode ASCII asis and encode non-ASCII characters to `?'."
19266
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
465 '(ascii nil nil nil
20164
966231174701 Give proper SAFE_CHARSET argument in
Kenichi Handa <handa@m17n.org>
parents: 20115
diff changeset
466 nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil t)
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
467 '((safe-charsets ascii)))
19266
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
468
46492
4bc90b6a952f (us-ascii): Define it as an alias of iso-safe.
Kenichi Handa <handa@m17n.org>
parents: 43929
diff changeset
469 (define-coding-system-alias
4bc90b6a952f (us-ascii): Define it as an alias of iso-safe.
Kenichi Handa <handa@m17n.org>
parents: 43929
diff changeset
470 'us-ascii 'iso-safe)
4bc90b6a952f (us-ascii): Define it as an alias of iso-safe.
Kenichi Handa <handa@m17n.org>
parents: 43929
diff changeset
471
50118
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
472 (make-coding-system
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
473 'iso-latin-1 2 ?1
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
474 "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)."
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
475 '(ascii latin-iso8859-1 nil nil
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
476 nil nil nil nil nil nil nil nil nil nil nil t t)
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
477 '((safe-charsets ascii latin-iso8859-1)
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
478 (mime-charset . iso-8859-1)))
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
479
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
480 (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
481 (define-coding-system-alias 'latin-1 'iso-latin-1)
c38bf27db0aa (iso-latin-1): Moved from european.el.
Kenichi Handa <handa@m17n.org>
parents: 49598
diff changeset
482
22985
596e4e490901 (iso-safe): Comment for this coding system fixed.
Kenichi Handa <handa@m17n.org>
parents: 22886
diff changeset
483 ;; Use iso-safe for terminal output if some other coding system is not
23196
30beacf88b75 Doc fixes.
Karl Heuer <kwzh@gnu.org>
parents: 22985
diff changeset
484 ;; specified explicitly.
19266
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
485 (set-safe-terminal-coding-system-internal 'iso-safe)
a042f26b7a4c (iso-safe): New coding system.
Kenichi Handa <handa@m17n.org>
parents: 19005
diff changeset
486
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
487 ;; The other coding-systems are defined in each language specific
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
488 ;; section of languages.el.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
489
21713
aa160e4358ac (file-coding-system-alist): Use emacs-mule for .elc files.
Richard M. Stallman <rms@gnu.org>
parents: 20732
diff changeset
490 ;; Normally, set coding system to `undecided' before reading a file.
aa160e4358ac (file-coding-system-alist): Use emacs-mule for .elc files.
Richard M. Stallman <rms@gnu.org>
parents: 20732
diff changeset
491 ;; Compiled Emacs Lisp files (*.elc) are not decoded at all,
aa160e4358ac (file-coding-system-alist): Use emacs-mule for .elc files.
Richard M. Stallman <rms@gnu.org>
parents: 20732
diff changeset
492 ;; but we regard them as containing multibyte characters.
aa160e4358ac (file-coding-system-alist): Use emacs-mule for .elc files.
Richard M. Stallman <rms@gnu.org>
parents: 20732
diff changeset
493 ;; Tar files are not decoded at all, but we treat them as raw bytes.
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
494
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
495 (setq file-coding-system-alist
32228
6a5bae3ed1c1 file-coding-system-alist): Use \',
Dave Love <fx@gnu.org>
parents: 30260
diff changeset
496 '(("\\.elc\\'" . (emacs-mule . emacs-mule))
42047
83eb799f3657 (translation-table-for-input): New
Dave Love <fx@gnu.org>
parents: 41468
diff changeset
497 ("\\.utf\\(-8\\)?\\'" . utf-8)
34264
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
498 ;; We use raw-text for reading loaddefs.el so that if it
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
499 ;; happens to have DOS or Mac EOLs, they are converted to
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
500 ;; newlines. This is required to make the special treatment
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
501 ;; of the "\ newline" combination in loaddefs.el, which marks
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
502 ;; the beginning of a doc string, work.
b0c17ac74953 (file-coding-system-alist): Use
Eli Zaretskii <eliz@gnu.org>
parents: 33933
diff changeset
503 ("\\(\\`\\|/\\)loaddefs.el\\'" . (raw-text . raw-text-unix))
32228
6a5bae3ed1c1 file-coding-system-alist): Use \',
Dave Love <fx@gnu.org>
parents: 30260
diff changeset
504 ("\\.tar\\'" . (no-conversion . no-conversion))
43929
75ed7127d6fc (file-coding-system-alist): Add an association for PO files.
Eli Zaretskii <eliz@gnu.org>
parents: 43552
diff changeset
505 ( "\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system)
61933
e555645f13f4 (file-coding-system-alist): Fix regexp for latexenc.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 61912
diff changeset
506 ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system)
18196
85354a726fa5 Coding system names changed.
Kenichi Handa <handa@m17n.org>
parents: 17992
diff changeset
507 ("" . (undecided . nil))))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
508
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
509
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
510 ;;; Setting coding categories and their priorities.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
511
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
512 ;; This setting is just to read an Emacs Lisp source files which
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
513 ;; contain multilingual text while dumping Emacs. More appropriate
18302
6fbbef4e6c39 Change mnemonic letters for iso-2022-7bit-ss2 and
Kenichi Handa <handa@m17n.org>
parents: 18196
diff changeset
514 ;; values are set by the command `set-language-environment' for each
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
515 ;; language environment.
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
516
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
517 (setq coding-category-emacs-mule 'emacs-mule
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
518 coding-category-sjis 'japanese-shift-jis
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
519 coding-category-iso-7 'iso-2022-7bit
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
520 coding-category-iso-7-tight 'iso-2022-jp
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
521 coding-category-iso-8-1 'iso-latin-1
22985
596e4e490901 (iso-safe): Comment for this coding system fixed.
Kenichi Handa <handa@m17n.org>
parents: 22886
diff changeset
522 coding-category-iso-8-2 'iso-latin-1
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
523 coding-category-iso-7-else 'iso-2022-7bit-lock
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
524 coding-category-iso-8-else 'iso-2022-8bit-ss2
22886
33a84416a33f Initialize coding-category-ccl to
Kenichi Handa <handa@m17n.org>
parents: 22186
diff changeset
525 coding-category-ccl nil
35539
57b31206dbfa (coding-category-utf-8): Initialize to mule-utf-8.
Kenichi Handa <handa@m17n.org>
parents: 35187
diff changeset
526 coding-category-utf-8 'mule-utf-8
51630
90215b7be64d Adjusted for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
Kenichi Handa <handa@m17n.org>
parents: 50721
diff changeset
527 coding-category-utf-16-be 'mule-utf-16be-with-signature
90215b7be64d Adjusted for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
Kenichi Handa <handa@m17n.org>
parents: 50721
diff changeset
528 coding-category-utf-16-le 'mule-utf-16le-with-signature
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
529 coding-category-big5 'chinese-big5
19607
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
530 coding-category-raw-text 'raw-text
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
531 coding-category-binary 'no-conversion)
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
532
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
533 (set-coding-priority
22985
596e4e490901 (iso-safe): Comment for this coding system fixed.
Kenichi Handa <handa@m17n.org>
parents: 22886
diff changeset
534 '(coding-category-iso-8-1
596e4e490901 (iso-safe): Comment for this coding system fixed.
Kenichi Handa <handa@m17n.org>
parents: 22886
diff changeset
535 coding-category-iso-8-2
50721
a6117ab2a719 Set coding-category-utf-16-be to
Kenichi Handa <handa@m17n.org>
parents: 50511
diff changeset
536 coding-category-utf-8
a6117ab2a719 Set coding-category-utf-16-be to
Kenichi Handa <handa@m17n.org>
parents: 50511
diff changeset
537 coding-category-utf-16-be
a6117ab2a719 Set coding-category-utf-16-be to
Kenichi Handa <handa@m17n.org>
parents: 50511
diff changeset
538 coding-category-utf-16-le
22985
596e4e490901 (iso-safe): Comment for this coding system fixed.
Kenichi Handa <handa@m17n.org>
parents: 22886
diff changeset
539 coding-category-iso-7-tight
20732
7187fdedb775 Adjusted for the change of the
Kenichi Handa <handa@m17n.org>
parents: 20164
diff changeset
540 coding-category-iso-7
18800
afc6404f9637 (coding-category-emacs-mule): Replace coding-category-iso-else with
Kenichi Handa <handa@m17n.org>
parents: 18663
diff changeset
541 coding-category-iso-7-else
19607
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
542 coding-category-iso-8-else
17992
191bef5a0922 Set default value of coding-category-iso-else to
Kenichi Handa <handa@m17n.org>
parents: 17839
diff changeset
543 coding-category-emacs-mule
19607
ea0964347a40 (raw-text): New coding system. Set
Kenichi Handa <handa@m17n.org>
parents: 19372
diff changeset
544 coding-category-raw-text
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48073
diff changeset
545 coding-category-sjis
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
546 coding-category-big5
22886
33a84416a33f Initialize coding-category-ccl to
Kenichi Handa <handa@m17n.org>
parents: 22186
diff changeset
547 coding-category-ccl
35555
6f60efe86358 Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 35539
diff changeset
548 coding-category-binary
50721
a6117ab2a719 Set coding-category-utf-16-be to
Kenichi Handa <handa@m17n.org>
parents: 50511
diff changeset
549 ))
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
550
19372
d9d25c2a6cd4 Set 146th element of
Kenichi Handa <handa@m17n.org>
parents: 19266
diff changeset
551
d9d25c2a6cd4 Set 146th element of
Kenichi Handa <handa@m17n.org>
parents: 19266
diff changeset
552 ;;; Miscellaneous settings.
50511
5930672784ee Register ?\221 and ?\226 in latin-extra-code-table.
Kenichi Handa <handa@m17n.org>
parents: 50488
diff changeset
553 (aset latin-extra-code-table ?\221 t)
19372
d9d25c2a6cd4 Set 146th element of
Kenichi Handa <handa@m17n.org>
parents: 19266
diff changeset
554 (aset latin-extra-code-table ?\222 t)
35187
cb583146cc55 (latin-extra-code-table): Set to t for \223 and \224.
Kenichi Handa <handa@m17n.org>
parents: 34264
diff changeset
555 (aset latin-extra-code-table ?\223 t)
cb583146cc55 (latin-extra-code-table): Set to t for \223 and \224.
Kenichi Handa <handa@m17n.org>
parents: 34264
diff changeset
556 (aset latin-extra-code-table ?\224 t)
50488
a23ddd4b5a0b Register ?\225 in latin-extra-code-table.
Kenichi Handa <handa@m17n.org>
parents: 50182
diff changeset
557 (aset latin-extra-code-table ?\225 t)
50511
5930672784ee Register ?\221 and ?\226 in latin-extra-code-table.
Kenichi Handa <handa@m17n.org>
parents: 50488
diff changeset
558 (aset latin-extra-code-table ?\226 t)
19372
d9d25c2a6cd4 Set 146th element of
Kenichi Handa <handa@m17n.org>
parents: 19266
diff changeset
559
23260
1e8cac8d2c50 Call update-coding-systems-internal at the tail.
Kenichi Handa <handa@m17n.org>
parents: 23196
diff changeset
560 (update-coding-systems-internal)
1e8cac8d2c50 Call update-coding-systems-internal at the tail.
Kenichi Handa <handa@m17n.org>
parents: 23196
diff changeset
561
61698
19c94353380d (translation-table-for-input): Remove redundant declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 53241
diff changeset
562 ;; arch-tag: 7d5fed55-b6df-42f6-8d3d-0011190551f5
17070
616c024f4e84 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
563 ;;; mule-conf.el ends here