diff options
| author | Dave Love | 2003-02-14 12:55:08 +0000 |
|---|---|---|
| committer | Dave Love | 2003-02-14 12:55:08 +0000 |
| commit | 765093893d6dd491ae20fe2a10c67c4e6b664a5b (patch) | |
| tree | 4695dcbf8bb72b5c6bb38084ec7ebe652956958b | |
| parent | 83930535822b5a44809c0e3969f03c9ebdcf2ce2 (diff) | |
| download | emacs-765093893d6dd491ae20fe2a10c67c4e6b664a5b.tar.gz emacs-765093893d6dd491ae20fe2a10c67c4e6b664a5b.zip | |
("Cyrillic-KOI8"): Fix input-method.
("Russian"): New.
("Bulgarian"): Add tutorial.
| -rw-r--r-- | lisp/language/cyrillic.el | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el index b4135c68bfb..742da4fc5a0 100644 --- a/lisp/language/cyrillic.el +++ b/lisp/language/cyrillic.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | 3 | ;; Copyright (C) 1995 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 | ;; Author: Kenichi Handa <handa@etl.go.jp> | 7 | ;; Author: Kenichi Handa <handa@etl.go.jp> |
| 8 | ;; Keywords: multilingual, Cyrillic, i18n | 8 | ;; Keywords: multilingual, Cyrillic, i18n |
| @@ -216,13 +216,29 @@ This works whether or not the table is Unicode-based or | |||
| 216 | 'translation-table)) | 216 | 'translation-table)) |
| 217 | (coding-system cyrillic-koi8) | 217 | (coding-system cyrillic-koi8) |
| 218 | (coding-priority cyrillic-koi8 cyrillic-iso-8bit) | 218 | (coding-priority cyrillic-koi8 cyrillic-iso-8bit) |
| 219 | (input-method . "cyrillic-jcuken") | 219 | (input-method . "russian-typewriter") |
| 220 | (features cyril-util) | 220 | (features cyril-util) |
| 221 | (unibyte-display . cyrillic-koi8) | 221 | (unibyte-display . cyrillic-koi8) |
| 222 | (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!") | 222 | (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!") |
| 223 | (documentation . "Support for Cyrillic KOI8-R.")) | 223 | (documentation . "Support for Cyrillic KOI8-R.")) |
| 224 | '("Cyrillic")) | 224 | '("Cyrillic")) |
| 225 | 225 | ||
| 226 | (set-language-info-alist | ||
| 227 | "Russian" `((charset cyrillic-iso8859-5) | ||
| 228 | (nonascii-translation | ||
| 229 | . ,(get 'cyrillic-koi8-r-nonascii-translation-table | ||
| 230 | 'translation-table)) | ||
| 231 | (coding-system cyrillic-koi8) | ||
| 232 | (coding-priority cyrillic-koi8 cyrillic-iso-8bit) | ||
| 233 | (input-method . "russian-computer") | ||
| 234 | (features cyril-util) | ||
| 235 | (unibyte-display . cyrillic-koi8) | ||
| 236 | (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!") | ||
| 237 | (documentation . "\ | ||
| 238 | Support for Russian using koi8-r and the russian-computer input method.") | ||
| 239 | (tutorial . "TUTORIAL.ru")) | ||
| 240 | '("Cyrillic")) | ||
| 241 | |||
| 226 | 242 | ||
| 227 | (defvar cyrillic-koi8-u-decode-table | 243 | (defvar cyrillic-koi8-u-decode-table |
| 228 | [ | 244 | [ |
| @@ -436,12 +452,12 @@ This works whether or not the table is Unicode-based or | |||
| 436 | 452 | ||
| 437 | (set-language-info-alist | 453 | (set-language-info-alist |
| 438 | "Tajik" `((coding-system cyrillic-koi8-t) | 454 | "Tajik" `((coding-system cyrillic-koi8-t) |
| 439 | (coding-priority cyrillic-koi8-t) | 455 | (coding-priority cyrillic-koi8-t) |
| 440 | (nonascii-translation | 456 | (nonascii-translation |
| 441 | . ,(get 'decode-koi8-t 'translation-table)) | 457 | . ,(get 'decode-koi8-t 'translation-table)) |
| 442 | (input-method . "russian-typewriter") ; fixme? | 458 | (input-method . "russian-typewriter") ; fixme? |
| 443 | (features code-pages) | 459 | (features code-pages) |
| 444 | (documentation . "Support for Tajik using KOI8-T.")) | 460 | (documentation . "Support for Tajik using KOI8-T.")) |
| 445 | '("Cyrillic")) | 461 | '("Cyrillic")) |
| 446 | 462 | ||
| 447 | (set-language-info-alist | 463 | (set-language-info-alist |
| @@ -452,7 +468,8 @@ This works whether or not the table is Unicode-based or | |||
| 452 | (input-method . "bulgarian-bds") | 468 | (input-method . "bulgarian-bds") |
| 453 | (features code-pages) | 469 | (features code-pages) |
| 454 | (documentation | 470 | (documentation |
| 455 | . "Support for Bulgarian with windows-1251 character set.")) | 471 | . "Support for Bulgarian with windows-1251 character set.") |
| 472 | (tutorial . "TUTORIAL.bg")) | ||
| 456 | '("Cyrillic")) | 473 | '("Cyrillic")) |
| 457 | 474 | ||
| 458 | (set-language-info-alist | 475 | (set-language-info-alist |