help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opt/Fn as meta? (emacs on macs)


From: Stephen J. Turnbull
Subject: Re: Opt/Fn as meta? (emacs on macs)
Date: Fri, 09 May 2003 16:40:01 +0900
User-agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.5 (cabbage)

>>>>> "Kevin" == Kevin Rodgers <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]