On Wednesday, October 30, 2002, at 07:45 PM, Thomas McFadden wrote:
yeah, it does, and the carbon version of emacs is great. but i also wantYou might get it to work by directly changing the key mappings with xmodmap. The following worked on my machine:
to use emacs in XDarwin with the mappings i'm familiar with, and that
commond doesn't have the desired effect on GNU Emacs running in X. any
other ideas?
keycode 63 = Mode_switch
keycode 66 = Alt_L
clear mod2
clear mod3
add mod2 = Alt_L
(This is for a PB G3 keyboard, both Option keys are keycode 66. You might have to find their codes on your machine with xev, if they are different.)
If you don't need Mode_switch to access special characters etc., you may leave 63 at Meta_L, which should be its default. Take care not to assign a modifier to Meta_L, for some reason Meta always seems to take precedence, and Alt will no longer act as meta char then. I have also observed the weird behaviour that you need to assign Alt_L to whatever modifier Meta_L was assigned to, i.e. if you had
> xmodmap -pm
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x40), Shift_R (0x44)
lock Caps_Lock (0x41)
control Control_L (0x43), Control_R (0x46)
mod1
mod2
mod3 Meta_L (0x3f)
mod4
mod5
before, you would have to put
add mod3 = Alt_L
into your .Xmodmap instead.
This will of course affect all X11 applications, so if you are e.g. using emacs-mode for command-line editing, you'd have to switch to Opt for the modifier there, too (but that would probably be what you want anyway :-).
HTH,
Derek
--
------------------------------------------------------------------------ -
Derek Homeier
Department of Physics & Astronomy and Center for Simulational Physics
University of Georgia Phone: ++1 (706) 583 8226
Athens, GA 30602-2451, USA Fax: ++1 (706) 542 2492
http://dilbert.physast.uga.edu/~derek/ Email: [EMAIL PROTECTED]
------------------------------------------------------------------------ -
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
