aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa2001-02-28 12:41:46 +0000
committerKenichi Handa2001-02-28 12:41:46 +0000
commitb8b2ea31bef2771605938f9c6a732bb2ddbf3382 (patch)
tree73afdcb6c9f1817eea7955a924728eb6352a9109 /lisp
parentaf122766135c7923ab6157843c2850630a6e7ac8 (diff)
downloademacs-b8b2ea31bef2771605938f9c6a732bb2ddbf3382.tar.gz
emacs-b8b2ea31bef2771605938f9c6a732bb2ddbf3382.zip
(setup-ethiopic-environment-internal): Change bindings of functions
keys to conform to "Emacs Lisp Coding Convention".
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/language/ethio-util.el42
2 files changed, 34 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a651dc29d55..858526b424b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,4 @@
12001-02-28 Kenichi Handa <handa@etl.go.jp> 12001-02-28 TAKAHASHI Naoto <ntakahas@m17n.org>
2 2
3 * language/ethio-util.el (setup-ethiopic-environment-internal): 3 * language/ethio-util.el (setup-ethiopic-environment-internal):
4 Change bindings of functions keys to conform to "Emacs Lisp Coding 4 Change bindings of functions keys to conform to "Emacs Lisp Coding
@@ -6,6 +6,8 @@
6 6
7 * language/ethiopic.el ("Ethiopic"): Add documentation. 7 * language/ethiopic.el ("Ethiopic"): Add documentation.
8 8
92001-02-28 Kenichi Handa <handa@etl.go.jp>
10
9 * international/utf-8.el (mule-utf-8): Set coding-category 11 * international/utf-8.el (mule-utf-8): Set coding-category
10 property to coding-category-utf-8. 12 property to coding-category-utf-8.
11 13
diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el
index 43f2ad0ee1c..86e07e0c9d8 100644
--- a/lisp/language/ethio-util.el
+++ b/lisp/language/ethio-util.el
@@ -1,6 +1,6 @@
1;;; ethio-util.el --- utilities for Ethiopic 1;;; ethio-util.el --- utilities for Ethiopic
2 2
3;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. 3;; Copyright (C) 1997, 2001 Electrotechnical Laboratory, JAPAN.
4;; Licensed to the Free Software Foundation. 4;; Licensed to the Free Software Foundation.
5 5
6;; Keywords: mule, multilingual, Ethiopic 6;; Keywords: mule, multilingual, Ethiopic
@@ -22,7 +22,7 @@
22;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
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@m17n.org>
26 26
27;;; Code: 27;;; Code:
28 28
@@ -34,18 +34,38 @@
34 (let ((key-bindings '((" " . ethio-insert-space) 34 (let ((key-bindings '((" " . ethio-insert-space)
35 ([?\S- ] . ethio-insert-ethio-space) 35 ([?\S- ] . ethio-insert-ethio-space)
36 ([?\C-'] . ethio-gemination) 36 ([?\C-'] . ethio-gemination)
37 ([f2] . ethio-toggle-space) 37
38 ([S-f2] . ethio-replace-space) ; as requested 38 ;; these old bindings conflict
39 ([f3] . ethio-toggle-punctuation) 39 ;; with Emacs' binding policy
40
41 ;; ([f2] . ethio-toggle-space)
42 ;; ([S-f2] . ethio-replace-space) ; as requested
43 ;; ([f3] . ethio-toggle-punctuation)
44 ;; ([f4] . ethio-sera-to-fidel-buffer)
45 ;; ([S-f4] . ethio-sera-to-fidel-region)
46 ;; ([C-f4] . ethio-sera-to-fidel-mail-or-marker)
47 ;; ([f5] . ethio-fidel-to-sera-buffer)
48 ;; ([S-f5] . ethio-fidel-to-sera-region)
49 ;; ([C-f5] . ethio-fidel-to-sera-mail-or-marker)
50 ;; ([f6] . ethio-modify-vowel)
51 ;; ([f7] . ethio-replace-space)
52 ;; ([f8] . ethio-input-special-character)
53
54 ;; this is the rewritten bindings
55
56 ([f3] . ethio-fidel-to-sera-buffer)
57 ([S-f3] . ethio-fidel-to-sera-region)
58 ([C-f3] . ethio-fidel-to-sera-mail-or-marker)
40 ([f4] . ethio-sera-to-fidel-buffer) 59 ([f4] . ethio-sera-to-fidel-buffer)
41 ([S-f4] . ethio-sera-to-fidel-region) 60 ([S-f4] . ethio-sera-to-fidel-region)
42 ([C-f4] . ethio-sera-to-fidel-mail-or-marker) 61 ([C-f4] . ethio-sera-to-fidel-mail-or-marker)
43 ([f5] . ethio-fidel-to-sera-buffer) 62 ([S-f5] . ethio-toggle-punctuation)
44 ([S-f5] . ethio-fidel-to-sera-region) 63 ([S-f6] . ethio-modify-vowel)
45 ([C-f5] . ethio-fidel-to-sera-mail-or-marker) 64 ([S-f7] . ethio-replace-space)
46 ([f6] . ethio-modify-vowel) 65 ([S-f8] . ethio-input-special-character)
47 ([f7] . ethio-replace-space) 66 ([C-f9] . ethio-toggle-space)
48 ([f8] . ethio-input-special-character))) 67 ([S-f9] . ethio-replace-space) ; as requested
68 ))
49 kb) 69 kb)
50 (while key-bindings 70 (while key-bindings
51 (setq kb (car (car key-bindings))) 71 (setq kb (car (car key-bindings)))