From: David Kastrup <dak@gnu.org>
Cc: Andreas Schwab <schwab@suse.de>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: M-<function-key> vs. ESC <function-key>
Date: Thu, 06 Jan 2005 20:20:21 +0100 [thread overview]
Message-ID: <x5r7ky5pqi.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jwvis6a4drq.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 06 Jan 2005 13:30:50 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> 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
prev parent reply other threads:[~2005-01-06 19:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-03 15:16 M-<function-key> vs. ESC <function-key> Andreas Schwab
2005-01-04 3:36 ` Richard Stallman
2005-01-04 12:01 ` Lennart Borgman
2005-01-05 3:31 ` Richard Stallman
2005-01-04 13:02 ` Andreas Schwab
2005-01-05 3:31 ` Richard Stallman
2005-01-05 19:43 ` Andreas Schwab
2005-01-06 4:54 ` Richard Stallman
2005-01-06 12:16 ` Andreas Schwab
2005-01-07 2:49 ` Richard Stallman
2005-01-07 6:36 ` Miles Bader
2005-01-07 13:14 ` Andreas Schwab
2005-01-06 16:14 ` David Kastrup
2005-01-06 17:36 ` Stefan Monnier
2005-01-06 18:03 ` David Kastrup
2005-01-06 18:30 ` Stefan Monnier
2005-01-06 19:20 ` David Kastrup [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x5r7ky5pqi.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=schwab@suse.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).