Re: emacs, X, and Alt key
I, like Thomas Vaughan, have been having problems getting emacs to
recognise the Alt key under X. (The system is a Toshiba laptop.)
Daniel Martin wrote:
> What is the result of the following commands:
> xmodmap
> xmodmap -pke | grep -E '64|11[356]'
Here are the results:
$ xmodmap
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3
mod4 Meta_L (0x73), Meta_R (0x74)
mod5 Scroll_Lock (0x4e)
$ xmodmap -pke | grep -E '64|11[356]'
keycode 64 = Alt_L
keycode 113 = Alt_R
keycode 115 = Meta_L
keycode 116 = Meta_R
I can't see anything particularly wrong here - but then, I'm no expert.
Is something not right?
Peter Galbraith wrote:
> Run `xev' and press the Alt keys to find what keycode they generate
I did this and got:
KeyPress event, serial 21, synthetic NO, window 0x2c00001,
root 0x2a, subw 0x0, time 535084486, (-5,-23), root:(380,198),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 21, synthetic NO, window 0x2c00001,
root 0x2a, subw 0x0, time 535084676, (-5,-23), root:(380,198),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 characters: ""
Seems fine. No?
Well I don't know what to do from here. Any ideas?
Thanks,
Mark.
__________________________________________________________________________
_\________/___\______/___________________________Mark_Phillips___________/
____\__/_____\__/--\__/__________________________mark@ist.flinders.edu.au/
____\__/HE___\__/------APTAIN/ ________________________________
____\__/_____\__/--\__/______/ /__"To be is to do."__I. Kant___/
____\__/______\______/_______/ /__"To do is to be."__A. Sartre_/
/__"I am."____________God_______/
/__Jesus did.___________________/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: