C-M-<char> keybindings in terminal

Leo Alekseyev dnquark at gmail.com
Fri Jan 13 11:24:20 CET 2012

On Fri, Jan 13, 2012 at 2:56 AM, Frank Fischer
<frank.fischer at mathematik.tu-chemnitz.de> wrote:
> Am Thu, 12 Jan 2012 20:02:53 -0600
> schrieb Leo Alekseyev <dnquark at gmail.com>:
>> 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 :)

More information about the implementations-list mailing list