From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ajanta Newsgroups: gmane.emacs.help Subject: Re: Opt/Fn as meta? (emacs on macs) Date: Fri, 09 May 2003 10:35:48 GMT Organization: Prodigy Internet http://www.prodigy.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <090520030440528694%ajanta@no.spam> References: <060520031719451942%ajanta@no.spam> <1a61f7e5.0305070021.5feb7ff6@posting.google.com> <3EBAD9FE.8010806@yahoo.com> <87znlwin5a.fsf@tleepslib.sk.tsukuba.ac.jp> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1052473561 25091 80.91.224.249 (9 May 2003 09:46:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 May 2003 09:46:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 09 11:46:00 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 19E4RR-0006UE-00 for ; Fri, 09 May 2003 11:45:25 +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 19E4Rf-0004VX-02 for gnu-help-gnu-emacs@m.gmane.org; Fri, 09 May 2003 05:45:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-xfer.cox.net!news.astraweb.com!news-small.astraweb.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail Original-Newsgroups: comp.sys.mac.apps,comp.sys.mac.system,comp.emacs,comp.emacs.xemacs,gnu.emacs.help Mail-Copies-To: nobody User-Agent: Thoth/1.6.0 (Carbon/OS X) Original-Lines: 17 Original-NNTP-Posting-Host: 68.75.160.29 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssrv26.news.prodigy.com 1052476548 ST000 68.75.160.29 (Fri, 09 May 2003 05:35:48 CDT) Original-NNTP-Posting-Date: Fri, 09 May 2003 05:35:48 CDT X-UserInfo1: Q[R_PJONTRUABPX[\JIH^TD@\JT@QDDMEPWXODMMHXMTWA]EPMTKAH_[JTXDX_KI\VB]JBVMS^YT_G[CZVWAOS\DHFWEH]@KGXYHB\_CMDSFABP^J[AHHRKARLE_JDBLJ\XA[JRMEI]MGJSPB\Y]^KG\@S^@VQKI_Q[G@@_ACSARASDEFLBJ]S\GFNTUAVBL Original-Xref: shelby.stanford.edu comp.sys.mac.apps:360944 comp.sys.mac.system:586485 comp.emacs:79127 comp.emacs.xemacs:70850 gnu.emacs.help:112979 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:9474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9474 Stephen J. Turnbull wrote: > 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... Ctrl-[ trick is certainly nice. But I would also like to try defining Option as Meta. What is the .emacs command for this? Thanks. (BTW, there is a very nifty unitity called Ucontrol which lets you redefine keys at the OS level. The original motivation was to do something useful with Caps Lock. However, OSX has no sense of emacs's meta, so I can't use Ucontrol for this purpose.)