emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ubuntu 10.0: TERM=Linux: facemenu steals arrow keys


From: Stefan Monnier
Subject: Re: Ubuntu 10.0: TERM=Linux: facemenu steals arrow keys
Date: Mon, 09 Jan 2012 08:59:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

>>> Culprit in facemenu.el: (define-key global-map "\M-o" 'facemenu-keymap)
>> Oh, right.  So the real problem is the use of ESC O D escape sequences.
>> AFAIK these sequences aren't used any more in current
>> terminal emulators.
> Please try in an xterm:
> emacs -nw
> C-q <left>

Duh... yes, I see I'm really dense these days.  Indeed, once
input-decode-map is setup properly, there's no conflict since facemenu
uses the "ESC o" prefix whereas the cursor movement uses "ESC O".
But in the absence of the input-decode-map, "ESC O" ends up unbound, so
Emacs tries to downcase the key to find a binding (which it does find).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]