[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-snapshot keybinding problem
From: |
Peter Dyballa |
Subject: |
Re: emacs-snapshot keybinding problem |
Date: |
Sat, 31 Dec 2005 00:52:47 +0100 |
Am 30.12.2005 um 19:31 schrieb Angelina Carlton:
From xev and keysymdef.h
+---------------------------------------------+
|on kb number hex symbol #define: |
|---------------------------------------------|
|F13 182 0x0 NoSymbol |
|F14 183 0xFFCB F14 XK_F14, XK_L4|
|F15 184 0xFFCC F15 XK_F15, XK_L5|
|F16 93 0x0 NoSymbol |
|LOPT 115 0xFFCA F13 XK_F13, XK_L3|
|ROPT 116 0xFFCD F16 XK_F16, XK_L6|
+---------------------------------------------+
So the physical key "left option" is bound to F13 and "right option" is
bound to F16. Hopefully I can remap these now to play nicely with
emacs22
No, no: NoSymbol is perfect! If there is already a symbol (name) set
for a key, you'll have to re-associate this key with a new symbol:
keysym F14 = F15 ! not really clever
If you see 'NoSymbol' reported, then it's just a 'free' (unbound) key
(therefore they all give ASCII-Nul). Right now you have F13...F16
'defined' in X11, you can use them by pressing the keys LOPT, F14, F15,
ROPT. To change this you'll need to set:
keycode 182 = F13
keycode 93 = F16
After this you'll two F13 and two F16. The left and right option keys
are useful as modifiers, super and Hyper, if you already have Alt and
Meta. The more 'modifiers' you have, the more keybindings you can use
(Alt-super-Shift-Meta-Hyper-Control-F15)!
keycode 115 = Hyper
add Mod4 = Hyper
keycode 115 = super
add Mod5 = super
You probably know what xmodmap -pm shows? And you probably already
learned that you can re-map the keys in X11 at once, without re-boot,
log-off and -in, shutting X11 down and re-launching it?
--
Greetings
Pete
"Specifications are for the weak and timid!"