(ethio-prefer-ascii-punctuation "." "\e$(3$i\e(B"))
t " KEYS AND FUNCTIONS
-[F2] or `M-x ethio-toggle-space'
+F2 or `M-x ethio-toggle-space'
Toggles space characters for keyboard input. The current mode is
indicated in mode-line, whether by `_' (ASCII space) or `\e$(3$h\e(B'
(Ethiopic colon-like word separator). Even in the `\e$(3$h\e(B' mode, an
ASCII space is inserted if the point is preceded by `an Ethiopic
punctuation followed by zero or more ASCII spaces'.
-[F3] or `M-x ethio-toggle-punctuation'
+F3 or `M-x ethio-toggle-punctuation'
Toggles ASCII punctuations and Ethiopic punctuations for keyboard input.
The current mode is indicated by `.' (ASCII) or `\e$(3$i\e(B' (Ethiopic).
-C-^ or `M-x ethio-insert-ethio-space
+S-SPC or `M-x ethio-insert-ethio-space'
Always insert an Ethiopic word separator `\e$(3$h\e(B'. With a prefix number,
insert that many word separators.
-C-' or ethio-gemination
+C-' or `M-x ethio-gemination'
Compose the character before the point with the Ethiopic gemination mark.
If the characater is already composed, decompose it and remove the
gemination mark."
'(([f2] . ethio-toggle-space)
([f3] . ethio-toggle-punctuation)
(" " . ethio-insert-space)
- ([?\C-^] . ethio-insert-ethio-space)
+ ([?\S- ] . ethio-insert-ethio-space)
([?\C-'] . ethio-gemination))
t t)
(define-key quail-mode-map [f2] 'ethio-toggle-space)
(define-key quail-mode-map [f3] 'ethio-toggle-punctuation)
(define-key quail-mode-map " " 'ethio-insert-space)
-(define-key quail-mode-map [?\C-^] 'ethio-insert-ethio-space)
-(define-key quail-mode-map [?\C-'] 'ethio-gemination)
(define-key quail-mode-map [?\S- ] 'ethio-insert-ethio-space)
+(define-key quail-mode-map [?\C-'] 'ethio-gemination)
(quail-define-rules
("he" ?\e$(3!!\e(B)
;; The translation of `a' depends on the language (Tigrigna or Amharic).
(add-hook 'quail-mode-hook
(lambda nil
- (quail-defrule "a"
- (if (ethio-prefer-amharic-p) ?\e$(3"c\e(B ?\e$(3"f\e(B)
- "ethiopic")))
+ (if (string= (quail-name) "ethiopic")
+ (quail-defrule "a"
+ (if (ethio-prefer-amharic-p) ?\e$(3"c\e(B ?\e$(3"f\e(B)
+ "ethiopic"))))
;;; quail/ethiopic.el ends here