all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Help producing the Alt modifier
Date: 01 May 2003 18:15:06 -0400	[thread overview]
Message-ID: <5lu1cegvpx.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 84wuha6g84.fsf@lucy.is.informatik.uni-duisburg.de

>>>>> "Kai" == Kai Großjohann <kai.grossjohann@gmx.net> writes:
> translates <escape> into ESC (which is the same as C-[).  There is
> also additional magic that makes M-x be the same as ESC x, but I
> don't know how that works.  It's different magic, I think.

Yes, that magic is hardcoded in keymap.c (mostly in access_keymap
and Fdefine_key).  Note that it does not apply to Meta + function key,
so ESC a == M-a but M-f8 != ESC f8.

I think it would be interesting to make this less hard-coded and
generalize it so that other modifiers can be mapped to prefixes.


        Stefan

  reply	other threads:[~2003-05-01 22:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <brjra.39656$mZ4.458546@news.xtra.co.nz>
2003-04-29  6:51 ` Help producing the Alt modifier Klaus Zeitler
     [not found]   ` <5SBra.42419$mZ4.495512@news.xtra.co.nz>
2003-04-30  5:30     ` Klaus Zeitler
     [not found]       ` <k5Zra.46248$mZ4.552438@news.xtra.co.nz>
2003-05-03  4:24         ` Bijan Soleymani
2003-05-03 11:41           ` Marco Parrone
2003-04-30 14:26 ` Kai Großjohann
     [not found]   ` <uPZra.46360$mZ4.553032@news.xtra.co.nz>
2003-05-01 11:47     ` Kai Großjohann
2003-05-01 22:15       ` Stefan Monnier [this message]
2003-05-02 14:17         ` Ehud Karni
     [not found]         ` <mailman.5490.1051885088.21513.help-gnu-emacs@gnu.org>
2003-05-02 16:21           ` Stefan Monnier
2003-05-05  1:25         ` Alexander Nikolov
2003-05-05  6:10           ` Kai Großjohann
2003-05-10  1:24             ` Alexander Nikolov
2003-05-10 15:07               ` Alexander Nikolov
     [not found]       ` <V1jsa.49550$mZ4.583907@news.xtra.co.nz>
2003-05-02  9:16         ` Luis O. Silva
2003-05-02 12:25         ` Kai Großjohann
     [not found]         ` <mailman.5480.1051867002.21513.help-gnu-emacs@gnu.org>
     [not found]           ` <73fta.58420$mZ4.668797@news.xtra.co.nz>
2003-05-05  7:36             ` Klaus Zeitler
2003-05-06  2:53             ` Bijan Soleymani

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=5lu1cegvpx.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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.