Mercurial > emacs
comparison lisp/language/ethio-util.el @ 17993:73869115ae0a
Most of setup-LANGUAGE-environment functions are
moved form LANGUAGE.el to LANG-util.el. These functions now at
first call setup-english-environment to reset various values to
the defaults.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 28 May 1997 03:39:03 +0000 |
parents | ade41b936c3e |
children | 6148a6f19ded |
comparison
equal
deleted
inserted
replaced
17992:191bef5a0922 | 17993:73869115ae0a |
---|---|
23 ;; Boston, MA 02111-1307, USA. | 23 ;; Boston, MA 02111-1307, USA. |
24 | 24 |
25 ;; Author: TAKAHASHI Naoto <ntakahas@etl.go.jp> | 25 ;; Author: TAKAHASHI Naoto <ntakahas@etl.go.jp> |
26 | 26 |
27 ;;; Code: | 27 ;;; Code: |
28 | |
29 ;;;###autoload | |
30 (defun setup-ethiopic-environment () | |
31 "Setup multilingual environment for Ethiopic." | |
32 (interactive) | |
33 (setup-english-environment) | |
34 (setq primary-language "Ethiopic") | |
35 | |
36 (setq default-input-method '("Ethiopic" . "quail-ethio")) | |
37 | |
38 ;; | |
39 ;; key bindings | |
40 ;; | |
41 (define-key global-map [f4] 'sera-to-fidel-buffer) | |
42 (define-key global-map [S-f4] 'sera-to-fidel-region) | |
43 (define-key global-map [C-f4] 'sera-to-fidel-marker) | |
44 (define-key global-map [f5] 'fidel-to-sera-buffer) | |
45 (define-key global-map [S-f5] 'fidel-to-sera-region) | |
46 (define-key global-map [C-f5] 'fidel-to-sera-marker) | |
47 (define-key global-map [f6] 'ethio-modify-vowel) | |
48 (define-key global-map [f7] 'ethio-replace-space) | |
49 (define-key global-map [f8] 'ethio-input-special-character) | |
50 (define-key global-map [S-f2] 'ethio-replace-space) ; as requested | |
51 | |
52 (add-hook | |
53 'rmail-mode-hook | |
54 '(lambda () | |
55 (define-key rmail-mode-map [C-f4] 'sera-to-fidel-mail) | |
56 (define-key rmail-mode-map [C-f5] 'fidel-to-sera-mail))) | |
57 | |
58 (add-hook | |
59 'mail-mode-hook | |
60 '(lambda () | |
61 (define-key mail-mode-map [C-f4] 'sera-to-fidel-mail) | |
62 (define-key mail-mode-map [C-f5] 'fidel-to-sera-mail))) | |
63 ) | |
28 | 64 |
29 ;; | 65 ;; |
30 ;; ETHIOPIC UTILITY FUNCTIONS | 66 ;; ETHIOPIC UTILITY FUNCTIONS |
31 ;; | 67 ;; |
32 | 68 |