From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: M-<function-key> vs. ESC <function-key>
Date: Wed, 05 Jan 2005 20:43:46 +0100 [thread overview]
Message-ID: <je8y771x1p.fsf@sykes.suse.de> (raw)
In-Reply-To: <E1Cm1tR-0003ID-9w@fencepost.gnu.org> (Richard Stallman's message of "Tue, 04 Jan 2005 22:31:29 -0500")
Richard Stallman <rms@gnu.org> writes:
> > There doesn't seem to be a translation between M-<function-key> and ESC
> > <function-key> for the purpose of keymap lookup.
> >
> > That is true, but I don't think it is a problem.
>
> IMHO it is. Currently you need to bind both M-<func> and ESC <func> to be
> effective for both tty and X (including keyboards without a Meta
> modifier).
>
> Emacs doesn't treat ESC followed by a function key as equivalent to
> Meta, so I don't think you need to bind the former at all.
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2005-01-05 19:43 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 [this message]
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
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=je8y771x1p.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@gnu.org \
/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).