unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ehud Karni" <ehud@unix.mvs.co.il>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help producing the Alt modifier
Date: Fri, 2 May 2003 17:17:31 +0300	[thread overview]
Message-ID: <200305021417.h42EHV69031679@beta.mvs.co.il> (raw)
In-Reply-To: <5lu1cegvpx.fsf@rum.cs.yale.edu> (message from Stefan Monnier on 01 May 2003 18:15:06 -0400)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01 May 2003 18:15:06 -0400, Stefan Monnier <monnier+gnu.emacs.help/news/@rum.cs.yale.edu> wrote:
>                          
> >>>>> "Kai" == Kai Grossjohann <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.

M-<char> can be different from ESC <char> even in current emacs.
I use the following command:
       (setq meta-prefix-char nil)         ;; no meta char (ESC is escape)
and here are the key description for M-c and ESC c :
  M-c runs the command Alt-C
     which is an alias for `compute' in `FK'.
  ESC c runs the command capitalize-word

Ehud.


- -- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:ehud@unix.mvs.co.il                  Better  Safe  Than  Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE+sn36LFvTvpjqOY0RAlXMAJ9ZJKUvD9r3dAoyd6XXtw/vKpkWqgCggMVm
SSer/dA+QufpJHOHyjEJO2g=
=ftye
-----END PGP SIGNATURE-----

  reply	other threads:[~2003-05-02 14:17 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
2003-05-02 14:17         ` Ehud Karni [this message]
     [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

  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=200305021417.h42EHV69031679@beta.mvs.co.il \
    --to=ehud@unix.mvs.co.il \
    --cc=help-gnu-emacs@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.
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).