aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-07 05:56:20 +0000
committerRichard M. Stallman1997-06-07 05:56:20 +0000
commit3d48f828230b78de26082ffac48832bbeb499c20 (patch)
tree1edb4701e11771a2ee7a06306be1897617ccd414
parentcff1677f4809b986836ef1d86a0151ca4ec74e29 (diff)
downloademacs-3d48f828230b78de26082ffac48832bbeb499c20.tar.gz
emacs-3d48f828230b78de26082ffac48832bbeb499c20.zip
(describe-european-environment-map):
Renamed from describe-european-support-map. (setup-8-bit-environment): Do not set set-case-syntax-offset. Subtract 128 when setting nonascii-insert-offset. Require latin-N if appropriate.
-rw-r--r--lisp/language/european.el31
1 files changed, 19 insertions, 12 deletions
diff --git a/lisp/language/european.el b/lisp/language/european.el
index 0b318e3f1b9..dba8684d2ac 100644
--- a/lisp/language/european.el
+++ b/lisp/language/european.el
@@ -28,9 +28,9 @@
28 28
29;;; Code: 29;;; Code:
30 30
31(define-prefix-command 'describe-european-support-map) 31(define-prefix-command 'describe-european-environment-map)
32(define-key-after describe-language-support-map [European] 32(define-key-after describe-language-environment-map [European]
33 '("European" . describe-european-support-map) 33 '("European" . describe-european-environment-map)
34 t) 34 t)
35 35
36(define-prefix-command 'setup-european-environment-map) 36(define-prefix-command 'setup-european-environment-map)
@@ -51,12 +51,19 @@
51 rmail-file-coding-system coding-system) 51 rmail-file-coding-system coding-system)
52 52
53 (if charset 53 (if charset
54 (let ((nonascii-offset (make-char charset))) 54 (let ((nonascii-offset (- (make-char charset) 128)))
55 (setq nonascii-insert-offset nonascii-offset 55 ;; Set up for insertion of characters in this character set
56 set-case-syntax-offset nonascii-offset))) 56 ;; when codes 0200 - 0377 are typed in.
57 (setq nonascii-insert-offset nonascii-offset)))
57 58
58 (if input-method 59 (if input-method
59 (setq default-input-method input-method))) 60 (let ((latin-name (car input-method)))
61 (setq default-input-method input-method)
62 ;; If this is a Latin-N character set, set up syntax for it
63 ;; in single-byte mode.
64 (when (and latin-name
65 (string-match "^Latin-\\([1-9]\\)$" latin-name))
66 (require (intern (downcase latin-name)))))))
60 67
61;; Latin-1 (ISO-8859-1) 68;; Latin-1 (ISO-8859-1)
62 69
@@ -89,7 +96,7 @@
89These languages are supported with the Latin-1 (ISO-8859-1) character set: 96These languages are supported with the Latin-1 (ISO-8859-1) character set:
90 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic, 97 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
91 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish. 98 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
92" . describe-european-support-map)) 99" . describe-european-environment-map))
93 )) 100 ))
94 101
95;; Latin-2 (ISO-8859-2) 102;; Latin-2 (ISO-8859-2)
@@ -117,7 +124,7 @@ These languages are supported with the Latin-1 (ISO-8859-1) character set:
117These languages are supported with the Latin-2 (ISO-8859-2) character set: 124These languages are supported with the Latin-2 (ISO-8859-2) character set:
118 Albanian, Czech, English, German, Hungarian, Polish, Romanian, 125 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
119 Serbo-Croatian, Slovak, Slovene, and Swedish. 126 Serbo-Croatian, Slovak, Slovene, and Swedish.
120" . describe-european-support-map)) 127" . describe-european-environment-map))
121 )) 128 ))
122 129
123;; Latin-3 (ISO-8859-3) 130;; Latin-3 (ISO-8859-3)
@@ -145,7 +152,7 @@ These languages are supported with the Latin-2 (ISO-8859-2) character set:
145These languages are supported with the Latin-3 (ISO-8859-3) character set: 152These languages are supported with the Latin-3 (ISO-8859-3) character set:
146 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician, 153 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
147 German, Italian, Maltese, Spanish, and Turkish. 154 German, Italian, Maltese, Spanish, and Turkish.
148" . describe-european-support-map)) 155" . describe-european-environment-map))
149 )) 156 ))
150 157
151;; Latin-4 (ISO-8859-4) 158;; Latin-4 (ISO-8859-4)
@@ -173,7 +180,7 @@ These languages are supported with the Latin-3 (ISO-8859-3) character set:
173These languages are supported with the Latin-4 (ISO-8859-4) character set: 180These languages are supported with the Latin-4 (ISO-8859-4) character set:
174 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish, 181 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
175 Latvian, Lithuanian, and Norwegian. 182 Latvian, Lithuanian, and Norwegian.
176" . describe-european-support-map)) 183" . describe-european-environment-map))
177 )) 184 ))
178 185
179;; Latin-5 (ISO-8859-9) 186;; Latin-5 (ISO-8859-9)
@@ -199,7 +206,7 @@ These languages are supported with the Latin-4 (ISO-8859-4) character set:
199 (coding-system . (iso-8859-9)) 206 (coding-system . (iso-8859-9))
200 (documentation . ("\ 207 (documentation . ("\
201These languages are supported with the Latin-5 (ISO-8859-9) character set. 208These languages are supported with the Latin-5 (ISO-8859-9) character set.
202" . describe-european-support-map)) 209" . describe-european-environment-map))
203 )) 210 ))
204 211
205(let ((languages '("French" "German" "Spanish" "Italian" 212(let ((languages '("French" "German" "Spanish" "Italian"