diff options
| author | Kenichi Handa | 1997-09-01 07:21:00 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-09-01 07:21:00 +0000 |
| commit | 747ccff1e835304a7d6c664ec74265d4cc864c75 (patch) | |
| tree | de267d555313c9c62f9675c5f7d334bb4dc05923 | |
| parent | 4ef06f758018521c4825a3ee2812009128053e9e (diff) | |
| download | emacs-747ccff1e835304a7d6c664ec74265d4cc864c75.tar.gz emacs-747ccff1e835304a7d6c664ec74265d4cc864c75.zip | |
("ethiopic"): Doc-sring fixed. Change the arg
TRANSLATION-KEYS.
(quail-mode-map): Change binding for ethio-insert-ethio-space.
(quail-mode-hook): Check the current Quail package name.
| -rw-r--r-- | leim/quail/ethiopic.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/leim/quail/ethiopic.el b/leim/quail/ethiopic.el index 371100976dd..774322f0682 100644 --- a/leim/quail/ethiopic.el +++ b/leim/quail/ethiopic.el | |||
| @@ -133,22 +133,22 @@ mark." | |||
| 133 | (ethio-prefer-ascii-punctuation "." "$(3$i(B")) | 133 | (ethio-prefer-ascii-punctuation "." "$(3$i(B")) |
| 134 | t " KEYS AND FUNCTIONS | 134 | t " KEYS AND FUNCTIONS |
| 135 | 135 | ||
| 136 | [F2] or `M-x ethio-toggle-space' | 136 | F2 or `M-x ethio-toggle-space' |
| 137 | Toggles space characters for keyboard input. The current mode is | 137 | Toggles space characters for keyboard input. The current mode is |
| 138 | indicated in mode-line, whether by `_' (ASCII space) or `$(3$h(B' | 138 | indicated in mode-line, whether by `_' (ASCII space) or `$(3$h(B' |
| 139 | (Ethiopic colon-like word separator). Even in the `$(3$h(B' mode, an | 139 | (Ethiopic colon-like word separator). Even in the `$(3$h(B' mode, an |
| 140 | ASCII space is inserted if the point is preceded by `an Ethiopic | 140 | ASCII space is inserted if the point is preceded by `an Ethiopic |
| 141 | punctuation followed by zero or more ASCII spaces'. | 141 | punctuation followed by zero or more ASCII spaces'. |
| 142 | 142 | ||
| 143 | [F3] or `M-x ethio-toggle-punctuation' | 143 | F3 or `M-x ethio-toggle-punctuation' |
| 144 | Toggles ASCII punctuations and Ethiopic punctuations for keyboard input. | 144 | Toggles ASCII punctuations and Ethiopic punctuations for keyboard input. |
| 145 | The current mode is indicated by `.' (ASCII) or `$(3$i(B' (Ethiopic). | 145 | The current mode is indicated by `.' (ASCII) or `$(3$i(B' (Ethiopic). |
| 146 | 146 | ||
| 147 | C-^ or `M-x ethio-insert-ethio-space | 147 | S-SPC or `M-x ethio-insert-ethio-space' |
| 148 | Always insert an Ethiopic word separator `$(3$h(B'. With a prefix number, | 148 | Always insert an Ethiopic word separator `$(3$h(B'. With a prefix number, |
| 149 | insert that many word separators. | 149 | insert that many word separators. |
| 150 | 150 | ||
| 151 | C-' or ethio-gemination | 151 | C-' or `M-x ethio-gemination' |
| 152 | Compose the character before the point with the Ethiopic gemination mark. | 152 | Compose the character before the point with the Ethiopic gemination mark. |
| 153 | If the characater is already composed, decompose it and remove the | 153 | If the characater is already composed, decompose it and remove the |
| 154 | gemination mark." | 154 | gemination mark." |
| @@ -156,7 +156,7 @@ C-' or ethio-gemination | |||
| 156 | '(([f2] . ethio-toggle-space) | 156 | '(([f2] . ethio-toggle-space) |
| 157 | ([f3] . ethio-toggle-punctuation) | 157 | ([f3] . ethio-toggle-punctuation) |
| 158 | (" " . ethio-insert-space) | 158 | (" " . ethio-insert-space) |
| 159 | ([?\C-^] . ethio-insert-ethio-space) | 159 | ([?\S- ] . ethio-insert-ethio-space) |
| 160 | ([?\C-'] . ethio-gemination)) | 160 | ([?\C-'] . ethio-gemination)) |
| 161 | t t) | 161 | t t) |
| 162 | 162 | ||
| @@ -164,9 +164,8 @@ C-' or ethio-gemination | |||
| 164 | (define-key quail-mode-map [f2] 'ethio-toggle-space) | 164 | (define-key quail-mode-map [f2] 'ethio-toggle-space) |
| 165 | (define-key quail-mode-map [f3] 'ethio-toggle-punctuation) | 165 | (define-key quail-mode-map [f3] 'ethio-toggle-punctuation) |
| 166 | (define-key quail-mode-map " " 'ethio-insert-space) | 166 | (define-key quail-mode-map " " 'ethio-insert-space) |
| 167 | (define-key quail-mode-map [?\C-^] 'ethio-insert-ethio-space) | ||
| 168 | (define-key quail-mode-map [?\C-'] 'ethio-gemination) | ||
| 169 | (define-key quail-mode-map [?\S- ] 'ethio-insert-ethio-space) | 167 | (define-key quail-mode-map [?\S- ] 'ethio-insert-ethio-space) |
| 168 | (define-key quail-mode-map [?\C-'] 'ethio-gemination) | ||
| 170 | 169 | ||
| 171 | (quail-define-rules | 170 | (quail-define-rules |
| 172 | ("he" ?$(3!!(B) | 171 | ("he" ?$(3!!(B) |
| @@ -1124,8 +1123,9 @@ C-' or ethio-gemination | |||
| 1124 | ;; The translation of `a' depends on the language (Tigrigna or Amharic). | 1123 | ;; The translation of `a' depends on the language (Tigrigna or Amharic). |
| 1125 | (add-hook 'quail-mode-hook | 1124 | (add-hook 'quail-mode-hook |
| 1126 | (lambda nil | 1125 | (lambda nil |
| 1127 | (quail-defrule "a" | 1126 | (if (string= (quail-name) "ethiopic") |
| 1128 | (if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B) | 1127 | (quail-defrule "a" |
| 1129 | "ethiopic"))) | 1128 | (if (ethio-prefer-amharic-p) ?$(3"c(B ?$(3"f(B) |
| 1129 | "ethiopic")))) | ||
| 1130 | 1130 | ||
| 1131 | ;;; quail/ethiopic.el ends here | 1131 | ;;; quail/ethiopic.el ends here |