[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
From: |
Stefan Monnier |
Subject: |
bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode |
Date: |
Wed, 20 Aug 2014 15:44:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> Thank you for the detailed explanation.
> I tried the patch, but the behavior does not changed.
Hmm... yes, sorry, I forgot that many keys are bound to an ESC prefix
(all the "M-" keys). I guess you could use
(define-key input-decode-map [?\e] [escape])
which does seem to work. Of course, that'll only work in the terminal
in which you start. E.g. it won't work when you make-frame-on-display
or if you use emacs-daemon.
Stefan