1 ;;; cyrillic.el --- Support for languages which use Cyrillic characters
3 ;; Copyright (C) 1995 Free Software Foundation, Inc.
4 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
6 ;; Keywords: multilingual, Cyrillic
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to
22 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
26 ;; The character set ISO8859-5 is supported.
31 'coding-system-iso-8859-5
2 ?
5 "MIME ISO-8859-5"
32 '((ascii t
) (cyrillic-iso8859-5 t
) nil nil
33 nil ascii-eol ascii-cntl nil nil nil nil
))
35 (register-input-method
36 "Cyrillic" '("quail-jcuken" quail-use-package
"quail/cyrillic"))
37 (register-input-method
38 "Cyrillic" '("quail-macedonian" quail-use-package
"quail/cyrillic"))
39 (register-input-method
40 "Cyrillic" '("quail-serbian" quail-use-package
"quail/cyrillic"))
41 (register-input-method
42 "Cyrillic" '("quail-beylorussian" quail-use-package
"quail/cyrillic"))
43 (register-input-method
44 "Cyrillic" '("quail-ukrainian" quail-use-package
"quail/cyrillic"))
45 (register-input-method
46 "Cyrillic" '("quail-yawerty" quail-use-package
"quail/cyrillic"))
48 (defun setup-cyrillic-environment ()
49 (setq primary-language
"Cyrillic")
51 (setq coding-category-iso-8-1
'coding-system-iso-8859-5
)
54 '(coding-category-iso-7
55 coding-category-iso-8-1
))
57 (setq-default buffer-file-coding-system
'coding-system-iso-8859-5
)
58 (set-terminal-coding-system 'coding-system-iso-8859-5
)
59 (set-keyboard-coding-system 'coding-system-iso-8859-5
)
61 (setq default-input-method
'("Cyrillic" .
"quail-yawerty"))
64 (set-language-info-alist
65 "Cyrillic" '((setup-function . setup-cyrillic-environment
)
66 (charset .
(cyrillic-iso8859-5))
67 (coding-system .
(coding-system-iso-8859-5))
69 (sample-text .
"Russian (\e,L@caaZXY\e(B) \e,L7T`PRabRcYbU\e(B!")))
71 ;;; cyrillic.el ends here