From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.help Subject: Re: Opt/Fn as meta? (emacs on macs) Date: Fri, 09 May 2003 16:40:01 +0900 Organization: The XEmacs Project Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87znlwin5a.fsf@tleepslib.sk.tsukuba.ac.jp> References: <060520031719451942%ajanta@no.spam> <1a61f7e5.0305070021.5feb7ff6@posting.google.com> <080520031142459136%sunder_3291@hotmail.nospam> <3EBAD9FE.8010806@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052466378 26514 80.91.224.249 (9 May 2003 07:46:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 May 2003 07:46:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 09 09:46:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19E2a7-0006tM-00 for ; Fri, 09 May 2003 09:46:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19E2Zu-0001uE-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 09 May 2003 03:46:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!tleepslib.sk.tsukuba.ac.JP!not-for-mail Original-Newsgroups: comp.sys.mac.apps,comp.sys.mac.system,comp.emacs,comp.emacs.xemacs,gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: tleepslib.sk.tsukuba.ac.jp (130.158.98.109) Original-X-Trace: fu-berlin.de 1052466059 19468746 130.158.98.109 (16 [117150]) User-Agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.5 (cabbage) Cancel-Lock: sha1:0yoTlJIFEes8CaOI31s0NGTomH4= Original-Xref: shelby.stanford.edu comp.sys.mac.apps:360941 comp.sys.mac.system:586476 comp.emacs:79125 comp.emacs.xemacs:70849 gnu.emacs.help:112974 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9469 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9469 >>>>> "Kevin" == Kevin Rodgers 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.