Commit 20848896 authored by Richard M. Stallman's avatar Richard M. Stallman

(quail-translation-keymap)

(quail-simple-translation-keymap, quail-conversion-keymap):
Don't define escape.
parent 7f72c06f
......@@ -287,7 +287,8 @@ LEIM is available from the same ftp directory as Emacs."))
(define-key map "\C-i" 'quail-completion)
(define-key map "\C-@" 'quail-select-current)
(define-key map "\C-h" 'quail-translation-help)
(define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
;;; This interferes with handling of escape sequences on non-X terminals.
;;; (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
(define-key map [?\C-\ ] 'quail-select-current)
(define-key map [tab] 'quail-completion)
(define-key map [delete] 'quail-delete-last-char)
......@@ -309,7 +310,8 @@ This map is activated while translation region is active.")
(define-key map (char-to-string i) 'quail-self-insert-command)
(setq i (1+ i)))
(define-key map "\177" 'quail-delete-last-char)
(define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
;;; This interferes with handling of escape sequences on non-X terminals.
;;; (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
;; At last, define default key binding.
(append map '((t . quail-execute-non-quail-command))))
"Keymap used while processing translation in simple Quail modes.
......@@ -336,7 +338,8 @@ This map is activated while translation region is active.")
(define-key map "\C-e" 'quail-conversion-end-of-region)
(define-key map "\C-d" 'quail-conversion-delete-char)
(define-key map "\C-h" 'quail-conversion-help)
(define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
;;; This interferes with handling of escape sequences on non-X terminals.
;;; (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
(define-key map "\177" 'quail-conversion-backward-delete-char)
(define-key map [delete] 'quail-conversion-backward-delete-char)
(define-key map [backspace] 'quail-conversion-backward-delete-char)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment