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
|
863
|
30 ;; For Europeans, six coded character sets ISO8859-1,2,3,4,9 are supported.
|
|
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
|
428
|
134
|
|
135 ;; For syntax of Latin-1 characters.
|
|
136 (loop for c from 64 to 127 ; from ',A@(B' to ',A(B'
|
|
137 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
|
|
138
|
|
139 (modify-syntax-entry (make-char 'latin-iso8859-1 32) "w") ; no-break space
|
|
140 (modify-syntax-entry ?,AW(B "_")
|
|
141 (modify-syntax-entry ?,Aw(B "_")
|
|
142
|
728
|
143 ;; For syntax of Latin-9 characters.
|
|
144 ;; Based on Latin-1 and differences from Jukka Korpela
|
|
145 ;; http://www.cs.tut.fi/~jkorpela/latin9.html
|
|
146 (loop for c in '(?,b&(B ?,b((B ?,b4(B ?,b8(B ?,b<(B ?,b=(B ?,b>(B)
|
|
147 do (modify-syntax-entry c "w"))
|
|
148
|
|
149 (loop for c from 64 to 127 ; from ',b@(B' to ',b(B'
|
|
150 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
|
|
151
|
|
152 (modify-syntax-entry (make-char 'latin-iso8859-15 32) "w") ; no-break space
|
|
153 (modify-syntax-entry ?,bW(B "_")
|
|
154 (modify-syntax-entry ?,bw(B "_")
|
|
155
|
428
|
156 ;; For syntax of Latin-2
|
|
157 (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)
|
|
158 do (modify-syntax-entry c "w"))
|
|
159
|
|
160 (loop for c from 62 to 126
|
|
161 do (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w"))
|
|
162
|
|
163 (modify-syntax-entry (make-char 'latin-iso8859-2 32) "w") ; no-break space
|
|
164 (modify-syntax-entry ?,BW(B ".")
|
|
165 (modify-syntax-entry ?,Bw(B ".")
|
|
166
|
440
|
167 ;; For syntax of Latin-3
|
|
168 (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)
|
|
169 do (modify-syntax-entry c "w"))
|
|
170
|
|
171 (loop for c from 64 to 126
|
|
172 do (modify-syntax-entry (make-char 'latin-iso8859-3 c) "w"))
|
|
173
|
|
174 (modify-syntax-entry (make-char 'latin-iso8859-3 32) "w") ; no-break space
|
|
175 (modify-syntax-entry ?,CW(B ".")
|
|
176 (modify-syntax-entry ?,Cw(B ".")
|
|
177
|
|
178 ;; For syntax of Latin-4
|
|
179 (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)
|
|
180 do (modify-syntax-entry c "w"))
|
|
181
|
|
182 (loop for c from 64 to 126
|
|
183 do (modify-syntax-entry (make-char 'latin-iso8859-4 c) "w"))
|
|
184
|
|
185 (modify-syntax-entry (make-char 'latin-iso8859-4 32) "w") ; no-break space
|
|
186 (modify-syntax-entry ?,DW(B ".")
|
|
187 (modify-syntax-entry ?,Dw(B ".")
|
|
188
|
|
189
|
428
|
190 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
191 ;;; EUROPEANS
|
|
192 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
193
|
|
194
|
|
195 ;; Latin-1 (ISO-8859-1)
|
|
196
|
|
197 ;; (make-coding-system
|
|
198 ;; 'iso-latin-1 2 ?1
|
|
199 ;; "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
|
|
200 ;; '(ascii latin-iso8859-1 nil nil
|
|
201 ;; nil nil nil nil nil nil nil nil nil nil nil nil t)
|
|
202 ;; '((safe-charsets ascii latin-iso8859-1)
|
|
203 ;; (mime-charset . iso-8859-1)))
|
|
204
|
|
205 ;; (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
|
|
206 ;; (define-coding-system-alias 'latin-1 'iso-latin-1)
|
|
207
|
|
208 ;; (make-coding-system
|
|
209 ;; 'compound-text 2 ?1
|
|
210 ;; "ISO 2022 based encoding used in inter client communication of X"
|
|
211 ;; '((ascii t) (latin-iso8859-1 t) nil nil
|
|
212 ;; nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)
|
|
213 ;; '((safe-charsets . t)))
|
|
214
|
|
215 ;; (define-coding-system-alias 'ctext 'compound-text)
|
|
216
|
771
|
217 ;; "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!"
|
428
|
218
|
|
219
|
728
|
220 ;; Latin-9 (ISO-8859-15)
|
|
221 ;; Latin-1 plus Euro, plus a few accented characters
|
|
222
|
|
223 ;; (make-charset 'latin-iso8859-15
|
|
224 ;; "Latin-9, aka Latin-1 with Euro etc"
|
|
225 ;; '(short-name "Latin 9"
|
|
226 ;; long-name "Latin-9 (typically GR of ISO 8859/15)"
|
|
227 ;; registry "iso8859-15"
|
|
228 ;; dimension 1
|
|
229 ;; columns 1
|
|
230 ;; chars 96
|
|
231 ;; final ?b ; ISO-IR-203
|
|
232 ;; graphic 1
|
|
233 ;; direction l2r))
|
|
234
|
|
235 (make-coding-system
|
|
236 'iso-8859-15 'iso2022
|
|
237 "ISO 4873 conforming 8-bit code (ASCII + Latin 9; aka Latin-1 with Euro)"
|
|
238 `(mnemonic "MIME/Ltn-9" ; bletch
|
|
239 eol-type nil
|
|
240 charset-g0 ascii
|
|
241 charset-g1 latin-iso8859-15
|
|
242 charset-g2 t
|
|
243 charset-g3 t
|
|
244 ))
|
|
245
|
|
246
|
428
|
247 ;; Latin-2 (ISO-8859-2)
|
|
248
|
|
249 ;; (make-coding-system
|
|
250 ;; 'iso-latin-2 2 ?2
|
|
251 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
|
|
252 ;; '(ascii latin-iso8859-2 nil nil
|
|
253 ;; nil nil nil nil nil nil nil)
|
|
254 ;; '((safe-charsets ascii latin-iso8859-2)
|
|
255 ;; (mime-charset . iso-8859-2)))
|
|
256
|
|
257 ;; (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
|
|
258 ;; (define-coding-system-alias 'latin-2 'iso-latin-2)
|
|
259
|
|
260 (make-coding-system
|
771
|
261 'iso-8859-2 'iso2022 "ISO-8859-2 (Latin-2)"
|
428
|
262 '(charset-g0 ascii
|
|
263 charset-g1 latin-iso8859-2
|
|
264 charset-g2 t
|
|
265 charset-g3 t
|
|
266 mnemonic "MIME/Ltn-2"
|
|
267 ))
|
|
268
|
|
269 (provide 'romanian)
|
|
270
|
|
271 ;; Czech support originally from czech.el
|
778
|
272 ;; Author: Milan Zamazal <pdm@zamazal.org>
|
|
273 ;; Maintainer (FSF): Pavel Jan,Am(Bk <Pavel@Janik.cz>
|
|
274 ;; Maintainer (for XEmacs): David Sauer <davids@penguin.cz>
|
428
|
275
|
771
|
276 (provide 'czech)
|
428
|
277
|
771
|
278 ;; Slovak support originally from slovak.el
|
|
279 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>,
|
|
280 ;; Milan Zamazal <pdm@fi.muni.cz>
|
|
281 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
|
428
|
282
|
771
|
283 (provide 'slovenian)
|
428
|
284
|
|
285
|
|
286 ;; Latin-3 (ISO-8859-3)
|
|
287
|
|
288 ;; (make-coding-system
|
|
289 ;; 'iso-latin-3 2 ?3
|
|
290 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
|
|
291 ;; '(ascii latin-iso8859-3 nil nil
|
|
292 ;; nil nil nil nil nil nil nil)
|
|
293 ;; '((safe-charsets ascii latin-iso8859-3)
|
|
294 ;; (mime-charset . iso-8859-3)))
|
|
295
|
|
296 ;; (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
|
|
297 ;; (define-coding-system-alias 'latin-3 'iso-latin-3)
|
|
298
|
|
299 (make-coding-system
|
771
|
300 'iso-8859-3 'iso2022 "ISO-8859-3 (Latin-3)"
|
428
|
301 '(charset-g0 ascii
|
|
302 charset-g1 latin-iso8859-3
|
|
303 charset-g2 t
|
|
304 charset-g3 t
|
|
305 mnemonic "MIME/Ltn-3"
|
|
306 ))
|
|
307
|
|
308
|
|
309 ;; Latin-4 (ISO-8859-4)
|
|
310
|
|
311 ;; (make-coding-system
|
|
312 ;; 'iso-latin-4 2 ?4
|
|
313 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
|
|
314 ;; '(ascii latin-iso8859-4 nil nil
|
|
315 ;; nil nil nil nil nil nil nil)
|
|
316 ;; '((safe-charsets ascii latin-iso8859-4)
|
|
317 ;; (mime-charset . iso-8895-4)))
|
|
318
|
|
319 ;; (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
|
|
320 ;; (define-coding-system-alias 'latin-4 'iso-latin-4)
|
|
321
|
|
322 (make-coding-system
|
771
|
323 'iso-8859-4 'iso2022 "ISO-8859-4 (Latin-4)"
|
428
|
324 '(charset-g0 ascii
|
|
325 charset-g1 latin-iso8859-4
|
|
326 charset-g2 t
|
|
327 charset-g3 t
|
|
328 mnemonic "MIME/Ltn-4"
|
|
329 ))
|
|
330
|
|
331
|
|
332 ;; Latin-5 (ISO-8859-9)
|
|
333
|
|
334 ;; (make-coding-system
|
|
335 ;; 'iso-latin-5 2 ?9
|
|
336 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
|
|
337 ;; '(ascii latin-iso8859-9 nil nil
|
|
338 ;; nil nil nil nil nil nil nil)
|
|
339 ;; '((safe-charsets ascii latin-iso8859-9)
|
|
340 ;; (mime-charset . iso-8859-9)))
|
|
341
|
|
342 ;; (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
|
|
343 ;; (define-coding-system-alias 'latin-5 'iso-latin-5)
|
|
344
|
|
345 (make-coding-system
|
771
|
346 'iso-8859-9 'iso2022 "ISO-8859-9 (Latin-5)"
|
428
|
347 '(charset-g0 ascii
|
|
348 charset-g1 latin-iso8859-9
|
|
349 charset-g2 t
|
|
350 charset-g3 t
|
|
351 mnemonic "MIME/Ltn-5"
|
|
352 ))
|
|
353
|
771
|
354 (loop for ((charset codesys default-input nice-charset-1 nice-charset-2
|
|
355 supported-langs ;; a list if the doc string is replaced
|
|
356 ;; entirely
|
|
357 )
|
|
358 langenvs) in
|
|
359 '(
|
|
360 ((latin-iso8859-1 iso-8859-1 "latin-1-prefix" "Latin-1" "ISO-8859-1"
|
|
361 " Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
|
|
362 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.")
|
|
363 (("Danish" "da")
|
|
364 ("Dutch" "nl" "TUTORIAL.nl")
|
|
365 ("Faeroese")
|
|
366 ("Finnish" "fi")
|
|
367 ("French" "fr" "TUTORIAL.fr" "Bonjour, ,Ag(Ba va?")
|
|
368 ("German" "de" "TUTORIAL.de" "\
|
428
|
369 German (Deutsch Nord) Guten Tag
|
771
|
370 German (Deutsch S,A|(Bd) Gr,A|_(B Gott"
|
|
371 "german-postfix")
|
|
372 ("Icelandic" "is")
|
|
373 ("Irish" "ga")
|
|
374 ("Italian" "it")
|
|
375 ("Norwegian" "no" "TUTORIAL.no")
|
|
376 ("Portuguese" "pt" nil "Bem-vindo! Tudo bem?")
|
|
377 ("Spanish" "es" "TUTORIAL.es" ",A!(BHola!")
|
821
|
378 ("Swedish" "sv" "TUTORIAL.se" "Hej!")))
|
771
|
379 ((latin-iso8859-15 iso-8859-15 "latin-1-prefix" ;; #### FIXME
|
|
380 "Latin-9" "ISO-8859-15"
|
|
381 ("\
|
|
382 This language environment is a generic one for Latin-9 (ISO-8859-15)
|
|
383 character set which supports the Euro sign and the following languages
|
|
384 (they use the Latin-1 character set by default):
|
|
385 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
|
|
386 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
|
|
387 Each also has its own specific language environment."))
|
|
388 ())
|
|
389 ((latin-iso8859-2 iso-8859-2 "latin-2-prefix" "Latin-2" "ISO-8859-2"
|
|
390 " Albanian, Czech, English, German, Hungarian, Polish, Romanian,
|
|
391 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
|
|
392 and Swedish.")
|
|
393 (("Albanian" nil)
|
|
394 ("Croatian" ("hrvatski" "hr") "TUTORIAL.hr")
|
|
395 ("Czech" ("cs" "cz") "TUTORIAL.cs" "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!"
|
|
396 "latin-2-postfix")
|
|
397 ("Hungarian" ("hungarian" "hu"))
|
|
398 ("Polish" "po" "TUTORIAL.pl")
|
|
399 ("Romanian" "ro" "TUTORIAL.ro" "Bun,Bc(B ziua, bine a,B~(Bi venit!"
|
|
400 "latin-2-postfix")
|
|
401 ("Serbian" "sr")
|
|
402 ("Slovak" "sk" "TUTORIAL.sk" "Prajeme V,Ba(Bm pr,Bm(Bjemn,B}(B de,Br(B!"
|
|
403 ;; !!#### FSF "slovak"
|
|
404 "latin-2-postfix")
|
|
405 ("Slovenian" "sl" "TUTORIAL.sl" ",B.(Belimo vam uspe,B9(Ben dan!"
|
|
406 "latin-2-postfix")
|
|
407 ("Sorbian" nil)))
|
|
408 ((latin-iso8859-3 iso-8859-3 "latin-3-prefix" "Latin-3" "ISO-8859-3"
|
|
409 " Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
|
|
410 German, Italian, Maltese, Spanish, and Turkish.")
|
|
411 (("Afrikaans" "af")
|
|
412 ("Catalan" ("catalan" "ca"))
|
|
413 ("Esperanto")
|
|
414 ("Galician")
|
|
415 ("Maltese")))
|
|
416 ((latin-iso8859-4 iso-8859-4 "latin-4-prefix" "Latin-4" "ISO-8859-4"
|
|
417 " Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
|
|
418 Latvian, Lithuanian, and Norwegian.")
|
|
419 (("Estonian" "et")
|
|
420 ("Greenlandic")
|
|
421 ("Lappish")
|
|
422 ("Latvian" "lv")
|
|
423 ("Lithuanian" "li")))
|
|
424 ((latin-iso8859-5 iso-8859-9 "latin-5-prefix" "Latin-5" "ISO-8859-9")
|
|
425 (("Turkish" "tr"))))
|
|
426 do
|
|
427 (set-language-info-alist
|
|
428 nice-charset-1
|
|
429 `((charset ascii ,charset)
|
|
430 (coding-system ,codesys)
|
|
431 (coding-priority ,codesys)
|
|
432 (documentation . ,(if (listp supported-langs) (car supported-langs)
|
|
433 (format "\
|
|
434 This language environment is a generic one for %s (%s)
|
|
435 character set which supports the following languages (not all of them may
|
|
436 use this character set by default):
|
|
437 %s
|
|
438 Each also has its own specific language environment."
|
|
439 nice-charset-1 nice-charset-2
|
|
440 supported-langs))))
|
|
441 '("European"))
|
|
442 (loop for (name locale tutorial sample-text input-method) in langenvs
|
|
443 do
|
|
444 (set-language-info-alist
|
|
445 name
|
|
446 `((charset ascii ,charset)
|
|
447 (coding-system ,codesys)
|
|
448 (coding-priority ,codesys)
|
|
449 ,@(if locale `((locale . ,locale)))
|
|
450 ,@(if tutorial `((tutorial . ,tutorial)))
|
|
451 ,@(if sample-text `((sample-text . ,sample-text)))
|
|
452 (input-method . ,(or input-method default-input))
|
|
453 (documentation . ,(format "\
|
|
454 This language environment supports %s using the Latin-1 (ISO-8859-1)
|
|
455 character set. Languages supported by Latin-1 are Danish, Dutch, English,
|
|
456 Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian,
|
|
457 Portuguese, Spanish, and Swedish. The various language environments for
|
|
458 these languages are similar to the Latin-1 environment, but typically have
|
|
459 their own locale specified (for subprocesses and for selection of the
|
|
460 correct language environment at startup), and may have their own tutorials
|
|
461 and/or a different input method."
|
|
462 name)))
|
|
463 '("European"))
|
|
464 ))
|
428
|
465
|
|
466 ;;; european.el ends here
|