From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: M- vs. ESC Date: Thu, 06 Jan 2005 20:20:21 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105039390 26010 80.91.229.6 (6 Jan 2005 19:23:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2005 19:23:10 +0000 (UTC) Cc: Andreas Schwab , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 06 20:23:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmdDo-00048N-00 for ; Thu, 06 Jan 2005 20:23:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmdP7-0000yX-Jc for ged-emacs-devel@m.gmane.org; Thu, 06 Jan 2005 14:34:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmdNg-0000IM-6L for emacs-devel@gnu.org; Thu, 06 Jan 2005 14:33:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmdNe-0000HW-DP for emacs-devel@gnu.org; Thu, 06 Jan 2005 14:33:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmdNe-0000H4-AW for emacs-devel@gnu.org; Thu, 06 Jan 2005 14:33:10 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CmdBI-0003qw-GS for emacs-devel@gnu.org; Thu, 06 Jan 2005 14:20:24 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Cmd4e-0003ye-Nr; Thu, 06 Jan 2005 14:13:33 -0500 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Thu, 06 Jan 2005 13:30:50 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31966 Stefan Monnier writes: >>>>> Yes, I do, because that's what Emacs is receiving when I press >>>>> Meta-left, for example. More specifically, when I type >>>>> Meta-left at Emacs running in xterm it receives the key sequence >>>>> [?\e ?\e ?O ?D], which gets translated to [?\e left] through >>>>> function-key-map. >>>>> >>>>> That is a surprise to me. Someone must have changed this in recent >>>>> years. >>> >>>> He did not say what his input terminal is. It may not be X. >>> >>> He said it's an xterm. > >> Which is not X. So Emacs never gets to see Meta. > > Please re-read: he presses M-left, which xterm turns into [?\e ?\e > ?O ?D] and which function-key-map transforms to [?\e left] and the > lookup with [?\e left] fails to find the M-left binding to > backward-word. > > In contrast, M-C-f is turned by xterm into [?\e ?\C-f] which > function-key-map leaves alone and the lookup for [?\e ?\C-f] > successfully finds the M-C-f binding to forward-sexp. I should work on my attention span. I even quoted the relevant passage. And contributed complete nonsense. As a kind of excuse, I have had net access only in the mniddle of the night in the last few days, and my niece (where I have been visiting) tended to wake me up at 8am, so the time for sleeping has been in short supply. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum