• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: emacs meta key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: emacs meta key


  • Subject: Fwd: emacs meta key
  • From: "William McCallum" <email@hidden>
  • Date: Sat, 11 Jan 2003 17:45:54 -0800

Sent from wrong email, so didn't make list.

Begin forwarded message:

From: William McCallum <email@hidden>
Date: Sat Jan 11, 2003  5:30:32  PM US/Pacific
To: Brian Ellin <email@hidden>
Cc: email@hidden
Subject: Re: emacs meta key

Here are my the contents of my .xinitrc and .Xmodmap files, which I think are the relevant ones to make this work (it also makes the command key the alt-key).

I have emacs21 installed from fink and Apple's x11.

contents of .xinitrc

source /sw/bin/init.sh
#!/bin/sh
# # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# # merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

exec quartz-wm

contents of .Xmodmap

keycode 66 = Meta_L
keycode 63 = Alt_L



On Saturday, January 11, 2003, at 04:08  PM, Brian Ellin wrote:

Hi.

I'm running emacs21-xaw3d(from fink) under apple's X11 and cannot figure out how to set the option key as meta. Has anyone discovered a solution to this problem yet? Thanks.

~Brian
brianATjanrainDOTcom _______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.



(520) 621 6697
http://www.math.arizona.edu/~wmc


(520) 621 6697
http://www.math.arizona.edu/~wmc
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: emacs meta key
  • Next by Date: Re: X11 for Mac OS X F.A.Q.
  • Previous by thread: emacs meta key
  • Next by thread: Applications Menu
  • Index(es):
    • Date
    • Thread