annotate lisp/language/european.el @ 191:ecf6ba7b0a10 r20-3b22

Import from CVS: tag r20-3b22
author cvs
date Mon, 13 Aug 2007 09:57:38 +0200
parents 929b76928fce
children acd284d43ca1
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 Free Software Foundation, Inc.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
4 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
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.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
33 (loop for c from 64 to 127 ; from '.AN@' to 'N'
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
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
37 (modify-syntax-entry ?NW "_")
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
38 (modify-syntax-entry ?Nw "_")
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
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
41 (loop for c in '(?.BN! ?N# ?N% ?N& ?N) ?N* ?N+ ?N, ?N. ?N/ ?N1 ?N3 ?N5 ?N6 ?N9 ?N: ?N; ?N<)
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
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
48 (modify-syntax-entry ?NW ".")
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
49 (modify-syntax-entry ?Nw ".")
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
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
55 (define-language-environment 'european
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
56 "European (for Latin-1 through Latin-5)"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
57 (lambda ()
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
58 (set-coding-category-system 'iso-8-designate 'iso-8859-1)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
59 (set-coding-priority-list '(iso-8-designate iso-8-1))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
60 ;;(setq locale-coding-system 'no-conversion) ; iso-8859-1
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
61 (set-default-buffer-file-coding-system 'no-conversion) ; iso-8859-1
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
62 ;;(set-buffer-file-coding-system-for-read 'no-conversion) ; iso-8859-1
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
63 ;;(setq display-coding-system 'iso-8859-1)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
64 ;;(setq keyboard-coding-system 'iso-8859-1)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
65 ;; (setq-default quail-current-package
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
66 ;; (assoc "latin-1" quail-package-alist))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
67 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
68
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
69 ;; (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
70 ;; 'iso-8859-1 2 ?X
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
71 ;; "Coding-system used in X as Compound Text Encoding."
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
72 ;; '((ascii t) (latin-iso8859-1 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
73 ;; nil ascii-eol ascii-cntl))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
74
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
75 ;; CTEXT is an alias for ISO-8859-1
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
76 ;; (define-coding-system-alias 'iso-8859-1 'ctext)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
77
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
78 ;; (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
79 ;; 'iso-8859-2 2 ?2 "MIME ISO-8859-2"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
80 ;; '((ascii t) (latin-iso8859-2 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
81 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
82
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
83 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
84 'iso-8859-2 'iso2022 "MIME ISO-8859-2"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
85 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
86 charset-g1 latin-iso8859-2
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
87 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
88 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
89 mnemonic "MIME/Ltn-2"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
90 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
91
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
92 ;; (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
93 ;; 'iso-8859-3 2 ?3 "MIME ISO-8859-3"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
94 ;; '((ascii t) (latin-iso8859-3 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
95 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
96
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
97 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
98 'iso-8859-3 'iso2022 "MIME ISO-8859-3"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
99 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
100 charset-g1 latin-iso8859-3
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
101 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
102 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
103 mnemonic "MIME/Ltn-3"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
104 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
105
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
106 ;; (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
107 ;; 'iso-8859-4 2 ?4 "MIME ISO-8859-4"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
108 ;; '((ascii t) (latin-iso8859-4 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
109 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
110
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
111 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
112 'iso-8859-4 'iso2022 "MIME ISO-8859-4"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
113 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
114 charset-g1 latin-iso8859-4
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
115 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
116 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
117 mnemonic "MIME/Ltn-4"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
118 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
119
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
120 ;; (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
121 ;; 'iso-8859-9 2 ?9 "MIME ISO-8859-9"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
122 ;; '((ascii t) (latin-iso8859-9 t) nil nil
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
123 ;; nil ascii-eol ascii-cntl nil nil nil nil))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
124
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
125 (make-coding-system
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
126 'iso-8859-9 'iso2022 "MIME ISO-8859-9"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
127 '(charset-g0 ascii
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
128 charset-g1 latin-iso8859-9
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
129 charset-g2 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
130 charset-g3 t
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
131 mnemonic "MIME/Ltn-5"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
132 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
133
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
134 (register-input-method "European"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
135 '("quail-latin-1" quail-use-package "quail/latin"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
136 (register-input-method "European"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
137 '("quail-latin-2" quail-use-package "quail/latin"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
138 (register-input-method "European"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
139 '("quail-latin-3" quail-use-package "quail/latin"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
140 (register-input-method "European"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
141 '("quail-latin-4" quail-use-package "quail/latin"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
142 (register-input-method "European"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
143 '("quail-latin-5" quail-use-package "quail/latin"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
144
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
145 (defun setup-european-environment ()
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
146 "Setup multilingual environment (MULE) for European languages users.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
147 It actually reset MULE to the default status, and
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
148 set quail-latin-1 as the default input method to be selected.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
149 See also the documentation of setup-english-environment."
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
150 (setup-english-environment)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
151 (setq default-input-method '("European" . "quail-latin-1")))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
152
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
153 (defun describe-european-support ()
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
154 "Describe how Emacs support European languages."
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
155 (interactive)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
156 (describe-language-support-internal "European"))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
157
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
158 (set-language-info-alist
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
159 "European" '((setup-function . setup-european-environment)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
160 (describe-function . describe-european-support)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
161 (charset . (ascii latin-iso8859-1 latin-iso8859-2
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
162 latin-iso8859-3 latin-iso8859-4 latin-iso8859-9))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
163 (coding-system . (iso-8859-1 iso-8859-2 iso-8859-3
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
164 iso-8859-4 iso-8859-9))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
165 (sample-text
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
166 . "Hello, Hej, Tere, Hei, Bonjour, Gr.AN|N_ Gott, Ciao, N!Hola!")
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
167 (documentation . "\
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
168 Almost all of European languages are supported by the character sets and
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
169 coding systems listed below.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
170 To input them, LEIM (Libraries for Emacs Input Methods) should have been
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
171 installed.")
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
172 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
173
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
174 (let ((languages '("French" "German" "Spanish" "Italian"
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
175 ;; We have to list much more European langauges here.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
176 ))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
177 (val '("quail-latin-1" quail-use-package "quail/latin")))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
178 (while languages
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
179 (register-input-method (car languages) val)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
180 (setq languages (cdr languages))))
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
181
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
182 (register-input-method "Esperanto"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
183 '("quail-esperanto" quail-use-package "quail/latin"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
184
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
185 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
186 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
187 (register-input-method "Italian"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
188 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
189 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
190 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
191 '("quail-italian" "quail-itln"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
192
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
193 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
194 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
195 (register-input-method "Spanish"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
196 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
197 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
198 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
199 '("quail-spanish" "quail-spnsh"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
200
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
201 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
202 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
203 (register-input-method "French"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
204 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
205 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
206 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
207 '("quail-french" "quail-frnch" "quail-azerty"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
208
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
209 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
210 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
211 (register-input-method "German"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
212 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
213 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
214 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
215 '("quail-german" "quail-grmn"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
216
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
217 (register-input-method "Scandinavian"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
218 '("quail-scandinavian" quail-use-package "quail/latin"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
219
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
220 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
221 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
222 (register-input-method "Icelandic"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
223 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
224 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
225 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
226 '("quail-icelandic" "quail-iclndc"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
227
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
228 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
229 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
230 (register-input-method "Danish"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
231 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
232 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
233 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
234 '("quail-danish" "quail-dnsh"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
235
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
236 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
237 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
238 (register-input-method "Norwegian"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
239 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
240 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
241 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
242 '("quail-norwegian" "quail-nrwgn"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
243
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
244 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
245 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
246 (register-input-method "Swedish"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
247 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
248 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
249 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
250 '("quail-swedish" "quail-swdsh"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
251
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
252 (mapcar (function
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
253 (lambda (method)
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
254 (register-input-method "Finish"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
255 (cons method
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
256 '(quail-use-package "quail/latin")))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
257 ))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
258 '("quail-finnish" "quail-fnnsh"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
259
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
260 (register-input-method "Turkish"
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
261 '("quail-turkish" quail-use-package "quail/latin"))
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 159
diff changeset
262
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents:
diff changeset
263 ;;; european.el ends here