428
|
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
|
|
2
|
|
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
|
|
4 ;; Licensed to the Free Software Foundation.
|
|
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
|
771
|
6 ;; Copyright (C) 2001 Ben Wing.
|
728
|
7 ;; Copyright (C) 2002 Free Software Foundation
|
428
|
8
|
|
9 ;; Keywords: multilingual, European
|
|
10
|
|
11 ;; This file is part of XEmacs.
|
|
12
|
|
13 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
14 ;; under the terms of the GNU General Public License as published by
|
|
15 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
16 ;; any later version.
|
|
17
|
|
18 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
21 ;; General Public License for more details.
|
|
22
|
|
23 ;; You should have received a copy of the GNU General Public License
|
|
24 ;; along with XEmacs; see the file COPYING. If not, write to the Free
|
|
25 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
26 ;; 02111-1307, USA.
|
|
27
|
|
28 ;;; Commentary:
|
|
29
|
2575
|
30 ;; For Europeans, seven coded character sets ISO8859-1,2,3,4,9,10 are supported.
|
863
|
31 ;; Note: ISO 8859/15 (Latin-9) is supported via the latin-unity package.
|
428
|
32
|
440
|
33 ;; #### latin.el would be a better name for this file.
|
|
34
|
428
|
35 ;;; Code:
|
778
|
36 ; (make-charset 'latin-iso8859-1
|
|
37 ; "Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100"
|
|
38 ; '(dimension
|
|
39 ; 1
|
|
40 ; registry "ISO8859-1"
|
|
41 ; chars 96
|
|
42 ; columns 1
|
|
43 ; direction l2r
|
|
44 ; final ?A
|
|
45 ; graphic 1
|
|
46 ; short-name "RHP of Latin-1"
|
|
47 ; long-name "RHP of Latin-1 (ISO 8859-1): ISO-IR-100"
|
|
48 ; ))
|
|
49
|
|
50 ; (make-charset 'latin-iso8859-2
|
|
51 ; "Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101"
|
|
52 ; '(dimension
|
|
53 ; 1
|
|
54 ; registry "ISO8859-2"
|
|
55 ; chars 96
|
|
56 ; columns 1
|
|
57 ; direction l2r
|
|
58 ; final ?B
|
|
59 ; graphic 1
|
|
60 ; short-name "RHP of Latin-2"
|
|
61 ; long-name "RHP of Latin-2 (ISO 8859-2): ISO-IR-101"
|
|
62 ; ))
|
|
63
|
|
64 ; (make-charset 'latin-iso8859-3
|
|
65 ; "Right-Hand Part of Latin Alphabet 3 (ISO/IEC 8859-3): ISO-IR-109"
|
|
66 ; '(dimension
|
|
67 ; 1
|
|
68 ; registry "ISO8859-3"
|
|
69 ; chars 96
|
|
70 ; columns 1
|
|
71 ; direction l2r
|
|
72 ; final ?C
|
|
73 ; graphic 1
|
|
74 ; short-name "RHP of Latin-3"
|
|
75 ; long-name "RHP of Latin-3 (ISO 8859-3): ISO-IR-109"
|
|
76 ; ))
|
|
77
|
|
78 ; (make-charset 'latin-iso8859-4
|
|
79 ; "Right-Hand Part of Latin Alphabet 4 (ISO/IEC 8859-4): ISO-IR-110"
|
|
80 ; '(dimension
|
|
81 ; 1
|
|
82 ; registry "ISO8859-4"
|
|
83 ; chars 96
|
|
84 ; columns 1
|
|
85 ; direction l2r
|
|
86 ; final ?D
|
|
87 ; graphic 1
|
|
88 ; short-name "RHP of Latin-4"
|
|
89 ; long-name "RHP of Latin-4 (ISO 8859-4): ISO-IR-110"
|
|
90 ; ))
|
|
91
|
|
92 ; (make-charset 'latin-iso8859-9
|
|
93 ; "Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148"
|
|
94 ; '(dimension
|
|
95 ; 1
|
|
96 ; registry "ISO8859-9"
|
|
97 ; chars 96
|
|
98 ; columns 1
|
|
99 ; direction l2r
|
|
100 ; final ?M
|
|
101 ; graphic 1
|
|
102 ; short-name "RHP of Latin-5"
|
|
103 ; long-name "RHP of Latin-5 (ISO 8859-9): ISO-IR-148"
|
|
104 ; ))
|
|
105
|
|
106 ; (make-charset 'latin-iso8859-15
|
|
107 ; "Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203"
|
|
108 ; '(dimension
|
|
109 ; 1
|
|
110 ; registry "ISO8859-15"
|
|
111 ; chars 96
|
|
112 ; columns 1
|
|
113 ; direction l2r
|
|
114 ; final ?b
|
|
115 ; graphic 1
|
|
116 ; short-name "RHP of Latin-9"
|
|
117 ; long-name "RHP of Latin-9 (ISO 8859-15): ISO-IR-203"
|
|
118 ; ))
|
|
119
|
|
120 (make-charset 'latin-iso8859-14
|
|
121 "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
|
|
122 '(dimension
|
|
123 1
|
|
124 registry "ISO8859-14"
|
|
125 chars 96
|
|
126 columns 1
|
|
127 direction l2r
|
|
128 final ?_
|
|
129 graphic 1
|
|
130 short-name "RHP of Latin-8"
|
|
131 long-name "RHP of Latin-8 (ISO 8859-14)"
|
|
132 ))
|
|
133
|
2575
|
134 (make-charset 'latin-iso8859-16
|
|
135 "Right-Hand Part of Latin Alphabet 10 (ISO/IEC 8859-16)"
|
|
136 '(dimension
|
|
137 1
|
|
138 registry "ISO8859-16"
|
|
139 chars 96
|
|
140 columns 1
|
|
141 direction l2r
|
|
142 final ?f ; octet 06/06; cf ISO-IR 226
|
|
143 graphic 1
|
|
144 short-name "RHP of Latin-10"
|
|
145 long-name "RHP of Latin-10 (ISO 8859-16)"
|
|
146 ))
|
|
147
|
|
148 (loop for c from 64 to 127
|
|
149 do (modify-syntax-entry (make-char 'latin-iso8859-16 c) "w"))
|
|
150 (mapc (lambda (c)
|
|
151 (modify-syntax-entry (make-char 'latin-iso8859-16 c) "w"))
|
|
152 '(#xA1 #xA2 #xA3 #xA6 #xA8 #xAA #xAC #xAE #xAF
|
|
153 #xB3 #xB4 #xB5 #xB8 #xB9 #xBA #xBC #xBD #xBE #xBF))
|
|
154
|
428
|
155
|
|
156 ;; For syntax of Latin-1 characters.
|
|
157 (loop for c from 64 to 127 ; from ',A@(B' to ',A(B'
|
|
158 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
|
|
159
|
|
160 (modify-syntax-entry (make-char 'latin-iso8859-1 32) "w") ; no-break space
|
|
161 (modify-syntax-entry ?,AW(B "_")
|
|
162 (modify-syntax-entry ?,Aw(B "_")
|
|
163
|
728
|
164 ;; For syntax of Latin-9 characters.
|
|
165 ;; Based on Latin-1 and differences from Jukka Korpela
|
|
166 ;; http://www.cs.tut.fi/~jkorpela/latin9.html
|
|
167 (loop for c in '(?,b&(B ?,b((B ?,b4(B ?,b8(B ?,b<(B ?,b=(B ?,b>(B)
|
|
168 do (modify-syntax-entry c "w"))
|
|
169
|
|
170 (loop for c from 64 to 127 ; from ',b@(B' to ',b(B'
|
|
171 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
|
|
172
|
|
173 (modify-syntax-entry (make-char 'latin-iso8859-15 32) "w") ; no-break space
|
|
174 (modify-syntax-entry ?,bW(B "_")
|
|
175 (modify-syntax-entry ?,bw(B "_")
|
|
176
|
428
|
177 ;; For syntax of Latin-2
|
|
178 (loop for c in '(?,B!(B ?,B#(B ?,B%(B ?,B&(B ?,B)(B ?,B*(B ?,B+(B ?,B,(B ?,B.(B ?,B/(B ?,B1(B ?,B3(B ?,B5(B ?,B6(B ?,B9(B ?,B:(B ?,B;(B ?,B<(B)
|
|
179 do (modify-syntax-entry c "w"))
|
|
180
|
|
181 (loop for c from 62 to 126
|
|
182 do (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w"))
|
|
183
|
|
184 (modify-syntax-entry (make-char 'latin-iso8859-2 32) "w") ; no-break space
|
|
185 (modify-syntax-entry ?,BW(B ".")
|
|
186 (modify-syntax-entry ?,Bw(B ".")
|
|
187
|
440
|
188 ;; For syntax of Latin-3
|
|
189 (loop for c in '(?,C!(B ?,C&(B ?,C)(B ?,C*(B ?,C+(B ?,C,(B ?,C/(B ?,C1(B ?,C5(B ?,C6(B ?,C:(B ?,C;(B ?,C<(B ?,C?(B)
|
|
190 do (modify-syntax-entry c "w"))
|
|
191
|
|
192 (loop for c from 64 to 126
|
|
193 do (modify-syntax-entry (make-char 'latin-iso8859-3 c) "w"))
|
|
194
|
|
195 (modify-syntax-entry (make-char 'latin-iso8859-3 32) "w") ; no-break space
|
|
196 (modify-syntax-entry ?,CW(B ".")
|
|
197 (modify-syntax-entry ?,Cw(B ".")
|
|
198
|
|
199 ;; For syntax of Latin-4
|
|
200 (loop for c in '(?,D!(B ?,D"(B ?,D#(B ?,D%(B ?,D&(B ?,D)(B ?,D*(B ?,D+(B ?,D,(B ?,D.(B ?,D1(B ?,D3(B ?,D5(B ?,D6(B ?,D9(B ?,D:(B ?,D;(B ?,D<(B ?,D=(B ?,D>(B ?,D?(B)
|
|
201 do (modify-syntax-entry c "w"))
|
|
202
|
|
203 (loop for c from 64 to 126
|
|
204 do (modify-syntax-entry (make-char 'latin-iso8859-4 c) "w"))
|
|
205
|
|
206 (modify-syntax-entry (make-char 'latin-iso8859-4 32) "w") ; no-break space
|
|
207 (modify-syntax-entry ?,DW(B ".")
|
|
208 (modify-syntax-entry ?,Dw(B ".")
|
|
209
|
|
210
|
428
|
211 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
212 ;;; EUROPEANS
|
|
213 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
214
|
|
215
|
|
216 ;; Latin-1 (ISO-8859-1)
|
|
217
|
|
218 ;; (make-coding-system
|
|
219 ;; 'iso-latin-1 2 ?1
|
|
220 ;; "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
|
|
221 ;; '(ascii latin-iso8859-1 nil nil
|
|
222 ;; nil nil nil nil nil nil nil nil nil nil nil nil t)
|
|
223 ;; '((safe-charsets ascii latin-iso8859-1)
|
|
224 ;; (mime-charset . iso-8859-1)))
|
|
225
|
|
226 ;; (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
|
|
227 ;; (define-coding-system-alias 'latin-1 'iso-latin-1)
|
|
228
|
|
229 ;; (make-coding-system
|
|
230 ;; 'compound-text 2 ?1
|
|
231 ;; "ISO 2022 based encoding used in inter client communication of X"
|
|
232 ;; '((ascii t) (latin-iso8859-1 t) nil nil
|
|
233 ;; nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)
|
|
234 ;; '((safe-charsets . t)))
|
|
235
|
|
236 ;; (define-coding-system-alias 'ctext 'compound-text)
|
|
237
|
771
|
238 ;; "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!"
|
428
|
239
|
|
240
|
728
|
241 ;; Latin-9 (ISO-8859-15)
|
|
242 ;; Latin-1 plus Euro, plus a few accented characters
|
|
243
|
|
244 ;; (make-charset 'latin-iso8859-15
|
|
245 ;; "Latin-9, aka Latin-1 with Euro etc"
|
|
246 ;; '(short-name "Latin 9"
|
|
247 ;; long-name "Latin-9 (typically GR of ISO 8859/15)"
|
|
248 ;; registry "iso8859-15"
|
|
249 ;; dimension 1
|
|
250 ;; columns 1
|
|
251 ;; chars 96
|
|
252 ;; final ?b ; ISO-IR-203
|
|
253 ;; graphic 1
|
|
254 ;; direction l2r))
|
|
255
|
|
256 (make-coding-system
|
|
257 'iso-8859-15 'iso2022
|
|
258 "ISO 4873 conforming 8-bit code (ASCII + Latin 9; aka Latin-1 with Euro)"
|
|
259 `(mnemonic "MIME/Ltn-9" ; bletch
|
|
260 eol-type nil
|
|
261 charset-g0 ascii
|
|
262 charset-g1 latin-iso8859-15
|
|
263 charset-g2 t
|
|
264 charset-g3 t
|
|
265 ))
|
|
266
|
|
267
|
428
|
268 ;; Latin-2 (ISO-8859-2)
|
|
269
|
|
270 ;; (make-coding-system
|
|
271 ;; 'iso-latin-2 2 ?2
|
|
272 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
|
|
273 ;; '(ascii latin-iso8859-2 nil nil
|
|
274 ;; nil nil nil nil nil nil nil)
|
|
275 ;; '((safe-charsets ascii latin-iso8859-2)
|
|
276 ;; (mime-charset . iso-8859-2)))
|
|
277
|
|
278 ;; (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
|
|
279 ;; (define-coding-system-alias 'latin-2 'iso-latin-2)
|
|
280
|
|
281 (make-coding-system
|
771
|
282 'iso-8859-2 'iso2022 "ISO-8859-2 (Latin-2)"
|
428
|
283 '(charset-g0 ascii
|
|
284 charset-g1 latin-iso8859-2
|
|
285 charset-g2 t
|
|
286 charset-g3 t
|
|
287 mnemonic "MIME/Ltn-2"
|
|
288 ))
|
|
289
|
|
290 (provide 'romanian)
|
|
291
|
|
292 ;; Czech support originally from czech.el
|
778
|
293 ;; Author: Milan Zamazal <pdm@zamazal.org>
|
|
294 ;; Maintainer (FSF): Pavel Jan,Am(Bk <Pavel@Janik.cz>
|
|
295 ;; Maintainer (for XEmacs): David Sauer <davids@penguin.cz>
|
428
|
296
|
771
|
297 (provide 'czech)
|
428
|
298
|
771
|
299 ;; Slovak support originally from slovak.el
|
|
300 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>,
|
|
301 ;; Milan Zamazal <pdm@fi.muni.cz>
|
|
302 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
|
428
|
303
|
771
|
304 (provide 'slovenian)
|
428
|
305
|
|
306
|
|
307 ;; Latin-3 (ISO-8859-3)
|
|
308
|
|
309 ;; (make-coding-system
|
|
310 ;; 'iso-latin-3 2 ?3
|
|
311 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
|
|
312 ;; '(ascii latin-iso8859-3 nil nil
|
|
313 ;; nil nil nil nil nil nil nil)
|
|
314 ;; '((safe-charsets ascii latin-iso8859-3)
|
|
315 ;; (mime-charset . iso-8859-3)))
|
|
316
|
|
317 ;; (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
|
|
318 ;; (define-coding-system-alias 'latin-3 'iso-latin-3)
|
|
319
|
|
320 (make-coding-system
|
771
|
321 'iso-8859-3 'iso2022 "ISO-8859-3 (Latin-3)"
|
428
|
322 '(charset-g0 ascii
|
|
323 charset-g1 latin-iso8859-3
|
|
324 charset-g2 t
|
|
325 charset-g3 t
|
|
326 mnemonic "MIME/Ltn-3"
|
|
327 ))
|
|
328
|
|
329
|
|
330 ;; Latin-4 (ISO-8859-4)
|
|
331
|
|
332 ;; (make-coding-system
|
|
333 ;; 'iso-latin-4 2 ?4
|
|
334 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
|
|
335 ;; '(ascii latin-iso8859-4 nil nil
|
|
336 ;; nil nil nil nil nil nil nil)
|
|
337 ;; '((safe-charsets ascii latin-iso8859-4)
|
|
338 ;; (mime-charset . iso-8895-4)))
|
|
339
|
|
340 ;; (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
|
|
341 ;; (define-coding-system-alias 'latin-4 'iso-latin-4)
|
|
342
|
|
343 (make-coding-system
|
771
|
344 'iso-8859-4 'iso2022 "ISO-8859-4 (Latin-4)"
|
428
|
345 '(charset-g0 ascii
|
|
346 charset-g1 latin-iso8859-4
|
|
347 charset-g2 t
|
|
348 charset-g3 t
|
|
349 mnemonic "MIME/Ltn-4"
|
|
350 ))
|
|
351
|
|
352
|
|
353 ;; Latin-5 (ISO-8859-9)
|
|
354
|
|
355 ;; (make-coding-system
|
|
356 ;; 'iso-latin-5 2 ?9
|
|
357 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
|
|
358 ;; '(ascii latin-iso8859-9 nil nil
|
|
359 ;; nil nil nil nil nil nil nil)
|
|
360 ;; '((safe-charsets ascii latin-iso8859-9)
|
|
361 ;; (mime-charset . iso-8859-9)))
|
|
362
|
|
363 ;; (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
|
|
364 ;; (define-coding-system-alias 'latin-5 'iso-latin-5)
|
|
365
|
|
366 (make-coding-system
|
771
|
367 'iso-8859-9 'iso2022 "ISO-8859-9 (Latin-5)"
|
428
|
368 '(charset-g0 ascii
|
|
369 charset-g1 latin-iso8859-9
|
|
370 charset-g2 t
|
|
371 charset-g3 t
|
|
372 mnemonic "MIME/Ltn-5"
|
|
373 ))
|
|
374
|
2575
|
375 ;; Add a coding system for ISO 8859-16.
|
|
376 (make-coding-system
|
|
377 'iso-8859-16 'iso2022 "MIME ISO-8859-16"
|
|
378 '(charset-g0 ascii
|
|
379 charset-g1 latin-iso8859-16
|
|
380 charset-g2 t ; grrr
|
|
381 charset-g3 t ; grrr
|
|
382 mnemonic "MIME/Ltn-10"))
|
|
383
|
771
|
384 (loop for ((charset codesys default-input nice-charset-1 nice-charset-2
|
|
385 supported-langs ;; a list if the doc string is replaced
|
|
386 ;; entirely
|
|
387 )
|
|
388 langenvs) in
|
|
389 '(
|
|
390 ((latin-iso8859-1 iso-8859-1 "latin-1-prefix" "Latin-1" "ISO-8859-1"
|
|
391 " Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
|
|
392 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.")
|
|
393 (("Danish" "da")
|
|
394 ("Dutch" "nl" "TUTORIAL.nl")
|
|
395 ("Faeroese")
|
|
396 ("Finnish" "fi")
|
|
397 ("French" "fr" "TUTORIAL.fr" "Bonjour, ,Ag(Ba va?")
|
|
398 ("German" "de" "TUTORIAL.de" "\
|
428
|
399 German (Deutsch Nord) Guten Tag
|
771
|
400 German (Deutsch S,A|(Bd) Gr,A|_(B Gott"
|
|
401 "german-postfix")
|
|
402 ("Icelandic" "is")
|
|
403 ("Irish" "ga")
|
|
404 ("Italian" "it")
|
|
405 ("Norwegian" "no" "TUTORIAL.no")
|
|
406 ("Portuguese" "pt" nil "Bem-vindo! Tudo bem?")
|
|
407 ("Spanish" "es" "TUTORIAL.es" ",A!(BHola!")
|
821
|
408 ("Swedish" "sv" "TUTORIAL.se" "Hej!")))
|
771
|
409 ((latin-iso8859-15 iso-8859-15 "latin-1-prefix" ;; #### FIXME
|
|
410 "Latin-9" "ISO-8859-15"
|
|
411 ("\
|
|
412 This language environment is a generic one for Latin-9 (ISO-8859-15)
|
|
413 character set which supports the Euro sign and the following languages
|
|
414 (they use the Latin-1 character set by default):
|
|
415 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
|
|
416 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
|
|
417 Each also has its own specific language environment."))
|
|
418 ())
|
|
419 ((latin-iso8859-2 iso-8859-2 "latin-2-prefix" "Latin-2" "ISO-8859-2"
|
|
420 " Albanian, Czech, English, German, Hungarian, Polish, Romanian,
|
|
421 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
|
|
422 and Swedish.")
|
|
423 (("Albanian" nil)
|
|
424 ("Croatian" ("hrvatski" "hr") "TUTORIAL.hr")
|
|
425 ("Czech" ("cs" "cz") "TUTORIAL.cs" "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!"
|
|
426 "latin-2-postfix")
|
|
427 ("Hungarian" ("hungarian" "hu"))
|
|
428 ("Polish" "po" "TUTORIAL.pl")
|
|
429 ("Romanian" "ro" "TUTORIAL.ro" "Bun,Bc(B ziua, bine a,B~(Bi venit!"
|
|
430 "latin-2-postfix")
|
|
431 ("Serbian" "sr")
|
|
432 ("Slovak" "sk" "TUTORIAL.sk" "Prajeme V,Ba(Bm pr,Bm(Bjemn,B}(B de,Br(B!"
|
|
433 ;; !!#### FSF "slovak"
|
|
434 "latin-2-postfix")
|
|
435 ("Slovenian" "sl" "TUTORIAL.sl" ",B.(Belimo vam uspe,B9(Ben dan!"
|
|
436 "latin-2-postfix")
|
|
437 ("Sorbian" nil)))
|
|
438 ((latin-iso8859-3 iso-8859-3 "latin-3-prefix" "Latin-3" "ISO-8859-3"
|
|
439 " Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
|
|
440 German, Italian, Maltese, Spanish, and Turkish.")
|
|
441 (("Afrikaans" "af")
|
|
442 ("Catalan" ("catalan" "ca"))
|
|
443 ("Esperanto")
|
|
444 ("Galician")
|
|
445 ("Maltese")))
|
|
446 ((latin-iso8859-4 iso-8859-4 "latin-4-prefix" "Latin-4" "ISO-8859-4"
|
|
447 " Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
|
|
448 Latvian, Lithuanian, and Norwegian.")
|
|
449 (("Estonian" "et")
|
|
450 ("Greenlandic")
|
|
451 ("Lappish")
|
|
452 ("Latvian" "lv")
|
|
453 ("Lithuanian" "li")))
|
|
454 ((latin-iso8859-5 iso-8859-9 "latin-5-prefix" "Latin-5" "ISO-8859-9")
|
|
455 (("Turkish" "tr"))))
|
|
456 do
|
|
457 (set-language-info-alist
|
|
458 nice-charset-1
|
|
459 `((charset ascii ,charset)
|
|
460 (coding-system ,codesys)
|
|
461 (coding-priority ,codesys)
|
|
462 (documentation . ,(if (listp supported-langs) (car supported-langs)
|
|
463 (format "\
|
|
464 This language environment is a generic one for %s (%s)
|
|
465 character set which supports the following languages (not all of them may
|
|
466 use this character set by default):
|
|
467 %s
|
|
468 Each also has its own specific language environment."
|
|
469 nice-charset-1 nice-charset-2
|
|
470 supported-langs))))
|
|
471 '("European"))
|
|
472 (loop for (name locale tutorial sample-text input-method) in langenvs
|
|
473 do
|
|
474 (set-language-info-alist
|
|
475 name
|
|
476 `((charset ascii ,charset)
|
|
477 (coding-system ,codesys)
|
|
478 (coding-priority ,codesys)
|
|
479 ,@(if locale `((locale . ,locale)))
|
|
480 ,@(if tutorial `((tutorial . ,tutorial)))
|
|
481 ,@(if sample-text `((sample-text . ,sample-text)))
|
|
482 (input-method . ,(or input-method default-input))
|
|
483 (documentation . ,(format "\
|
|
484 This language environment supports %s using the Latin-1 (ISO-8859-1)
|
|
485 character set. Languages supported by Latin-1 are Danish, Dutch, English,
|
|
486 Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian,
|
|
487 Portuguese, Spanish, and Swedish. The various language environments for
|
|
488 these languages are similar to the Latin-1 environment, but typically have
|
|
489 their own locale specified (for subprocesses and for selection of the
|
|
490 correct language environment at startup), and may have their own tutorials
|
|
491 and/or a different input method."
|
|
492 name)))
|
|
493 '("European"))
|
|
494 ))
|
428
|
495
|
|
496 ;;; european.el ends here
|