Re: Why doesn't alt-x in Emacs doesn't work?
The way emacs sets up the meta key is somewhat a mystery to me. Here is the output on my machine from `xmodmap': xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lockCaps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1Alt_L (0x40) mod2Num_Lock (0x4d) mod3Mode_switch (0x71) mod4 mod5Scroll_Lock (0x4e) So if you get Alt_L bound to mod1, you should be back in business. Strange things happens if you start moving modifiers around to other mod's or have the Meta key bound in somewhere, at least enough that it made my head spin once I tried setting up Caps_lock as yet another modifier key. (can't have too many of these with emacs :-) ---+-- Christian Lynbech | Ericsson Telebit, Fabrikvej 11, DK-8260 Viby J Fax: +45 8675 6881 | email: [EMAIL PROTECTED] Phone: +45 8675 6828 | web: www.ericssontelebit.com ---+-- Hit the philistines three times over the head with the Elisp reference manual. - [EMAIL PROTECTED] (Michael A. Petonic)
Re: Why doesn't alt-x in Emacs doesn't work?
I solved this recently for KDE 2. My solution was 1) Use the xev command in an xterm to find out what keycode the Alt key is. (mine is 64) 2) Put the equivalent line in .xmod (or .xmodmap) keycode 64 = Meta_L 3) execute xmodmap .xmod 4) start emacs and try. Tom On 04 3:30 am, Scott V. McGuire wrote: In a recently installed and apg-get dist-upgraded potato, I can't use alt-x in emacs. Does anyone know why? (I know I can use escape-x, but I'm used to alt-x) Thanks,
Why doesn't alt-x in Emacs doesn't work?
Scott == Scott V McGuire [EMAIL PROTECTED] writes: Scott In a recently installed and apg-get dist-upgraded potato, I Scott can't use alt-x in emacs. Does anyone know why? Scott (I know I can use escape-x, but I'm used to alt-x) Scott, I've had a problem like this before, and learned (from some xemacs discussion archives) that my solution was to put these lines in my .bashrc: xmodmap -e 'remove Mod1 = Alt_R' xmodmap -e 'remove Mod4 = Meta_L' Now, I'm not sure we have the same problem. Go ahead and try this (make sure you log out of and then back in to X first). If it works, great. If not, then try again. Dan -- -- Dan Griswold [EMAIL PROTECTED] 2004 Greenview Drive Carrollton, TX 75010 (972) 394-2800 --
Re: Why doesn't alt-x in Emacs doesn't work?
I just asked this question last week. What you probably need are the following lines in the keyboard section of your /etc/XF86Config file: Section Keyboard LeftAlt Meta RightAltMeta Cheers Chris On Fri, 3 Nov 2000, Scott V. McGuire wrote: In a recently installed and apg-get dist-upgraded potato, I can't use alt-x in emacs. Does anyone know why? (I know I can use escape-x, but I'm used to alt-x) Thanks, -- Scott V. McGuire [EMAIL PROTECTED] I lost my GnuPG Key. Nobody ever sent me the secret plans anyway. GnuPG is at http://www.gnupg.org/ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Why doesn't alt-x in Emacs doesn't work?
In a recently installed and apg-get dist-upgraded potato, I can't use alt-x in emacs. Does anyone know why? (I know I can use escape-x, but I'm used to alt-x) Thanks, -- Scott V. McGuire [EMAIL PROTECTED] I lost my GnuPG Key. Nobody ever sent me the secret plans anyway. GnuPG is at http://www.gnupg.org/
Re: Why doesn't alt-x in Emacs doesn't work?
Hi Scott, Quoth Scott V. McGuire, In a recently installed and apg-get dist-upgraded potato, I can't use alt-x in emacs. Does anyone know why? (I know I can use escape-x, but I'm used to alt-x) For some reason, I think meta (alt) was changed from the alt key to the windows key (presuming you have a windows keyboard). Try using the windows key - if that works, that's what it is. As for how to change it back, I have no idea. I'm sure someone here does though. cheers, damon -- Damon Muller | Did a large procession wave their torches Criminologist/Linux Geek | As my head fell in the basket, http://killfilter.com | And was everybody dancing on the casket... PGP (GnuPG): A136E829 | - TBMG, Dead pgpNdv52aL0kA.pgp Description: PGP signature
Re: Why doesn't alt-x in Emacs doesn't work?
Thanks Damon, I don't have a windows keyboard, but this may help me in my hunt for the offending config file. There's something about windows keys in /usr/X11R6/lib/X11/xmodmap.std. Maybe fiddling with that will help. On Sat, Nov 04, 2000 at 02:45:06PM +1100, Damon Muller wrote: Hi Scott, Quoth Scott V. McGuire, In a recently installed and apg-get dist-upgraded potato, I can't use alt-x in emacs. Does anyone know why? (I know I can use escape-x, but I'm used to alt-x) For some reason, I think meta (alt) was changed from the alt key to the windows key (presuming you have a windows keyboard). Try using the windows key - if that works, that's what it is. As for how to change it back, I have no idea. I'm sure someone here does though. cheers, damon -- Damon Muller | Did a large procession wave their torches Criminologist/Linux Geek | As my head fell in the basket, http://killfilter.com | And was everybody dancing on the casket... PGP (GnuPG): A136E829 | - TBMG, Dead -- Scott V. McGuire [EMAIL PROTECTED] I lost my GnuPG Key. Nobody ever sent me the secret plans anyway. GnuPG is at http://www.gnupg.org/