all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dan Nicolaescu <dann@gnu.org>
Cc: "T.V. Raman" <tv.raman.tv@gmail.com>, emacs-devel@gnu.org
Subject: Re: Ubuntu 10.0: TERM=Linux: facemenu steals arrow keys
Date: Mon, 09 Jan 2012 08:59:08 -0500	[thread overview]
Message-ID: <jwvfwfpf097.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <yxqty45ntvt.fsf@fencepost.gnu.org> (Dan Nicolaescu's message of "Mon, 09 Jan 2012 03:48:54 -0500")

>>> 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	other threads:[~2012-01-09 13:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07 19:10 Ubuntu 10.0: TERM=Linux: facemenu steals arrow keys T. V. Raman
2012-01-08  5:50 ` Dan Nicolaescu
     [not found]   ` <CADkJX2jtwKuvhS_Es7ELafq+bVsVb79q2Vi4EV+PYh-9LBDxjA@mail.gmail.com>
     [not found]     ` <yxqr4z9u5k1.fsf@fencepost.gnu.org>
     [not found]       ` <CADkJX2jqDEhzU46GTR8H6ti8U8oWjGA=JFL3k_wK-2DBQOW+Sw@mail.gmail.com>
     [not found]         ` <yxqty45fwn3.fsf@fencepost.gnu.org>
     [not found]           ` <20234.20416.484712.470008@gargle.gargle.HOWL>
2012-01-09  3:30             ` Dan Nicolaescu
2012-01-08 14:09 ` Stefan Monnier
2012-01-08 19:57   ` T.V. Raman
2012-01-09  1:01     ` Stefan Monnier
2012-01-09  8:48       ` Dan Nicolaescu
2012-01-09 13:59         ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfwfpf097.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tv.raman.tv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.