annotate lisp/mule/european.el @ 422:95016f13131a r21-2-19

Import from CVS: tag r21-2-19
author cvs
date Mon, 13 Aug 2007 11:25:01 +0200
parents 697ef44129c6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
6
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
7 ;; Keywords: multilingual, European
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
8
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
9 ;; This file is part of XEmacs.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
10
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
11 ;; XEmacs is free software; you can redistribute it and/or modify it
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
12 ;; under the terms of the GNU General Public License as published by
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
14 ;; any later version.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
15
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
16 ;; XEmacs is distributed in the hope that it will be useful, but
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
19 ;; General Public License for more details.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
20
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
24 ;; 02111-1307, USA.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
25
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
26 ;;; Commentary:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
27
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
28 ;; For Europeans, five character sets ISO8859-1,2,3,4,9 are supported.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
29
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
30 ;;; Code:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
31
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
32 ;; For syntax of Latin-1 characters.
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
33 (loop for c from 64 to 127 ; from ',A@(B' to ',A(B'
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
34 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
35
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
36 (modify-syntax-entry (make-char 'latin-iso8859-1 32) "w") ; no-break space
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
37 (modify-syntax-entry ?,AW(B "_")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
38 (modify-syntax-entry ?,Aw(B "_")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
39
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
40 ;; For syntax of Latin-2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
41 (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)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
42 do (modify-syntax-entry c "w"))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
43
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
44 (loop for c from 62 to 126
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
45 do (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w"))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
46
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
47 (modify-syntax-entry (make-char 'latin-iso8859-2 32) "w") ; no-break space
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
48 (modify-syntax-entry ?,BW(B ".")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
49 (modify-syntax-entry ?,Bw(B ".")
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
50
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
51 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
52 ;;; EUROPEANS
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
53 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
54
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
55
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
56 ;; Latin-1 (ISO-8859-1)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
57
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
58 ;; (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
59 ;; 'iso-latin-1 2 ?1
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
60 ;; "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
61 ;; '(ascii latin-iso8859-1 nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
62 ;; nil nil nil nil nil nil nil nil nil nil nil nil t)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
63 ;; '((safe-charsets ascii latin-iso8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
64 ;; (mime-charset . iso-8859-1)))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
65
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
66 ;; (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
67 ;; (define-coding-system-alias 'latin-1 'iso-latin-1)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
68
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
69 ;; (make-coding-system
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
70 ;; 'compound-text 2 ?1
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
71 ;; "ISO 2022 based encoding used in inter client communication of X"
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
72 ;; '((ascii t) (latin-iso8859-1 t) nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
73 ;; nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
74 ;; '((safe-charsets . t)))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
75
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
76 ;; (define-coding-system-alias 'ctext 'compound-text)
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
77
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
78 (defun setup-latin1-environment ()
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
79 "Set up multilingual environment (MULE) for European Latin-1 users."
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
80 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
81 (set-language-environment "Latin-1"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
82
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
83 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
84 "Latin-1" '((charset ascii latin-iso8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
85 (coding-system iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
86 (coding-priority iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
87 (input-method . "latin-1-prefix")
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
88 (sample-text
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
89 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
90 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
91 This language environment is a generic one for Latin-1 (ISO-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
92 character set which supports the following languages:
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
93 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
94 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
95 We also have a German specific language environment \"German\"."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
96 '("European"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
97
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
98 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
99 "French" '((charset ascii latin-iso8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
100 (coding-system iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
101 (coding-priority iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
102 (tutorial . "TUTORIAL.fr")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
103 (sample-text
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
104 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
105 (documentation . ("\
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
106 These languages are supported with the Latin-1 (ISO-8859-1) character set:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
107 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
108 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
109 ")))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
110 '("European"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
111
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
112 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
113 "Norwegian" '((charset ascii latin-iso8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
114 (coding-system iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
115 (coding-priority iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
116 (tutorial . "TUTORIAL.no")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
117 (sample-text
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
118 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
119 (documentation . ("\
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
120 These languages are supported with the Latin-1 (ISO-8859-1) character set:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
121 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
122 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
123 ")))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
124 '("European"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
125
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
126
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
127 ;; Latin-2 (ISO-8859-2)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
128
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
129 ;; (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
130 ;; 'iso-latin-2 2 ?2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
131 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
132 ;; '(ascii latin-iso8859-2 nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
133 ;; nil nil nil nil nil nil nil)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
134 ;; '((safe-charsets ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
135 ;; (mime-charset . iso-8859-2)))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
136
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
137 ;; (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
138 ;; (define-coding-system-alias 'latin-2 'iso-latin-2)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
139
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
140 (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
141 'iso-8859-2 'iso2022 "MIME ISO-8859-2"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
142 '(charset-g0 ascii
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
143 charset-g1 latin-iso8859-2
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
144 charset-g2 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
145 charset-g3 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
146 mnemonic "MIME/Ltn-2"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
147 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
148
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
149 (defun setup-latin2-environment ()
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
150 "Set up multilingual environment (MULE) for European Latin-2 users."
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
151 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
152 (set-language-environment "Latin-2"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
153
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
154 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
155 "Latin-2" '((charset ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
156 (coding-system iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
157 (coding-priority iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
158 (input-method . "latin-2-prefix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
159 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
160 This language environment is a generic one for Latin-2 (ISO-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
161 character set which supports the following languages:
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
162 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
163 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
164 and Swedish."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
165 '("European"))
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
166
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
167 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
168 "Croatian" '((charset ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
169 (coding-system iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
170 (coding-priority iso-8859-2)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
171 (tutorial . "TUTORIAL.hr")
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
172 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
173 This language environment is a generic one for Latin-2 (ISO-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
174 character set which supports the following languages:
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
175 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
176 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
177 and Swedish."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
178 '("European"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
179
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
180 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
181 "Polish" '((charset ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
182 (coding-system iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
183 (coding-priority iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
184 (tutorial . "TUTORIAL.pl")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
185 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
186 This language environment is a generic one for Latin-2 (ISO-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
187 character set which supports the following languages:
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
188 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
189 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
190 and Swedish."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
191 '("European"))
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
192
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
193 ;; Romanian support originally from romanian.el
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
194
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
195 (defun setup-romanian-environment ()
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
196 "Setup multilingual environment (MULE) for Romanian."
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
197 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
198 (set-language-environment "Romanian"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
199
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
200 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
201 "Romanian" '((charset ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
202 (coding-system iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
203 (coding-priority iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
204 (input-method . "latin-2-postfix")
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
205 (tutorial . "TUTORIAL.ro")
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
206 (sample-text . "Bun,Bc(B ziua, bine a,B~(Bi venit!")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
207 (documentation . t))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
208 '("European"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
209
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
210 (provide 'romanian)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
211
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
212 ;; Czech support originally from czech.el
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
213 ;; Author: Milan Zamazal <pdm@fi.muni.cz>
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
214 ;; Maintainer(for XEmacs): David Sauer <davids@penguin.cz>
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
215
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
216 (defun setup-czech-environment ()
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
217 "Set up multilingual environment (MULE) for czech users."
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
218 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
219 (set-language-environment "Czech"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
220
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
221 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
222 "Czech" '((charset ascii latin-iso8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
223 (coding-system iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
224 (coding-priority iso-8859-2)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
225 (tutorial . "TUTORIAL.cs")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
226 (sample-text . "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
227 (documentation . t))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
228 '("European"))
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
229
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
230 (provide 'czech)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 333
diff changeset
231
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
232
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
233 ;; Latin-3 (ISO-8859-3)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
234
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
235 ;; (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
236 ;; 'iso-latin-3 2 ?3
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
237 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
238 ;; '(ascii latin-iso8859-3 nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
239 ;; nil nil nil nil nil nil nil)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
240 ;; '((safe-charsets ascii latin-iso8859-3)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
241 ;; (mime-charset . iso-8859-3)))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
242
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
243 ;; (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
244 ;; (define-coding-system-alias 'latin-3 'iso-latin-3)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
245
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
246 (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
247 'iso-8859-3 'iso2022 "MIME ISO-8859-3"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
248 '(charset-g0 ascii
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
249 charset-g1 latin-iso8859-3
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
250 charset-g2 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
251 charset-g3 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
252 mnemonic "MIME/Ltn-3"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
253 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
254
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
255 (defun setup-latin3-environment ()
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
256 "Set up multilingual environment (MULE) for European Latin-3 users."
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
257 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
258 (set-language-environment "Latin-3"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
259
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
260 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
261 "Latin-3" '((charset ascii latin-iso8859-3)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
262 (coding-system iso-8859-3)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
263 (coding-priority iso-8859-3)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
264 (input-method . "latin-3-prefix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
265 (documentation . "\
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
266 These languages are supported with the Latin-3 (ISO-8859-3) character set:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
267 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
268 German, Italian, Maltese, Spanish, and Turkish."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
269 '("European"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
270
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
271
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
272 ;; Latin-4 (ISO-8859-4)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
273
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
274 ;; (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
275 ;; 'iso-latin-4 2 ?4
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
276 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
277 ;; '(ascii latin-iso8859-4 nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
278 ;; nil nil nil nil nil nil nil)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
279 ;; '((safe-charsets ascii latin-iso8859-4)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
280 ;; (mime-charset . iso-8895-4)))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
281
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
282 ;; (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
283 ;; (define-coding-system-alias 'latin-4 'iso-latin-4)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
284
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
285 (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
286 'iso-8859-4 'iso2022 "MIME ISO-8859-4"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
287 '(charset-g0 ascii
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
288 charset-g1 latin-iso8859-4
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
289 charset-g2 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
290 charset-g3 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
291 mnemonic "MIME/Ltn-4"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
292 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
293
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
294 (defun setup-latin4-environment ()
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
295 "Set up multilingual environment (MULE) for European Latin-4 users."
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
296 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
297 (set-language-environment "Latin-4"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
298
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
299 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
300 "Latin-4" '((charset ascii latin-iso8859-4)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
301 (coding-system iso-8859-4)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
302 (coding-priority iso-8859-4)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
303 (input-method . "latin-4-prefix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
304 (documentation . "\
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
305 These languages are supported with the Latin-4 (ISO-8859-4) character set:
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
306 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
307 Latvian, Lithuanian, and Norwegian."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
308 '("European"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
309
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
310
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
311 ;; Latin-5 (ISO-8859-9)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
312
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
313 ;; (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
314 ;; 'iso-latin-5 2 ?9
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
315 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
316 ;; '(ascii latin-iso8859-9 nil nil
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
317 ;; nil nil nil nil nil nil nil)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
318 ;; '((safe-charsets ascii latin-iso8859-9)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
319 ;; (mime-charset . iso-8859-9)))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
320
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
321 ;; (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
322 ;; (define-coding-system-alias 'latin-5 'iso-latin-5)
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
323
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
324 (make-coding-system
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
325 'iso-8859-9 'iso2022 "MIME ISO-8859-9"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
326 '(charset-g0 ascii
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
327 charset-g1 latin-iso8859-9
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
328 charset-g2 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
329 charset-g3 t
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
330 mnemonic "MIME/Ltn-5"
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
331 ))
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
332
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
333 (defun setup-latin5-environment ()
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
334 "Set up multilingual environment (MULE) for European Latin-5 users."
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
335 (interactive)
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
336 (set-language-environment "Latin-5"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
337
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
338 (set-language-info-alist
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
339 "Latin-5" '((charset ascii latin-iso8859-9)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
340 (coding-system iso-8859-9)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
341 (coding-priority iso-8859-9)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
342 (input-method . "latin-5-prefix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
343 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
344 These languages are supported with the Latin-5 (ISO-8859-9) character set."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
345 '("European"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
346
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
347
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
348 (defun setup-german-environment ()
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
349 "Set up multilingual environment (MULE) for German users."
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
350 (interactive)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
351 (set-language-environment "German"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
352
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
353 (set-language-info-alist
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
354 "German" '((tutorial . "TUTORIAL.de")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
355 (charset ascii latin-iso8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
356 (coding-system iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
357 (coding-priority iso-8859-1)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
358 (input-method . "german-postfix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
359 (sample-text . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
360 German (Deutsch Nord) Guten Tag
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
361 German (Deutsch S,A|(Bd) Gr,A|_(B Gott")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
362 (documentation . "\
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
363 This language environment is almost the same as Latin-1,
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
364 but default input method is set to \"german-postfix\"."))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
365 '("European"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
366
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
367 (defun setup-slovenian-environment ()
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
368 "Setup multilingual environment (MULE) for Slovenian."
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
369 (interactive)
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
370 (set-language-environment "Slovenian"))
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
371
422
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
372 (set-language-info-alist
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
373 "Slovenian" '((charset . (ascii latin-iso8859-2))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
374 (coding-system . (iso-8859-2))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
375 (coding-priority . (iso-8859-2))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
376 (input-method . "latin-2-postfix")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
377 (tutorial . "TUTORIAL.sl")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
378 (sample-text . ",B.(Belimo vam uspe,B9(Ben dan!")
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
379 (documentation . t))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
380 '("European"))
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
381
95016f13131a Import from CVS: tag r21-2-19
cvs
parents: 412
diff changeset
382 (provide 'slovenian)
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
383
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents:
diff changeset
384 ;;; european.el ends here