Mercurial > emacs
annotate lisp/language/european.el @ 20895:896aeeb4f735
(Fsubst_char_in_region): Don't increment pos twice.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Feb 1998 07:27:29 +0000 |
parents | ffa67db916b4 |
children | 00ecdcdf9120 |
rev | line source |
---|---|
17052 | 1 ;;; european.el --- Support for European languages |
2 | |
18377
8b4a66c66dd6
Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents:
18309
diff
changeset
|
3 ;; Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN. |
8b4a66c66dd6
Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents:
18309
diff
changeset
|
4 ;; Licensed to the Free Software Foundation. |
17052 | 5 |
6 ;; Keywords: multilingual, European | |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
17071 | 21 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 ;; Boston, MA 02111-1307, USA. | |
17052 | 24 |
25 ;;; Commentary: | |
26 | |
27 ;; For Europeans, five character sets ISO8859-1,2,3,4,9 are supported. | |
28 | |
29 ;;; Code: | |
30 | |
18543
c69431ef3310
(setup-8-bit-environment): New argument
Kenichi Handa <handa@m17n.org>
parents:
18520
diff
changeset
|
31 ;; Setup for LANGAUGE which uses one-byte 8-bit CHARSET, one-byte |
20743 | 32 ;; 8-bit coding system, and INPUT-METHOD. |
33 (defun setup-8-bit-environment (language charset input-method) | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
34 (setup-english-environment) |
20743 | 35 (set-language-environment-coding-systems language) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
36 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
37 (if charset |
18157
43e42c5bc812
(describe-european-environment-map):
Richard M. Stallman <rms@gnu.org>
parents:
18117
diff
changeset
|
38 (let ((nonascii-offset (- (make-char charset) 128))) |
43e42c5bc812
(describe-european-environment-map):
Richard M. Stallman <rms@gnu.org>
parents:
18117
diff
changeset
|
39 ;; Set up for insertion of characters in this character set |
43e42c5bc812
(describe-european-environment-map):
Richard M. Stallman <rms@gnu.org>
parents:
18117
diff
changeset
|
40 ;; when codes 0200 - 0377 are typed in. |
43e42c5bc812
(describe-european-environment-map):
Richard M. Stallman <rms@gnu.org>
parents:
18117
diff
changeset
|
41 (setq nonascii-insert-offset nonascii-offset))) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
42 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
43 (if input-method |
19369
1a7bd3dd824e
(setup-8-bit-environment): Delete
Kenichi Handa <handa@m17n.org>
parents:
19360
diff
changeset
|
44 (setq default-input-method input-method)) |
18543
c69431ef3310
(setup-8-bit-environment): New argument
Kenichi Handa <handa@m17n.org>
parents:
18520
diff
changeset
|
45 |
c69431ef3310
(setup-8-bit-environment): New argument
Kenichi Handa <handa@m17n.org>
parents:
18520
diff
changeset
|
46 ;; If this is a Latin-N character set, set up syntax for it in |
19577
b931375072b2
(setup-8-bit-environment): Load the latin-N file again each time.
Richard M. Stallman <rms@gnu.org>
parents:
19394
diff
changeset
|
47 ;; single-byte mode. We can't use require because the file |
19661
8cde4cefae44
(setup-8-bit-environment): Inhibit message when loading latin-N.el.
Richard M. Stallman <rms@gnu.org>
parents:
19577
diff
changeset
|
48 ;; must be eval'd each time in case we change from one Latin-N to another. |
18543
c69431ef3310
(setup-8-bit-environment): New argument
Kenichi Handa <handa@m17n.org>
parents:
18520
diff
changeset
|
49 (if (string-match "^Latin-\\([1-9]\\)$" language) |
19661
8cde4cefae44
(setup-8-bit-environment): Inhibit message when loading latin-N.el.
Richard M. Stallman <rms@gnu.org>
parents:
19577
diff
changeset
|
50 (load (downcase language) nil t))) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
51 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
52 ;; Latin-1 (ISO-8859-1) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
53 |
17052 | 54 (make-coding-system |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
55 'iso-latin-1 2 ?1 |
20743 | 56 "ISO 2022 based 8-bit encoding for Laint-1 (MIME:ISO-8859-1)" |
57 '(ascii latin-iso8859-1 nil nil | |
58 nil nil nil nil nil nil nil nil nil nil nil nil t) | |
59 '((safe-charsets ascii latin-iso8859-1) | |
60 (mime-charset . iso-8859-1))) | |
17052 | 61 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
62 (define-coding-system-alias 'iso-8859-1 'iso-latin-1) |
18622
fe2070df967e
(latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents:
18543
diff
changeset
|
63 (define-coding-system-alias 'latin-1 'iso-latin-1) |
20743 | 64 |
65 (make-coding-system | |
66 'compound-text 2 ?1 | |
67 "ISO 2022 based encoding used in inter client communication of X" | |
68 '((ascii t) (latin-iso8859-1 t) nil nil | |
69 nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t) | |
70 '((safe-charsets . t))) | |
71 | |
72 (define-coding-system-alias 'ctext 'compound-text) | |
17052 | 73 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
74 (defun setup-latin1-environment () |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
75 "Set up multilingual environment (MULE) for European Latin-1 users." |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
76 (interactive) |
20743 | 77 (setup-8-bit-environment "Latin-1" 'latin-iso8859-1 "latin-1-prefix")) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
78 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
79 (set-language-info-alist |
20743 | 80 "Latin-1" '((setup-function . setup-latin1-environment) |
81 (charset ascii latin-iso8859-1) | |
82 (coding-system iso-latin-1) | |
83 (coding-priority iso-latin-1) | |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
84 (sample-text |
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
85 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!") |
20743 | 86 (documentation . "\ |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
87 These languages are supported with the Latin-1 (ISO-8859-1) character set: |
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
88 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic, |
20743 | 89 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.")) |
90 '("European")) | |
91 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
92 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
93 ;; Latin-2 (ISO-8859-2) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
94 |
17052 | 95 (make-coding-system |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
96 'iso-latin-2 2 ?2 |
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
97 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)" |
20743 | 98 '(ascii latin-iso8859-2 nil nil |
99 nil nil nil nil nil nil nil) | |
100 '((safe-charsets ascii latin-iso8859-2) | |
101 (mime-charset . iso-8859-2))) | |
17052 | 102 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
103 (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
|
104 (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
|
105 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
106 (defun setup-latin2-environment () |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
107 "Set up multilingual environment (MULE) for European Latin-2 users." |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
108 (interactive) |
20743 | 109 (setup-8-bit-environment "Latin-2" 'latin-iso8859-2 "latin-2-prefix")) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
110 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
111 (set-language-info-alist |
20743 | 112 "Latin-2" '((setup-function . setup-latin2-environment) |
113 (charset ascii latin-iso8859-2) | |
114 (coding-system iso-latin-2) | |
115 (coding-priority iso-latin-2) | |
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-2 (ISO-8859-2) character set: |
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
118 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
|
119 Serbo-Croatian or Croatian, Slovak, Slovene, Sorbian (upper and lower), |
20743 | 120 and Swedish.")) |
121 '("European")) | |
122 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
123 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
124 ;; Latin-3 (ISO-8859-3) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
125 |
17052 | 126 (make-coding-system |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
127 'iso-latin-3 2 ?3 |
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
128 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)" |
20743 | 129 '(ascii latin-iso8859-3 nil nil |
130 nil nil nil nil nil nil nil) | |
131 '((safe-charsets ascii latin-iso8859-3) | |
132 (mime-charset . iso-8859-3))) | |
17052 | 133 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
134 (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
|
135 (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
|
136 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
137 (defun setup-latin3-environment () |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
138 "Set up multilingual environment (MULE) for European Latin-3 users." |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
139 (interactive) |
20743 | 140 (setup-8-bit-environment "Latin-3" 'latin-iso8859-3 "latin-3-prefix")) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
141 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
142 (set-language-info-alist |
20743 | 143 "Latin-3" '((setup-function . setup-latin3-environment) |
144 (charset ascii latin-iso8859-3) | |
145 (coding-system iso-latin-3) | |
146 (coding-priority iso-latin-3) | |
147 (documentation . "\ | |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
148 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
|
149 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician, |
20743 | 150 German, Italian, Maltese, Spanish, and Turkish.")) |
151 '("European")) | |
152 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
153 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
154 ;; Latin-4 (ISO-8859-4) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
155 |
17052 | 156 (make-coding-system |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
157 'iso-latin-4 2 ?4 |
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
158 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)" |
20743 | 159 '(ascii latin-iso8859-4 nil nil |
160 nil nil nil nil nil nil nil) | |
161 '((safe-charsets ascii latin-iso8859-4) | |
162 (mime-charset . iso-8895-4))) | |
17052 | 163 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
164 (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
|
165 (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
|
166 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
167 (defun setup-latin4-environment () |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
168 "Set up multilingual environment (MULE) for European Latin-4 users." |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
169 (interactive) |
20743 | 170 (setup-8-bit-environment "Latin-4" 'latin-iso8859-4 "latin-4-prefix")) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
171 |
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
172 (set-language-info-alist |
20743 | 173 "Latin-4" '((setup-function . setup-latin4-environment) |
174 (charset ascii latin-iso8859-4) | |
175 (coding-system iso-8859-4) | |
176 (coding-priority iso-8859-4) | |
177 (documentation . "\ | |
18117
5db3b24f2c5c
(iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents:
18069
diff
changeset
|
178 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
|
179 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish, |
20743 | 180 Latvian, Lithuanian, and Norwegian.")) |
181 '("European")) | |
182 | |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
183 |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
184 ;; Latin-5 (ISO-8859-9) |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
185 |
17052 | 186 (make-coding-system |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
187 'iso-latin-5 2 ?9 |
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
18159
diff
changeset
|
188 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)" |
20743 | 189 '(ascii latin-iso8859-9 nil nil |
190 nil nil nil nil nil nil nil) | |
191 '((safe-charsets ascii latin-iso8859-9) | |
192 (mime-charset . iso-8859-9))) | |
17052 | 193 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
194 (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
|
195 (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
|
196 |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
197 (defun setup-latin5-environment () |
18069
d6b58197bd69
Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents:
17993
diff
changeset
|
198 "Set up multilingual environment (MULE) for European Latin-5 users." |
17993
73869115ae0a
Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
199 (interactive) |
20743 | 200 (setup-8-bit-environment "Latin-5" 'latin-iso8859-9 "latin-5-prefix")) |
17052 | 201 |
202 (set-language-info-alist | |
20743 | 203 "Latin-5" '((setup-function . setup-latin5-environment) |
204 (charset ascii latin-iso8859-9) | |
205 (coding-system iso-latin-5) | |
206 (coding-priority iso-latin-5) | |
207 (documentation . "\ | |
208 These languages are supported with the Latin-5 (ISO-8859-9) character set.")) | |
209 '("European")) | |
210 | |
211 | |
212 (defun setup-german-environment () | |
213 "Set up multilingual environment (MULE) for German users." | |
214 (interactive) | |
215 (funcall (get-language-info "Latin-1" 'setup-function)) | |
216 (setq default-input-method "german-postfix")) | |
217 | |
218 (set-language-info-alist | |
219 "German" '((setup-function . setup-german-environment) | |
220 (tutorial . "TUTORIAL.de") | |
221 (charset ascii latin-iso8859-1) | |
222 (coding-system iso-latin-1) | |
223 (coding-priority iso-latin-1) | |
224 (sample-text . "\ | |
225 German (Deutsch Nord) Guten Tag | |
226 German (Deutsch S,A|(Bd) Gr,A|_(B Gott") | |
227 (documentation . "\ | |
228 This language environment is almost the same as Latin-1, | |
229 but default input method is set to \"german-postfix\".")) | |
230 '("European")) | |
17302
1012d679efd4
English related codes are moved to
Kenichi Handa <handa@m17n.org>
parents:
17098
diff
changeset
|
231 |
17052 | 232 ;;; european.el ends here |