From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Ubuntu 10.0: TERM=Linux: facemenu steals arrow keys Date: Mon, 09 Jan 2012 08:59:08 -0500 Message-ID: References: <20232.39090.943202.772602@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326117568 6834 80.91.229.12 (9 Jan 2012 13:59:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 13:59:28 +0000 (UTC) Cc: "T.V. Raman" , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 09 14:59:23 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkFkw-0001dB-A3 for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2012 14:59:22 +0100 Original-Received: from localhost ([::1]:41420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkFkv-00036Y-Sa for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2012 08:59:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkFkq-000367-A5 for emacs-devel@gnu.org; Mon, 09 Jan 2012 08:59:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkFkm-0005PK-8v for emacs-devel@gnu.org; Mon, 09 Jan 2012 08:59:16 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkFkm-0005PD-4X; Mon, 09 Jan 2012 08:59:12 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q09DxA2D023439; Mon, 9 Jan 2012 08:59:10 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9ADF658F7E; Mon, 9 Jan 2012 08:59:08 -0500 (EST) In-Reply-To: (Dan Nicolaescu's message of "Mon, 09 Jan 2012 03:48:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4095=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4095> : streams <718151> : uri <1043561> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147512 Archived-At: >>> 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 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