annotate lisp/language/european.el @ 215:1f0dabaa0855 r20-4b6

Import from CVS: tag r20-4b6
author cvs
date Mon, 13 Aug 2007 10:07:35 +0200
parents 41ff10fd062f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
1 ;;; european.el --- Support for European languages
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
2
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
4 ;; Licensed to the Free Software Foundation.
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
6
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
7 ;; Keywords: multilingual, European
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
8
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
9 ;; This file is part of XEmacs.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
10
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
11 ;; XEmacs is free software; you can redistribute it and/or modify it
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
12 ;; under the terms of the GNU General Public License as published by
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
14 ;; any later version.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
15
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
16 ;; XEmacs is distributed in the hope that it will be useful, but
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
19 ;; General Public License for more details.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
20
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
24 ;; 02111-1307, USA.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
25
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
26 ;;; Commentary:
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
27
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
28 ;; For Europeans, five character sets ISO8859-1,2,3,4,9 are supported.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
29
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
30 ;;; Code:
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
31
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
32 ;; For syntax of Latin-1 characters.
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
33 (loop for c from 64 to 127 ; from ',A@(B' to ',A(B'
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
34 do (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
35
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
36 (modify-syntax-entry (make-char 'latin-iso8859-1 32) "w") ; no-break space
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
37 (modify-syntax-entry ?,AW(B "_")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
38 (modify-syntax-entry ?,Aw(B "_")
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
39
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
40 ;; For syntax of Latin-2
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
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)
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
42 do (modify-syntax-entry c "w"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
43
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
44 (loop for c from 62 to 126
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
45 do (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
46
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
47 (modify-syntax-entry (make-char 'latin-iso8859-2 32) "w") ; no-break space
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
48 (modify-syntax-entry ?,BW(B ".")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
49 (modify-syntax-entry ?,Bw(B ".")
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
50
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
51 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
52 ;;; EUROPEANS
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
53 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
54
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
55 ;; (define-prefix-command 'describe-european-environment-map)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
56 ;; (define-key-after describe-language-environment-map [European]
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
57 ;; '("European" . describe-european-environment-map)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
58 ;; t)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
59
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
60 ;; (define-prefix-command 'setup-european-environment-map)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
61 ;; (define-key-after setup-language-environment-map [European]
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
62 ;; '("European" . setup-european-environment-map)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
63 ;; t)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
64
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
65 ;; Setup for LANGAUGE which uses one-byte 8-bit CHARSET, one-byte
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
66 ;; 8-bit CODING-SYSTEM, and INPUT-METHOD.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
67 (defun setup-8-bit-environment (language charset coding-system input-method)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
68 (setup-english-environment)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
69 (set-default-coding-systems coding-system)
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
70 ;; (setq coding-category-iso-8-1 coding-system
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
71 ;; coding-category-iso-8-2 coding-system)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
72 (set-coding-category-system 'iso-8-1 coding-system)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
73 (set-coding-category-system 'iso-8-2 coding-system)
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
74
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
75 ;; (if charset
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
76 ;; (let ((nonascii-offset (- (make-char charset) 128)))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
77 ;; ;; Set up for insertion of characters in this character set
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
78 ;; ;; when codes 0200 - 0377 are typed in.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
79 ;; (setq nonascii-insert-offset nonascii-offset)))
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
80
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
81 (if input-method
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
82 (setq default-input-method input-method))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
83
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
84 ;; If this is a Latin-N character set, set up syntax for it in
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
85 ;; single-byte mode. We can't use require because the file
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
86 ;; must be eval'd each time in case we change from one Latin-N to another.
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
87 ;; (if (string-match "^Latin-\\([1-9]\\)$" language)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
88 ;; (load (downcase language) nil t))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
89 )
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
90
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
91 ;; Latin-1 (ISO-8859-1)
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
92
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
93 ;; (make-coding-system
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
94 ;; 'iso-latin-1 2 ?1
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
95 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-1, Compound Text Encoding)"
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
96 ;; '((ascii t) (latin-iso8859-1 t) nil nil
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
97 ;; nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
98
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
99 ;; (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
100 ;; (define-coding-system-alias 'latin-1 'iso-latin-1)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
101 ;; (define-coding-system-alias 'ctext 'iso-latin-1)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
102
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
103 (defun setup-latin1-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
104 "Set up multilingual environment (MULE) for European Latin-1 users."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
105 (interactive)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
106 (setup-8-bit-environment "Latin-1" 'latin-iso8859-1 'iso-8859-1
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
107 "latin-1-prefix"))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
108
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
109 (set-language-info-alist
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
110 "Latin-1" '((setup-function . (setup-latin1-environment
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
111 . setup-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
112 (charset . (ascii latin-iso8859-1))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
113 (coding-system . (iso-8859-1))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
114 (sample-text
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
115 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
116 (documentation . ("\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
117 These languages are supported with the Latin-1 (ISO-8859-1) character set:
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
118 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
119 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
120 " . describe-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
121 ))
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
122
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
123 (set-language-info-alist
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
124 "German" '((setup-function . (setup-latin1-environment
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
125 . setup-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
126 (charset . (ascii latin-iso8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
127 (coding-system . (iso-8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
128 (tutorial . "TUTORIAL.de")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
129 (sample-text
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
130 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
131 (documentation . ("\
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
132 These languages are supported with the Latin-1 (ISO-8859-1) character set:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
133 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
134 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
135 " . describe-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
136 ))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
137
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
138 (set-language-info-alist
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
139 "French" '((setup-function . (setup-latin1-environment
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
140 . setup-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
141 (charset . (ascii latin-iso8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
142 (coding-system . (iso-8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
143 (tutorial . "TUTORIAL.fr")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
144 (sample-text
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
145 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
146 (documentation . ("\
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
147 These languages are supported with the Latin-1 (ISO-8859-1) character set:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
148 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
149 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
150 " . describe-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
151 ))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
152
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
153 (set-language-info-alist
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
154 "Norwegian" '((setup-function . (setup-latin1-environment
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
155 . setup-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
156 (charset . (ascii latin-iso8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
157 (coding-system . (iso-8859-1))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
158 (tutorial . "TUTORIAL.no")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
159 (sample-text
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
160 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
161 (documentation . ("\
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
162 These languages are supported with the Latin-1 (ISO-8859-1) character set:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
163 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
164 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
165 " . describe-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
166 ))
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
167
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
168 ;; Latin-2 (ISO-8859-2)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
169
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
170 ;; (make-coding-system
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
171 ;; 'iso-latin-2 2 ?2
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
172 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
173 ;; '((ascii t) (latin-iso8859-2 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
174 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
175
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
176 ;; (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
177 ;; (define-coding-system-alias 'latin-2 'iso-latin-2)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
178
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
179 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
180 'iso-8859-2 'iso2022 "MIME ISO-8859-2"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
181 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
182 charset-g1 latin-iso8859-2
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
183 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
184 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
185 mnemonic "MIME/Ltn-2"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
186 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
187
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
188 (defun setup-latin2-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
189 "Set up multilingual environment (MULE) for European Latin-2 users."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
190 (interactive)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
191 (setup-8-bit-environment "Latin-2" 'latin-iso8859-2 'iso-8859-2
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
192 "latin-2-prefix"))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
193
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
194 (set-language-info-alist
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
195 "Latin-2" '((setup-function . (setup-latin2-environment
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
196 . setup-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
197 (charset . (ascii latin-iso8859-2))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
198 (coding-system . (iso-8859-2))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
199 (documentation . ("\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
200 These languages are supported with the Latin-2 (ISO-8859-2) character set:
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
201 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
202 Serbian, Croatian, Slovak, Slovene, and Swedish.
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
203 " . describe-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
204 ))
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
205
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
206 (set-language-info-alist
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
207 "Croatian" '((setup-function . (setup-latin2-environment
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
208 . setup-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
209 (charset . (ascii latin-iso8859-2))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
210 (tutorial . "TUTORIAL.hr")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
211 (coding-system . (iso-8859-2))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
212 (documentation . ("\
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
213 These languages are supported with the Latin-2 (ISO-8859-2) character set:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
214 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
215 Serbian or Croatian, Slovak, Slovene, and Swedish.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
216 " . describe-european-environment-map))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 197
diff changeset
217 ))
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
218
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
219 (set-language-info-alist
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
220 "Polish" '((setup-function . (setup-latin2-environment
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
221 . setup-european-environment-map))
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
222 (charset . (ascii latin-iso8859-2))
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
223 (tutorial . "TUTORIAL.pl")
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
224 (coding-system . (iso-8859-2))
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
225 (documentation . ("\
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
226 These languages are supported with the Latin-2 (ISO-8859-2) character set:
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
227 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
228 Serbian or Croatian, Slovak, Slovene, and Swedish.
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
229 " . describe-european-environment-map))
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
230 ))
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
231
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
232 ;; Latin-3 (ISO-8859-3)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
233
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
234 ;; (make-coding-system
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
235 ;; 'iso-latin-3 2 ?3
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
236 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
237 ;; '((ascii t) (latin-iso8859-3 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
238 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
239
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
240 ;; (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
241 ;; (define-coding-system-alias 'latin-3 'iso-latin-3)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
242
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
243 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
244 'iso-8859-3 'iso2022 "MIME ISO-8859-3"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
245 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
246 charset-g1 latin-iso8859-3
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
247 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
248 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
249 mnemonic "MIME/Ltn-3"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
250 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
251
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
252 (defun setup-latin3-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
253 "Set up multilingual environment (MULE) for European Latin-3 users."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
254 (interactive)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
255 (setup-8-bit-environment "Latin-3" 'latin-iso8859-3 'iso-8859-3
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
256 "latin-3-prefix"))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
257
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
258 (set-language-info-alist
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
259 "Latin-3" '((setup-function . (setup-latin3-environment
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
260 . setup-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
261 (charset . (ascii latin-iso8859-3))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
262 (coding-system . (iso-8859-3))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
263 (documentation . ("\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
264 These languages are supported with the Latin-3 (ISO-8859-3) character set:
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
265 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
266 German, Italian, Maltese, Spanish, and Turkish.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
267 " . describe-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
268 ))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
269
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
270 ;; Latin-4 (ISO-8859-4)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
271
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
272 ;; (make-coding-system
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
273 ;; 'iso-latin-4 2 ?4
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
274 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
275 ;; '((ascii t) (latin-iso8859-4 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
276 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
277
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
278 ;; (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
279 ;; (define-coding-system-alias 'latin-4 'iso-latin-4)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
280
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
281 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
282 'iso-8859-4 'iso2022 "MIME ISO-8859-4"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
283 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
284 charset-g1 latin-iso8859-4
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
285 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
286 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
287 mnemonic "MIME/Ltn-4"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
288 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
289
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
290 (defun setup-latin4-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
291 "Set up multilingual environment (MULE) for European Latin-4 users."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
292 (interactive)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
293 (setup-8-bit-environment "Latin-4" 'latin-iso8859-4 'iso-8859-4
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
294 "latin-4-prefix"))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
295
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
296 (set-language-info-alist
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
297 "Latin-4" '((setup-function . (setup-latin4-environment
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
298 . setup-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
299 (charset . (ascii latin-iso8859-4))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
300 (coding-system . (iso-8859-4))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
301 (documentation . ("\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
302 These languages are supported with the Latin-4 (ISO-8859-4) character set:
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
303 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
304 Latvian, Lithuanian, and Norwegian.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
305 " . describe-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
306 ))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
307
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
308 ;; Latin-5 (ISO-8859-9)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
309
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
310 ;; (make-coding-system
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
311 ;; 'iso-latin-5 2 ?9
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
312 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
313 ;; '((ascii t) (latin-iso8859-9 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
314 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
315
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
316 ;; (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
317 ;; (define-coding-system-alias 'latin-5 'iso-latin-5)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
318
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
319 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
320 'iso-8859-9 'iso2022 "MIME ISO-8859-9"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
321 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
322 charset-g1 latin-iso8859-9
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
323 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
324 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
325 mnemonic "MIME/Ltn-5"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
326 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
327
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
328 (defun setup-latin5-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
329 "Set up multilingual environment (MULE) for European Latin-5 users."
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
330 (interactive)
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
331 (setup-8-bit-environment "Latin-5" 'latin-iso8859-9 'iso-8859-5
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
332 "latin-5-prefix"))
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
333
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
334 (set-language-info-alist
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
335 "Latin-5" '((setup-function . (setup-latin5-environment
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
336 . setup-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
337 (charset . (ascii latin-iso8859-9))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
338 (coding-system . (iso-8859-5))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
339 (documentation . ("\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
340 These languages are supported with the Latin-5 (ISO-8859-9) character set.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
341 " . describe-european-environment-map))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
342 ))
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
343
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
344 ;; (defun setup-european-environment ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
345 ;; "Setup multilingual environment (MULE) for European languages users.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
346 ;; It actually reset MULE to the default status, and
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
347 ;; set quail-latin-1 as the default input method to be selected.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
348 ;; See also the documentation of setup-english-environment."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
349 ;; (setup-english-environment)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
350 ;; (setq default-input-method '("European" . "quail-latin-1")))
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
351
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
352 ;; (defun describe-european-support ()
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
353 ;; "Describe how Emacs support European languages."
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
354 ;; (interactive)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
355 ;; (describe-language-support-internal "European"))
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
356
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
357 ;; (set-language-info-alist
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
358 ;; "European" '((setup-function . setup-european-environment)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
359 ;; (describe-function . describe-european-support)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
360 ;; (charset . (ascii latin-iso8859-1 latin-iso8859-2
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
361 ;; latin-iso8859-3 latin-iso8859-4 latin-iso8859-9))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
362 ;; (coding-system . (iso-8859-1 iso-8859-2 iso-8859-3
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
363 ;; iso-8859-4 iso-8859-9))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
364 ;; (sample-text
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
365 ;; . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
366 ;; (documentation . "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
367 ;; Almost all of European languages are supported by the character sets and
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
368 ;; coding systems listed below.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
369 ;; To input them, LEIM (Libraries for Emacs Input Methods) should have been
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
370 ;; installed.")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 171
diff changeset
371 ;; ))
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
372
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
373 ;;; european.el ends here