Mercurial > emacs
annotate lisp/language/european.el @ 89464:3bd06346cb4b
(font-lock-match-c-style-declaration-item-and-skip-to-next):
Check (match-end 2) before goto there.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 05 Jun 2003 12:58:44 +0000 |
parents | 5f226da850bf |
children | 2f877ed80fa6 |
rev | line source |
---|---|
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37298
diff
changeset
|
1 ;;; european.el --- support for European languages -*- coding: iso-2022-7bit; -*- |
17052 | 2 |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
3 ;; Copyright (C) 1995, 1997, 2001 Electrotechnical Laboratory, JAPAN. |
18377
8b4a66c66dd6
Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents:
18309
diff
changeset
|
4 ;; Licensed to the Free Software Foundation. |
88504 | 5 ;; Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
17052 | 6 |
7 ;; Keywords: multilingual, European | |
8 | |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
17071 | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
24 ;; Boston, MA 02111-1307, USA. | |
17052 | 25 |
26 ;;; Commentary: | |
27 | |
88577
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
28 ;; For European scripts, character sets ISO8859-1,2,3,4,9,10,13,14,15, |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
29 ;; windows-1250,2,4,7, mac-roman, adobe-standard-encoding, cp850 and |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
30 ;; next are supported. |
17052 | 31 |
32 ;;; Code: | |
33 | |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
34 ;; Latin-1 (ISO-8859-1) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
35 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
36 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
37 "Latin-1" '((charset iso-8859-1) |
89152 | 38 (coding-system iso-latin-1 iso-latin-9 windows-1252) |
20743 | 39 (coding-priority iso-latin-1) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
40 (nonascii-translation . iso-8859-1) |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
41 (unibyte-display . iso-latin-1) |
23050 | 42 (input-method . "latin-1-prefix") |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
43 (sample-text |
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
44 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!") |
20743 | 45 (documentation . "\ |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
46 This language environment is a generic one for the Latin-1 (ISO-8859-1) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
47 character set which supports the following European languages: |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
48 Albanian, Basque, Breton, Catalan, Danish, Dutch, English, Faeroese, |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
49 Finnish, French (with restrictions -- see Latin-9), Frisian, Galician, |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
50 German, Greenlandic, Icelandic, Irish Gaelic (new orthography), |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
51 Italian, Latin, Luxemburgish, Norwegian, Portuguese, Rhaeto-Romanic, |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
52 Scottish Gaelic, Spanish, and Swedish. |
35350
c26260dd320b
("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents:
35330
diff
changeset
|
53 We also have specific language environments for the following languages: |
c26260dd320b
("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents:
35330
diff
changeset
|
54 For Dutch, \"Dutch\". |
c26260dd320b
("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents:
35330
diff
changeset
|
55 For German, \"German\". |
c26260dd320b
("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents:
35330
diff
changeset
|
56 For Spanish, \"Spanish\". |
41228 | 57 For French, \"French\". |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
58 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
59 Latin-1 also covers several written languages outside Europe, including |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
60 Indonesian/Malay, Tagalog (Philippines), Swahili and Afrikaans.")) |
20743 | 61 '("European")) |
62 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
63 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
64 ;; Latin-2 (ISO-8859-2) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
65 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
66 (define-coding-system 'iso-latin-2 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
67 "ISO 2022 based 8-bit encoding for Latin-2 (MIME:ISO-8859-2)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
68 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
69 :mnemonic ?2 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
70 :charset-list '(iso-8859-2) |
88504 | 71 :mime-charset 'iso-8859-2) |
17052 | 72 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
73 (define-coding-system-alias 'iso-8859-2 'iso-latin-2) |
18622
fe2070df967e
(latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents:
18543
diff
changeset
|
74 (define-coding-system-alias 'latin-2 'iso-latin-2) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
75 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
76 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
77 "Latin-2" '((charset iso-8859-2) |
89152 | 78 (coding-system iso-latin-2 windows-1250) |
20743 | 79 (coding-priority iso-latin-2) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
80 (nonascii-translation . iso-8859-2) |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
81 (unibyte-display . iso-latin-2) |
23050 | 82 (input-method . "latin-2-prefix") |
20743 | 83 (documentation . "\ |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
84 This language environment is a generic one for the Latin-2 (ISO-8859-2) |
23117
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
85 character set which supports the following languages: |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
86 Albanian, Czech, English, German, Hungarian, Polish, Romanian, |
20232
5031189adff2
Add "Upper Sorbian" and "Lower Sorbian" in
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
87 Serbo-Croatian or Croatian, Slovak, Slovene, Sorbian (upper and lower), |
23117
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
88 and Swedish. |
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
89 We also have specific language environments for the following languages: |
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
90 For Czech, \"Czech\". |
89185 | 91 For Polish, \"Polish\". |
23117
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
92 For Romanian, \"Romanian\". |
13247082e0ed
("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents:
23111
diff
changeset
|
93 For Slovak, \"Slovak\".")) |
20743 | 94 '("European")) |
95 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
96 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
97 ;; Latin-3 (ISO-8859-3) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
98 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
99 (define-coding-system 'iso-latin-3 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
100 "ISO 2022 based 8-bit encoding for Latin-3 (MIME:ISO-8859-3)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
101 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
102 :mnemonic ?3 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
103 :charset-list '(iso-8859-3) |
88504 | 104 :mime-charset 'iso-8859-3) |
17052 | 105 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
106 (define-coding-system-alias 'iso-8859-3 'iso-latin-3) |
18622
fe2070df967e
(latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents:
18543
diff
changeset
|
107 (define-coding-system-alias 'latin-3 'iso-latin-3) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
108 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
109 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
110 "Latin-3" '((charset iso-8859-3) |
20743 | 111 (coding-system iso-latin-3) |
112 (coding-priority iso-latin-3) | |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
113 (nonascii-translation . iso-8859-3) |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
114 (unibyte-display . iso-latin-3) |
23050 | 115 (input-method . "latin-3-prefix") |
20743 | 116 (documentation . "\ |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
117 These languages are supported with the Latin-3 (ISO-8859-3) character set: |
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
118 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician, |
20743 | 119 German, Italian, Maltese, Spanish, and Turkish.")) |
120 '("European")) | |
121 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
122 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
123 ;; Latin-4 (ISO-8859-4) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
124 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
125 (define-coding-system 'iso-latin-4 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
126 "ISO 2022 based 8-bit encoding for Latin-4 (MIME:ISO-8859-4)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
127 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
128 :mnemonic ?4 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
129 :charset-list '(iso-8859-4) |
88504 | 130 :mime-charset 'iso-8859-4) |
17052 | 131 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
132 (define-coding-system-alias 'iso-8859-4 'iso-latin-4) |
18622
fe2070df967e
(latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents:
18543
diff
changeset
|
133 (define-coding-system-alias 'latin-4 'iso-latin-4) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
134 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
135 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
136 "Latin-4" '((charset iso-8859-4) |
20743 | 137 (coding-system iso-8859-4) |
138 (coding-priority iso-8859-4) | |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
139 (nonascii-translation . iso-8859-4) |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
140 (unibyte-display . iso-8859-4) |
36870
afe2778e4c9d
("Latin-5", "Latin-4"): Use postfix input
Gerd Moellmann <gerd@gnu.org>
parents:
35350
diff
changeset
|
141 (input-method . "latin-4-postfix") |
20743 | 142 (documentation . "\ |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
143 These languages are supported with the Latin-4 (ISO-8859-4) character set: |
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
144 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish, |
20743 | 145 Latvian, Lithuanian, and Norwegian.")) |
146 '("European")) | |
147 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
148 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
149 ;; Latin-5 (ISO-8859-9) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
150 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
151 (define-coding-system 'iso-latin-5 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
152 "ISO 2022 based 8-bit encoding for Latin-5 (MIME:ISO-8859-9)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
153 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
154 :mnemonic ?9 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
155 :charset-list '(iso-8859-9) |
88504 | 156 :mime-charset 'iso-8859-9) |
17052 | 157 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
158 (define-coding-system-alias 'iso-8859-9 'iso-latin-5) |
18622
fe2070df967e
(latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents:
18543
diff
changeset
|
159 (define-coding-system-alias 'latin-5 'iso-latin-5) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
160 |
17052 | 161 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
162 "Latin-5" '((charset iso-8859-9) |
20743 | 163 (coding-system iso-latin-5) |
164 (coding-priority iso-latin-5) | |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
165 (nonascii-translation . iso-8859-9) |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
166 (unibyte-display . iso-latin-5) |
36870
afe2778e4c9d
("Latin-5", "Latin-4"): Use postfix input
Gerd Moellmann <gerd@gnu.org>
parents:
35350
diff
changeset
|
167 (input-method . "latin-5-postfix") |
89185 | 168 (documentation . "Support for Latin-5.\ |
169 See also the Turkish environment.")) | |
20743 | 170 '("European")) |
171 | |
172 | |
88577
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
173 ;; Latin-6 (ISO-8859-10) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
174 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
175 (define-coding-system 'iso-latin-6 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
176 "ISO 2022 based 8-bit encoding for Latin-6 (MIME:ISO-8859-10)." |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
177 :coding-type 'charset |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
178 :mnemonic ?9 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
179 :charset-list '(iso-8859-10) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
180 :mime-charset 'iso-8859-10) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
181 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
182 (define-coding-system-alias 'iso-8859-10 'iso-latin-6) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
183 (define-coding-system-alias 'latin-6 'iso-latin-6) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
184 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
185 (set-language-info-alist |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
186 "Latin-6" '((charset iso-8859-10) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
187 (coding-system iso-latin-6) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
188 (coding-priority iso-latin-6) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
189 (nonascii-translation . iso-8859-10) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
190 (unibyte-display . iso-latin-6) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
191 ;; Fixme: input method. |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
192 (documentation . "Support for generic Latin-6 (Northern European).")) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
193 '("European")) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
194 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
195 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
196 ;; Latin-7 (ISO-8859-13) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
197 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
198 (define-coding-system 'iso-latin-7 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
199 "ISO 2022 based 8-bit encoding for Latin-7 (MIME:ISO-8859-13)." |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
200 :coding-type 'charset |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
201 :mnemonic ?9 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
202 :charset-list '(iso-8859-13) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
203 :mime-charset 'iso-8859-13) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
204 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
205 (define-coding-system-alias 'iso-8859-13 'iso-latin-7) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
206 (define-coding-system-alias 'latin-7 'iso-latin-7) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
207 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
208 (set-language-info-alist |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
209 "Latin-7" '((charset iso-8859-13) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
210 (coding-system iso-latin-7) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
211 (coding-priority iso-latin-7) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
212 (nonascii-translation . iso-8859-13) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
213 (unibyte-display . iso-latin-7) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
214 ;; Fixme: input method. |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
215 (documentation . "Support for generic Latin-7 (Baltic Rim).")) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
216 '("European")) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
217 |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
218 ;; Latin-8 (ISO-8859-14) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
219 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
220 (define-coding-system 'iso-latin-8 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
221 "ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
222 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
223 ;; `W' for `Welsh', since `C' for `Celtic' is taken. |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
224 :mnemonic ?W |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
225 :charset-list '(iso-8859-14) |
88504 | 226 :mime-charset 'iso-8859-14) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
227 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
228 (define-coding-system-alias 'iso-8859-14 'iso-latin-8) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
229 (define-coding-system-alias 'latin-8 'iso-latin-8) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
230 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
231 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
232 "Latin-8" '((charset iso-8859-14) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
233 (coding-system iso-latin-8) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
234 (coding-priority iso-latin-8) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
235 (nonascii-translation . iso-8859-14) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
236 (unibyte-display . iso-latin-8) |
31155
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
237 (input-method . "latin-8-prefix") |
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
238 ;; Fixme: Welsh/Ga{e}lic greetings |
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
239 (sample-text . ",_"(B ,_p(B ,_^(B") |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
240 (documentation . "\ |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
241 This language environment is a generic one for the Latin-8 (ISO-8859-14) |
31155
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
242 character set which supports the Celtic languages, including those not |
42152 | 243 covered by other ISO-8859 character sets: |
244 Welsh, Manx Gaelic and Irish Gaelic (old orthography).")) | |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
245 '("European")) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
246 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
247 ;; Latin-9 (ISO-8859-15) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
248 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
249 (define-coding-system 'iso-latin-9 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
250 "ISO 2022 based 8-bit encoding for Latin-9 (MIME:ISO-8859-15)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
251 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
252 ;; `0' for `Latin-0' |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
253 :mnemonic ?0 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
254 :charset-list '(iso-8859-15) |
88504 | 255 :mime-charset 'iso-8859-15) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
256 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
257 (define-coding-system-alias 'iso-8859-15 'iso-latin-9) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
258 (define-coding-system-alias 'latin-9 'iso-latin-9) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
259 (define-coding-system-alias 'latin-0 'iso-latin-9) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
260 |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
261 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
262 "Latin-9" '((charset iso-8859-15) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
263 (coding-system iso-latin-9) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
264 (coding-priority iso-latin-9) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
265 (nonascii-translation . iso-8859-15) |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
266 (unibyte-display . iso-latin-9) |
31155
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
267 (input-method . "latin-9-prefix") |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
268 (sample-text |
88504 | 269 . "AVE. ,B)9.>,b<=,_/(B ,b$(B") |
26014
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
270 (documentation . "\ |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
271 This language environment is a generic one for the Latin-9 (ISO-8859-15) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
272 character set which supports the same languages as Latin-1 with the |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
273 addition of the Euro sign and some additional French and Finnish letters. |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
274 Latin-9 is sometimes nicknamed `Latin-0'.")) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
275 '("European")) |
e84e2bf4f9fb
Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents:
25773
diff
changeset
|
276 |
88561
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
277 (define-coding-system 'iso-latin-7 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
278 "ISO 2022 based 8-bit encoding for Latin-7 (MIME:ISO-8859-13)." |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
279 :coding-type 'charset |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
280 ;; `0' for `Latin-0' |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
281 :mnemonic ?* |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
282 :charset-list '(iso-8859-13) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
283 :mime-charset 'iso-8859-13) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
284 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
285 (define-coding-system-alias 'iso-8859-13 'iso-latin-7) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
286 (define-coding-system-alias 'latin-7 'iso-latin-7) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
287 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
288 (define-coding-system 'windows-1250 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
289 "windows-1250 (Central European) encoding (MIME: WINDOWS-1250)" |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
290 :coding-type 'charset |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
291 :mnemonic ?* |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
292 :charset-list '(windows-1250) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
293 :mime-charset 'windows-1250) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
294 (define-coding-system-alias 'cp1250 'windows-1250) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
295 |
88532
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
296 (define-coding-system 'windows-1252 |
88561
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
297 "windows-1252 (Western European) encoding (MIME: WINDOWS-1252)" |
88532
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
298 :coding-type 'charset |
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
299 :mnemonic ?* |
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
300 :charset-list '(windows-1252) |
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
301 :mime-charset 'windows-1252) |
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
302 (define-coding-system-alias 'cp1252 'windows-1252) |
88561
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
303 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
304 (define-coding-system 'windows-1254 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
305 "windows-1254 (Turkish) encoding (MIME: WINDOWS-1254)" |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
306 :coding-type 'charset |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
307 :mnemonic ?* |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
308 :charset-list '(windows-1254) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
309 :mime-charset 'windows-1254) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
310 (define-coding-system-alias 'cp1254 'windows-1254) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
311 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
312 (define-coding-system 'windows-1257 |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
313 "windows-1257 (Baltic) encoding (MIME: WINDOWS-1257)" |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
314 :coding-type 'charset |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
315 :mnemonic ?* |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
316 :charset-list '(windows-1257) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
317 :mime-charset 'windows-1257) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
318 (define-coding-system-alias 'cp1257 'windows-1257) |
88577
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
319 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
320 (define-coding-system 'cp850 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
321 "DOS codepage 850 (Western European)" |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
322 :coding-type 'charset |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
323 :mnemonic ?D |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
324 :charset-list '(cp850) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
325 :mime-charset 'cp850) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
326 (define-coding-system-alias 'ibm850 'cp850) |
88617
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
327 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
328 (define-coding-system 'cp852 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
329 "DOS codepage 852 (Slavic)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
330 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
331 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
332 :charset-list '(cp852) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
333 :mime-charset 'cp852) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
334 (define-coding-system-alias 'ibm852 'cp852) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
335 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
336 (define-coding-system 'cp857 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
337 "DOS codepage 857 (Turkish)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
338 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
339 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
340 :charset-list '(cp857) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
341 :mime-charset 'cp857) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
342 (define-coding-system-alias 'ibm857 'cp857) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
343 |
89088 | 344 (define-coding-system 'cp858 |
345 "Codepage 858 (Multilingual Latin I + Euro)" | |
346 :coding-type 'charset | |
347 :mnemonic ?D | |
348 :charset-list '(cp858) | |
349 :mime-charset 'cp858) | |
350 | |
88617
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
351 (define-coding-system 'cp860 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
352 "DOS codepage 860 (Portuguese)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
353 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
354 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
355 :charset-list '(cp860) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
356 :mime-charset 'cp860) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
357 (define-coding-system-alias 'ibm860 'cp860) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
358 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
359 (define-coding-system 'cp861 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
360 "DOS codepage 861 (Icelandic)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
361 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
362 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
363 :charset-list '(cp861) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
364 :mime-charset 'cp861) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
365 (define-coding-system-alias 'ibm861 'cp861) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
366 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
367 (define-coding-system 'cp863 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
368 "DOS codepage 863 (French Canadian)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
369 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
370 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
371 :charset-list '(cp863) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
372 :mime-charset 'cp863) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
373 (define-coding-system-alias 'ibm863 'cp863) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
374 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
375 (define-coding-system 'cp865 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
376 "DOS codepage 865 (Norwegian/Danish)" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
377 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
378 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
379 :charset-list '(cp865) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
380 :mime-charset 'cp865) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
381 (define-coding-system-alias 'ibm865 'cp865) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
382 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
383 (define-coding-system 'cp437 |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
384 "DOS codepage 437" |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
385 :coding-type 'charset |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
386 :mnemonic ?D |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
387 :charset-list '(cp437) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
388 :mime-charset 'cp437) |
93cfa81ccf00
(cp852, ibm852, cp857, ibm857, cp860)
Dave Love <fx@gnu.org>
parents:
88582
diff
changeset
|
389 (define-coding-system-alias 'ibm437 'cp437) |
88532
6411031426af
(windows-1252): New coding system.
Dave Love <fx@gnu.org>
parents:
88504
diff
changeset
|
390 |
20743 | 391 (set-language-info-alist |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
392 "German" '((tutorial . "TUTORIAL.de") |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
393 (charset iso-8859-1) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
394 (coding-system iso-latin-1 iso-latin-9) |
20743 | 395 (coding-priority iso-latin-1) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
396 (nonascii-translation . iso-8859-1) |
23050 | 397 (input-method . "german-postfix") |
22980
5681e7798ce9
(setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents:
22726
diff
changeset
|
398 (unibyte-display . iso-latin-1) |
20743 | 399 (sample-text . "\ |
400 German (Deutsch Nord) Guten Tag | |
401 German (Deutsch S,A|(Bd) Gr,A|_(B Gott") | |
402 (documentation . "\ | |
403 This language environment is almost the same as Latin-1, | |
42194 | 404 but sets the default input method to \"german-postfix\". |
405 Additionally, it selects the German tutorial.")) | |
20743 | 406 '("European")) |
17302
1012d679efd4
English related codes are moved to
Kenichi Handa <handa@m17n.org>
parents:
17098
diff
changeset
|
407 |
24269
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
408 (set-language-info-alist |
41196
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
409 "French" '((tutorial . "TUTORIAL.fr") |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
410 (charset iso-8859-1) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
411 (coding-system iso-latin-1 iso-latin-9) |
41196
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
412 (coding-priority iso-latin-1) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
413 (nonascii-translation . iso-8859-1) |
41196
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
414 (unibyte-display . iso-latin-1) |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
415 (input-method . "latin-1-prefix") |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
416 (sample-text . "French (Fran,Ag(Bais) Bonjour, Salut") |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
417 (documentation . "\ |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
418 This language environment is almost the same as Latin-1, |
42194 | 419 but it selects the French tutorial.")) |
41196
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
420 '("European")) |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
421 |
f8661b5a0670
("French"): New language environment.
Eli Zaretskii <eliz@gnu.org>
parents:
41115
diff
changeset
|
422 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
423 "Slovenian" '((charset iso-8859-2) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
424 (coding-system . (iso-8859-2 windows-1250)) |
24269
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
425 (coding-priority . (iso-8859-2)) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
426 (nonascii-translation . iso-8859-2) |
24269
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
427 (input-method . "latin-2-postfix") |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
428 (unibyte-display . iso-8859-2) |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
429 (tutorial . "TUTORIAL.sl") |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
430 (sample-text . ",B.(Belimo vam uspe,B9(Ben dan!") |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
431 (documentation . t)) |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
432 '("European")) |
a29550b1d150
(setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents:
23158
diff
changeset
|
433 |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
434 (set-language-info-alist |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
435 "Spanish" '((tutorial . "TUTORIAL.es") |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
436 (charset iso-8859-1) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
437 (coding-system iso-latin-1 iso-latin-9) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
438 (coding-priority iso-latin-1) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
439 (nonascii-translation . iso-8859-1) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
440 (input-method . "spanish-postfix") |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
441 (unibyte-display . iso-latin-1) |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
442 (sample-text . "Spanish (Espa,Aq(Bol) ,A!(BHola!") |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
443 (documentation . "\ |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
444 This language environment is almost the same as Latin-1, |
42194 | 445 but it sets the default input method to \"spanish-postfix\", |
41115
20eb3e2945d7
(mac-roman): Add mime-charset property.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
38436
diff
changeset
|
446 and it selects the Spanish tutorial.")) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
447 '("European")) |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
448 |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
449 (set-language-info-alist |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
450 "Dutch" '((tutorial . "TUTORIAL.nl") |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
451 (charset iso-8859-1) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
452 (coding-system iso-latin-1 iso-latin-9) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
453 (coding-priority iso-latin-1) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
454 (nonascii-translation . iso-8859-1) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
455 (unibyte-display . iso-latin-1) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
456 (input-method . "dutch") |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
457 (sample-text . "Er is een aantal manieren waarop je dit kan doen") |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
458 (documentation . "\ |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
459 This language environment is almost the same as Latin-1, |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
460 but it selects the Dutch tutorial and input method.")) |
35161
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
461 '("European")) |
0495de5487ae
Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents:
33513
diff
changeset
|
462 |
25773
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
463 ;; For Turkish, the character set ISO-8859-9 (Latin-5) is used. But, |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
464 ;; before the introduction of ISO-8859-9 in 1988, ISO-8859-3 (Latin-3) |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
465 ;; was used for Turkish. Those who use Latin-3 for Turkish should use |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
466 ;; "Latin-3" language environment. |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
467 |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
468 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
469 "Turkish" '((charset iso-8859-9) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
470 (coding-system iso-latin-5 windows-1254 iso-latin-3) |
25773
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
471 (coding-priority iso-latin-5) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
472 (nonascii-translation . iso-8859-9) |
25773
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
473 (unibyte-display . iso-latin-5) |
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
474 (input-method . "turkish-postfix") |
88504 | 475 (sample-text . "Turkish (T,A|(Brk,Ag(Be) Merhaba") |
89088 | 476 (setup-function |
477 . (lambda () | |
478 (set-case-syntax-pair ?I ?,C9(B (standard-case-table)) | |
479 (set-case-syntax-pair ?,C)(B ?i (standard-case-table)))) | |
480 (exit-function | |
481 . (lambda () | |
482 (set-case-syntax-pair ?I ?i (standard-case-table)) | |
483 (set-case-syntax ?,C9(B "w" (standard-case-table)) | |
484 (set-case-syntax ?,C)(B "w" (standard-case-table)))) | |
485 (documentation . "Support for Turkish. | |
486 Differs from the Latin-5 environment in using the `turkish-postfix' input | |
487 method and applying Turkish case rules for the characters i, I, ,C9(B, ,C)(B."))) | |
25773
20234157d093
("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
25228
diff
changeset
|
488 |
28436
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
489 ;; Polish ISO 8859-2 environment. |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
490 ;; Maintainer: Wlodek Bzyl <matwb@univ.gda.pl> |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
491 ;; Keywords: multilingual, Polish |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
492 |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
493 (set-language-info-alist |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
494 "Polish" '((charset . (iso-8859-2)) |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
495 (coding-system . (iso-8859-2 windows-1250)) |
28436
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
496 (coding-priority . (iso-8859-2)) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
497 (nonascii-translation . iso-8859-2) |
28436
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
498 (input-method . "polish-slash") |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
499 (unibyte-display . iso-8859-2) |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
500 (tutorial . "TUTORIAL.pl") |
88504 | 501 (sample-text . "P,As(Bjd,B<(B, ki,Bq(B-,B?(Be t,Bj(B chmurno,B6f(B w g,B31(Bb flaszy") |
28436
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
502 (documentation . t)) |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
503 '("European")) |
2dbedede8507
("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents:
26134
diff
changeset
|
504 |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
505 (set-language-info-alist |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
506 "Welsh" `((coding-system utf-8 latin-8) ; the input method is Unicode-based |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
507 (coding-priority utf-8 latin-8) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
508 (nonascii-translation . iso-8859-14) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
509 (input-method . "welsh") |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
510 (documentation . "Support for Welsh, using Unicode.")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
511 '("European")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
512 |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
513 (set-language-info-alist |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
514 "Latin-7" `((coding-system latin-7) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
515 (coding-priority latin-7) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
516 (nonascii-translation . iso-8859-13) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
517 ;; Fixme: input-method |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
518 (documentation . "Support for Latin-7, e.g. Latvian, Lithuanian.")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
519 '("European")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
520 |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
521 (set-language-info-alist |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
522 "Lithuanian" `((coding-system latin-7 windows-1257) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
523 (coding-priority latin-7) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
524 (nonascii-translation . iso-8859-13) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
525 (input-method . "lithuanian-keyboard") |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
526 (documentation . "Support for Lithuanian.")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
527 '("European")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
528 |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
529 (set-language-info-alist |
88806
7618cfcfaeea
("German", "French", "Spanish"): Add
Dave Love <fx@gnu.org>
parents:
88617
diff
changeset
|
530 "Latvian" `((coding-system latin-7 windows-1257) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
531 (coding-priority latin-7) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
532 (nonascii-translation . iso-8859-13) |
42051
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
533 (input-method . "latvian-keyboard") |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
534 (documentation . "Support for Latvian.")) |
7b6dcc19e895
("Welsh", "Latin-7", "Lithuanian")
Dave Love <fx@gnu.org>
parents:
41978
diff
changeset
|
535 '("European")) |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
536 |
33049
fed8d1ebdc15
(mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents:
31155
diff
changeset
|
537 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
538 (define-coding-system 'mac-roman |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
539 "Mac Roman Encoding (MIME:MACINTOSH)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
540 :coding-type 'charset |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
541 :mnemonic ?M |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
542 :charset-list '(mac-roman) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
42353
diff
changeset
|
543 :mime-charset 'macintosh) |
33049
fed8d1ebdc15
(mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents:
31155
diff
changeset
|
544 |
88561
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
545 (define-coding-system 'next |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
546 "NeXTstep encoding" |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
547 :coding-type 'charset |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
548 :mnemonic ?* |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
549 :charset-list '(next) |
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
550 :mime-charset 'next) |
88577
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
551 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
552 (define-coding-system 'hp-roman8 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
553 "Hewlet-Packard roman-8 encoding (MIME:ROMAN-8)" |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
554 :coding-type 'charset |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
555 :mnemonic ?* |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
556 :charset-list '(hp-roman8) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
557 :mime-charset 'hp-roman8) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
558 (define-coding-system-alias 'roman8 'hp-roman8) |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
559 |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
560 (define-coding-system 'adobe-standard-encoding |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
561 "Adobe `standard' encoding for PostScript" |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
562 :coding-type 'charset |
c982147b17d7
(iso-latin-6, iso-8859-10, latin-6)
Dave Love <fx@gnu.org>
parents:
88561
diff
changeset
|
563 :mnemonic ?* |
88582
700ee2a6b461
(adobe-standard-encoding): Fix typo.
Dave Love <fx@gnu.org>
parents:
88577
diff
changeset
|
564 :charset-list '(adobe-standard-encoding) |
700ee2a6b461
(adobe-standard-encoding): Fix typo.
Dave Love <fx@gnu.org>
parents:
88577
diff
changeset
|
565 :mime-charset 'adobe-standard-encoding) |
89296
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
566 |
88561
e63aa0be6e95
(windows-1254, cp1254, windows-1257)
Dave Love <fx@gnu.org>
parents:
88532
diff
changeset
|
567 |
89296
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
568 ;; For automatic composing of diacritics and combining marks. |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
569 (dolist (range '( ;; combining diacritical marks |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
570 (#x0300 #x0314 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
571 (#x0315 (tr . bl)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
572 (#x0316 #x0319 (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
573 (#x031A (tr . cl)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
574 (#x031B #x0320 (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
575 (#x0321 (Br . tr)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
576 (#x0322 (Br . tl)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
577 (#x0323 #x0333 (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
578 (#x0334 #x0338 (Bc . Bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
579 (#x0339 #x033C (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
580 (#x033D #x033F (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
581 (#x0340 (tl . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
582 (#x0341 (tr . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
583 (#x0342 #x0344 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
584 (#x0345 (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
585 (#x0346 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
586 (#x0347 #x0349 (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
587 (#x034A #x034C (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
588 (#x034D #x034E (bc . tc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
589 ;; combining diacritical marks for symbols |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
590 (#x20D0 #x20D1 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
591 (#x20D2 #x20D3 (Bc . Bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
592 (#x20D4 #x20D7 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
593 (#x20D8 #x20DA (Bc . Bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
594 (#x20DB #x20DC (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
595 (#x20DD #x20E0 (Bc . Bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
596 (#x20E1 (tc . bc)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
597 (#x20E2 #x20E3 (Bc . Bc)))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
598 (let* ((from (car range)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
599 (to (if (= (length range) 3) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
600 (nth 1 range) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
601 from)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
602 (composition (car (last range)))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
603 (while (<= from to) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
604 (put-char-code-property from 'diacritic-composition composition) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
605 (aset composition-function-table from 'diacritic-composition-function) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
606 (setq from (1+ from))))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
607 |
41875
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
608 (defconst diacritic-composition-pattern "\\C^\\c^+") |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
609 |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
610 (defun diacritic-compose-region (beg end) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
611 "Compose diacritic characters in the region. |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
612 When called from a program, expects two arguments, |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
613 positions (integers or markers) specifying the region." |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
614 (interactive "r") |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
615 (save-restriction |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
616 (narrow-to-region beg end) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
617 (goto-char (point-min)) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
618 (while (re-search-forward diacritic-composition-pattern nil t) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
619 (compose-region (match-beginning 0) (match-end 0))))) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
620 |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
621 (defun diacritic-compose-string (string) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
622 "Compose diacritic characters in STRING and return the resulting string." |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
623 (let ((idx 0)) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
624 (while (setq idx (string-match diacritic-composition-pattern string idx)) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
625 (compose-string string idx (match-end 0)) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
626 (setq idx (match-end 0)))) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
627 string) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
628 |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
629 (defun diacritic-compose-buffer () |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
630 "Compose diacritic characters in the current buffer." |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
631 (interactive) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
632 (diacritic-compose-region (point-min) (point-max))) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
633 |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
634 (defun diacritic-post-read-conversion (len) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
635 (diacritic-compose-region (point) (+ (point) len)) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
636 len) |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
637 |
89296
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
638 (defun diacritic-composition-function (pos &optional string) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
639 "Compose diacritic text around POS. |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
640 Optional 2nd argument STRING, if non-nil, is a string containing text |
41875
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
641 to compose. |
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
642 |
89296
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
643 The return value is the end position of composed characters, |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
644 or nil if no characters are composed." |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
645 (setq pos (1- pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
646 (if string |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
647 (let ((ch (aref string pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
648 start end components ch composition) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
649 (when (and (>= pos 0) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
650 ;; Previous character is latin. |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
651 (aref (char-category-set ch) ?l) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
652 (/= ch 32)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
653 (setq start pos |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
654 end (length string) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
655 components (list ch) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
656 pos (1+ pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
657 (while (and |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
658 (< pos end) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
659 (setq ch (aref string pos) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
660 composition |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
661 (get-char-code-property ch 'diacritic-composition))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
662 (setq components (cons ch (cons composition components)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
663 pos (1+ pos))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
664 (compose-string string start pos (nreverse components)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
665 pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
666 (let ((ch (char-after pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
667 start end components composition) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
668 (when (and (>= pos (point-min)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
669 (aref (char-category-set ch) ?l) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
670 (/= ch 32)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
671 (setq start pos |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
672 end (point-max) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
673 components (list ch) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
674 pos (1+ pos)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
675 (while (and |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
676 (< pos end) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
677 (setq ch (char-after pos) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
678 composition |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
679 (get-char-code-property ch 'diacritic-composition))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
680 (setq components (cons ch (cons composition components)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
681 pos (1+ pos))) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
682 (compose-region start pos (nreverse components)) |
5f226da850bf
Register combining characters in
Kenichi Handa <handa@m17n.org>
parents:
89185
diff
changeset
|
683 pos)))) |
41875
e31b7be17ab2
(diacritic-composition-pattern): New constant.
Dave Love <fx@gnu.org>
parents:
41228
diff
changeset
|
684 |
31155
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
685 (provide 'european) |
3362938ebbd7
("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents:
30261
diff
changeset
|
686 |
17052 | 687 ;;; european.el ends here |