Josip Gracin wrote:
I have my Win key mapped to act as Super key and this works in GNU
Emacs, but in XEmacs it is ignored. Pressing, for example, Win-x runs
self-insert-command for 'x'. Obviously, Super key is not detected.
This happens in XEmacs 21.5.27 as well as in 21.4.19 which comes with
Ubuntu 6.10.
% xmodmap -pm
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_L (0x42), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71),
ISO_Level3_Shift (0x7c)
Any ideas how to make this work?
Each modifier bit has to be associated with at most one modifier (Alt,
Meta, Hyper, Super).
You have mod1 associated with both Alt and Meta, and mod4 associated
with both Super and Hyper. This won't work, as XEmacs cannot figure
out which modifiers the mod1 and mod3 bits are supposed to represent.
It normally generates a warning about this situation.
You also need to take into account the fact that some toolkits (e.g.
GTK) blindly treat mod1 as "the Alt/Meta modifier", while Xt and
XEmacs handle modifier bits according to which keysyms are bound to
them (as dictated by the ICCCM).
Note that you cannot have all six of the Alt, Meta, Hyper, Super,
Num_Lock and Mode_switch/ISO_Level3_Shift modifiers; there simply
aren't enough bits (the Shift, Control and Lock modifiers are
restricted to specific keysyms: Shift_L/R, Control_L/R and either
Shift_Lock or Caps_Lock; binding them to other keysyms won't work).
--
Glynn Clements <glynn(a)gclements.plus.com>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta