C-M-<char> keybindings in terminal
Hi all, I just noticed that Evil doesn't play well with C-M-<something> bindings when emacs is run under terminal -- just try it with emacs -nw. These bindings all appear to map to evil-esc. (Compare with emacs -Q -nw, these bindings will be interpreted correctly). This is somewhat annoying, since I often run emacs in screen sessions on remote machines. I know that terminal handling of modifier keys can be an interesting subject, but it would be nice if this behavior were fixed. --Leo
Am Thu, 12 Jan 2012 20:02:53 -0600 schrieb Leo Alekseyev <[email protected]>:
Hi all,
I just noticed that Evil doesn't play well with C-M-<something> bindings when emacs is run under terminal -- just try it with emacs -nw. These bindings all appear to map to evil-esc. (Compare with emacs -Q -nw, these bindings will be interpreted correctly). This is somewhat annoying, since I often run emacs in screen sessions on remote machines. I know that terminal handling of modifier keys can be an interesting subject, but it would be nice if this behavior were fixed.
Could you please give a full example what does not work? Does the keybinding not work or is it just C-h k? In the first case that's serious bug and we need a more detailed bug description (e.g., on my machine C-M-x works very well). In the second case this is a well known bug [1] and a fix is underway (available in the fix-esc branch). Frank [1] https://bitbucket.org/lyro/evil/issue/63/c-h-k-reports-is-undefined
On Fri, Jan 13, 2012 at 2:56 AM, Frank Fischer <[email protected]> wrote:
Am Thu, 12 Jan 2012 20:02:53 -0600 schrieb Leo Alekseyev <[email protected]>:
Hi all,
I just noticed that Evil doesn't play well with C-M-<something> bindings when emacs is run under terminal -- just try it with emacs -nw. These bindings all appear to map to evil-esc. (Compare with emacs -Q -nw, these bindings will be interpreted correctly). This is somewhat annoying, since I often run emacs in screen sessions on remote machines. I know that terminal handling of modifier keys can be an interesting subject, but it would be nice if this behavior were fixed.
Could you please give a full example what does not work? Does the keybinding not work or is it just C-h k?
In the first case that's serious bug and we need a more detailed bug description (e.g., on my machine C-M-x works very well). In the second case this is a well known bug [1] and a fix is underway (available in the fix-esc branch).
My bad; it's the second case. I bound the C-M- key to something broken and didn't test extensively, and then thought all C-M bindings were broken due to the ESC bug. False alarm :)
On 13 Jan 2012, Leo Alekseyev wrote:
My bad; it's the second case. I bound the C-M- key to something broken and didn't test extensively, and then thought all C-M bindings were broken due to the ESC bug. False alarm :)
Just to drop it: Testing with `make terminal` and `make emacs` in the evil directory is a good idea ;) Michael
participants (3)
-
Frank Fischer -
Leo Alekseyev -
Michael Markert