diff options
| author | Dave Love | 2003-01-05 00:55:27 +0000 |
|---|---|---|
| committer | Dave Love | 2003-01-05 00:55:27 +0000 |
| commit | eae03b2d52682962f754b88db0ba15bbe5bfbba7 (patch) | |
| tree | 65970ef682fd710b76000d4fbc7bea075ff4bd3c | |
| parent | db6bd804adccc378d20706ef5ec7494e983968d2 (diff) | |
| download | emacs-eae03b2d52682962f754b88db0ba15bbe5bfbba7.tar.gz emacs-eae03b2d52682962f754b88db0ba15bbe5bfbba7.zip | |
("Latin-6", "Croatian"): New.
("Latin-7"): Fix nonascii-translation. Add input method.
("Lithuanian", "Latvian"): Add nonascii-translation.
("German", "Spanish", "Dutch", "Welsh", "Swedish"): Fix
nonascii-translation.
| -rw-r--r-- | lisp/language/european.el | 43 |
1 files changed, 35 insertions, 8 deletions
diff --git a/lisp/language/european.el b/lisp/language/european.el index b594fb37413..233c099b734 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 1997, 2001 Electrotechnical Laboratory, JAPAN. | 3 | ;; Copyright (C) 1995, 1997, 2001 Electrotechnical Laboratory, JAPAN. |
| 4 | ;; Licensed to the Free Software Foundation. | 4 | ;; Licensed to the Free Software Foundation. |
| 5 | ;; Copyright (C) 2001, 2002 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Keywords: multilingual, European | 7 | ;; Keywords: multilingual, European |
| 8 | 8 | ||
| @@ -101,6 +101,7 @@ character set which supports the following languages: | |||
| 101 | and Swedish. | 101 | and Swedish. |
| 102 | We also have specific language environments for the following languages: | 102 | We also have specific language environments for the following languages: |
| 103 | For Czech, \"Czech\". | 103 | For Czech, \"Czech\". |
| 104 | For Croatian, \"Croatian\". | ||
| 104 | For Romanian, \"Romanian\". | 105 | For Romanian, \"Romanian\". |
| 105 | For Slovak, \"Slovak\".")) | 106 | For Slovak, \"Slovak\".")) |
| 106 | '("European")) | 107 | '("European")) |
| @@ -255,7 +256,7 @@ Latin-9 is sometimes nicknamed `Latin-0'.")) | |||
| 255 | (coding-system iso-latin-1 iso-latin-9) | 256 | (coding-system iso-latin-1 iso-latin-9) |
| 256 | (coding-priority iso-latin-1) | 257 | (coding-priority iso-latin-1) |
| 257 | (input-method . "german-postfix") | 258 | (input-method . "german-postfix") |
| 258 | (nonascii-translation . iso-latin-1) | 259 | (nonascii-translation . latin-iso8859-1) |
| 259 | (unibyte-syntax . "latin-1") | 260 | (unibyte-syntax . "latin-1") |
| 260 | (unibyte-display . iso-latin-1) | 261 | (unibyte-display . iso-latin-1) |
| 261 | (sample-text . "\ | 262 | (sample-text . "\ |
| @@ -301,7 +302,7 @@ but it selects the French tutorial.")) | |||
| 301 | (coding-system iso-latin-1 iso-latin-9) | 302 | (coding-system iso-latin-1 iso-latin-9) |
| 302 | (coding-priority iso-latin-1) | 303 | (coding-priority iso-latin-1) |
| 303 | (input-method . "spanish-postfix") | 304 | (input-method . "spanish-postfix") |
| 304 | (nonascii-translation . iso-latin-1) | 305 | (nonascii-translation . latin-iso8859-1) |
| 305 | (unibyte-syntax . "latin-1") | 306 | (unibyte-syntax . "latin-1") |
| 306 | (unibyte-display . iso-latin-1) | 307 | (unibyte-display . iso-latin-1) |
| 307 | (sample-text . "Spanish (Espa,Aq(Bol) ,A!(BHola!") | 308 | (sample-text . "Spanish (Espa,Aq(Bol) ,A!(BHola!") |
| @@ -316,7 +317,7 @@ and it selects the Spanish tutorial.")) | |||
| 316 | (charset ascii latin-iso8859-1) | 317 | (charset ascii latin-iso8859-1) |
| 317 | (coding-system iso-latin-1 iso-latin-9) | 318 | (coding-system iso-latin-1 iso-latin-9) |
| 318 | (coding-priority iso-latin-1) | 319 | (coding-priority iso-latin-1) |
| 319 | (nonascii-translation . iso-latin-1) | 320 | (nonascii-translation . latin-iso8859-1) |
| 320 | (unibyte-syntax . "latin-1") | 321 | (unibyte-syntax . "latin-1") |
| 321 | (unibyte-display . iso-latin-1) | 322 | (unibyte-display . iso-latin-1) |
| 322 | (input-method . "dutch") | 323 | (input-method . "dutch") |
| @@ -362,16 +363,27 @@ but it selects the Dutch tutorial and input method.")) | |||
| 362 | (set-language-info-alist | 363 | (set-language-info-alist |
| 363 | "Welsh" `((coding-system utf-8 latin-8) ; the input method is Unicode-based | 364 | "Welsh" `((coding-system utf-8 latin-8) ; the input method is Unicode-based |
| 364 | (coding-priority utf-8 latin-8) | 365 | (coding-priority utf-8 latin-8) |
| 365 | (nonascii-translation . iso-8859-14) | 366 | (nonascii-translation . latin-iso8859-14) |
| 366 | (input-method . "welsh") | 367 | (input-method . "welsh") |
| 367 | (documentation . "Support for Welsh, using Unicode.")) | 368 | (documentation . "Support for Welsh, using Unicode.")) |
| 368 | '("European")) | 369 | '("European")) |
| 369 | 370 | ||
| 370 | (set-language-info-alist | 371 | (set-language-info-alist |
| 372 | "Latin-6" `((coding-system latin-6) | ||
| 373 | (coding-priority latin-6) | ||
| 374 | (nonascii-translation . ,(get 'decode-iso-latin-6 'translation-table)) | ||
| 375 | (input-method . latin-pre) | ||
| 376 | (input-method . latin-pre) | ||
| 377 | (features code-pages) | ||
| 378 | (documentation . "Support for Latin-6.")) | ||
| 379 | '("European")) | ||
| 380 | |||
| 381 | (set-language-info-alist | ||
| 371 | "Latin-7" `((coding-system latin-7) | 382 | "Latin-7" `((coding-system latin-7) |
| 372 | (coding-priority latin-7) | 383 | (coding-priority latin-7) |
| 373 | (nonascii-translation . iso-8859-13) | 384 | (nonascii-translation . ,(get 'decode-iso-latin-7 |
| 374 | ;; Fixme: input-method | 385 | 'translation-table)) |
| 386 | (input-method . latin-pre) | ||
| 375 | (features code-pages) | 387 | (features code-pages) |
| 376 | (documentation . "Support for Latin-7, e.g. Latvian, Lithuanian.")) | 388 | (documentation . "Support for Latin-7, e.g. Latvian, Lithuanian.")) |
| 377 | '("European")) | 389 | '("European")) |
| @@ -380,6 +392,8 @@ but it selects the Dutch tutorial and input method.")) | |||
| 380 | "Lithuanian" `((coding-system latin-7) | 392 | "Lithuanian" `((coding-system latin-7) |
| 381 | (coding-priority latin-7) | 393 | (coding-priority latin-7) |
| 382 | (input-method . "lithuanian-keyboard") | 394 | (input-method . "lithuanian-keyboard") |
| 395 | (nonascii-translation . ,(get 'decode-iso-latin-7 | ||
| 396 | 'translation-table)) | ||
| 383 | (features code-pages) | 397 | (features code-pages) |
| 384 | (documentation . "Support for Lithuanian.")) | 398 | (documentation . "Support for Lithuanian.")) |
| 385 | '("European")) | 399 | '("European")) |
| @@ -388,6 +402,8 @@ but it selects the Dutch tutorial and input method.")) | |||
| 388 | "Latvian" `((coding-system latin-7) | 402 | "Latvian" `((coding-system latin-7) |
| 389 | (coding-priority latin-7) | 403 | (coding-priority latin-7) |
| 390 | (input-method . "latvian-keyboard") | 404 | (input-method . "latvian-keyboard") |
| 405 | (nonascii-translation . ,(get 'decode-iso-latin-7 | ||
| 406 | 'translation-table)) | ||
| 391 | (features code-pages) | 407 | (features code-pages) |
| 392 | (documentation . "Support for Latvian.")) | 408 | (documentation . "Support for Latvian.")) |
| 393 | '("European")) | 409 | '("European")) |
| @@ -397,12 +413,23 @@ but it selects the Dutch tutorial and input method.")) | |||
| 397 | (charset ascii latin-iso8859-1) | 413 | (charset ascii latin-iso8859-1) |
| 398 | (coding-system iso-latin-1) | 414 | (coding-system iso-latin-1) |
| 399 | (coding-priority iso-latin-1) | 415 | (coding-priority iso-latin-1) |
| 400 | (nonascii-translation . iso-8859-1) | 416 | (nonascii-translation . latin-iso8859-1) |
| 401 | (unibyte-syntax . "latin-1") | 417 | (unibyte-syntax . "latin-1") |
| 402 | (unibyte-display . iso-latin-1) | 418 | (unibyte-display . iso-latin-1) |
| 403 | (sample-text . "Goddag Hej") | 419 | (sample-text . "Goddag Hej") |
| 404 | (documentation . "Support for Swedish")) | 420 | (documentation . "Support for Swedish")) |
| 405 | '("European")) | 421 | '("European")) |
| 422 | |||
| 423 | (set-language-info-alist | ||
| 424 | "Croatian" '((charset . (ascii latin-iso8859-2)) | ||
| 425 | (coding-system . (iso-8859-2)) | ||
| 426 | (coding-priority . (iso-8859-2)) | ||
| 427 | (input-method . "croatian") | ||
| 428 | (nonascii-translation . latin-iso8859-2) | ||
| 429 | (unibyte-syntax . "latin-2") | ||
| 430 | (unibyte-display . iso-8859-2) | ||
| 431 | (documentation . "Support for Croatian with Latin-2 encoding.")) | ||
| 432 | '("European")) | ||
| 406 | 433 | ||
| 407 | ;; Definitions for the Mac Roman character sets and coding system. | 434 | ;; Definitions for the Mac Roman character sets and coding system. |
| 408 | ;; The Mac Roman encoding uses all 128 code points in the range 128 to | 435 | ;; The Mac Roman encoding uses all 128 code points in the range 128 to |