Mercurial > emacs
changeset 19647:9b9af28bee8d
(quail-translation-keymap): Do not bind
"\C-c" to quail-abort-translation.
(quail-mode-map): Bind key codes 128 through 256 to
quail-start-translation.
(quail-translation-keymap): Bind key codes 128 through 256 to
quail-self-insert-command.
(quail-conversion-keymap): Bind key codes 128 through 256 to
quail-start-translation-in-conversion-mode.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 01 Sep 1997 07:19:38 +0000 |
parents | 175c12fff246 |
children | e9031152e052 |
files | lisp/international/quail.el |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/quail.el Mon Sep 01 07:19:05 1997 +0000 +++ b/lisp/international/quail.el Mon Sep 01 07:19:38 1997 +0000 @@ -247,6 +247,10 @@ (while (< i 127) (define-key map (char-to-string i) 'quail-start-translation) (setq i (1+ i))) + (setq i 128) + (while (< i 256) + (define-key map (vector i) 'quail-start-translation) + (setq i (1+ i))) map) "Keymap for Quail mode.") @@ -271,6 +275,10 @@ (while (< i 127) (define-key map (char-to-string i) 'quail-self-insert-command) (setq i (1+ i))) + (setq i 128) + (while (< i 127) + (define-key map (vector i) 'quail-self-insert-command) + (setq i (1+ i))) (define-key map "\177" 'quail-delete-last-char) (define-key map "\C-f" 'quail-next-translation) (define-key map "\C-b" 'quail-prev-translation) @@ -278,7 +286,6 @@ (define-key map "\C-p" 'quail-prev-translation-block) (define-key map "\C-i" 'quail-completion) (define-key map "\C-@" 'quail-select-current) - (define-key map "\C-c" 'quail-abort-translation) (define-key map "\C-h" 'quail-translation-help) (define-key map "\e" '(keymap (t . quail-execute-non-quail-command))) (define-key map [tab] 'quail-completion) @@ -318,6 +325,10 @@ (define-key map (char-to-string i) 'quail-start-translation-in-conversion-mode) (setq i (1+ i))) + (setq i 128) + (while (< i 127) + (define-key map (vector i) 'quail-start-translation-in-conversion-mode) + (setq i (1+ i))) (define-key map "\C-b" 'quail-conversion-backward-char) (define-key map "\C-f" 'quail-conversion-forward-char) (define-key map "\C-a" 'quail-conversion-beginning-of-region)