unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Subject: Re: Opt/Fn as meta? (emacs on macs)
Date: Fri, 09 May 2003 16:40:01 +0900	[thread overview]
Message-ID: <87znlwin5a.fsf@tleepslib.sk.tsukuba.ac.jp> (raw)
In-Reply-To: 3EBAD9FE.8010806@yahoo.com

>>>>> "Kevin" == Kevin Rodgers <ihs_4664@yahoo.com> writes:

    Kevin> Remember that Esc and Meta are fundamentally different,
    Kevin> even in a default X11 configuration: Meta is a modifier key
    Kevin> (like Ctrl or Alt) that is pressed simultaneously with
    Kevin> another key, whereas Esc is a prefix key that is pressed
    Kevin> before another key (in order to simulate the Meta-modified
    Kevin> key).

I wish that were true.  Unfortunately, it is not.  ESC-as-Meta behaves
somewhat like (setq modifier-keys-are-sticky t).  It does not work the
way other prefix keys do.  It is special-cased at a very low level.

I can say that Kyle's approach of using Ctrl-[ will definitely work as
desired.[1]  If you do any manipulation of the ESC key (eg, with xmodmap
or whatever Apple uses to define the keycode to keysym mapping), you
need to be very careful that the effect is identical to physically
reconnecting the "wires" to the ESC key to a different one.



Footnotes: 
[1]  On second thought, just trust Kyle, don't worry about what I say.
;-)

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.

  reply	other threads:[~2003-05-09  7:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <060520031719451942%ajanta@no.spam>
     [not found] ` <1a61f7e5.0305070021.5feb7ff6@posting.google.com>
     [not found]   ` <bruce-B100FF.23050907052003@copper.ipg.tsnz.net>
     [not found]     ` <m28ythmp8h.fsf@12-211-128-40.client.attbi.com>
2003-05-08 17:37       ` Opt/Fn as meta? (emacs on macs) Sunder
2003-05-08 17:57         ` tristero
2003-05-08 19:08         ` Kyle Jones
2003-05-08 22:28         ` Kevin Rodgers
2003-05-09  7:40           ` Stephen J. Turnbull [this message]
2003-05-09 10:35             ` Ajanta
2003-05-09 10:32               ` tristero
2003-05-09 14:10                 ` Rodney Sparapani
2003-05-09 16:40                   ` tristero
     [not found] <E19EO8n-00029Y-03@monty-python.gnu.org>
2003-05-16  5:06 ` Matthew Calhoun
     [not found] <mailman.6287.1053063307.21513.help-gnu-emacs@gnu.org>
2003-05-16 10:38 ` tristero

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=87znlwin5a.fsf@tleepslib.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.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).