>>>> "AM" == Alexey Mahotkin
<alexm(a)hsys.msk.ru> writes:
AM> (gdb) bt #0 maybe_define_x_key_as_self_inserting_character
AM> (keysym=1791, symbol=138277596) at
AM> /var/src/xemacs-21.4.1/src/event-Xt.c:188 #1 0x816531a in
AM> x_reset_key_mapping (d=0x8239058) at
AM> /var/src/xemacs-21.4.1/src/event-Xt.c:356 #2 0x81699e0 in
AM> emacs_Xt_mapping_action (w=0x84463c8, event=0xbffff62c) at
AM> /var/src/xemacs-21.4.1/src/event-Xt.c:864 #3 0x400fa683 in _XtMatchAtom
AM> () from /usr/X11R6/lib/libXt.so.6
AM> As you see, there is x_reset_key_mapping() every time I type a Cyrillic
AM> character. I do not think it is feature.... Any thoughts?
Here is how the Cyrillic_HARDSIGN (Shift + Cyrillic_hardsign) handled by
xev:
MappingNotify event, serial 27, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 127
MappingNotify event, serial 27, synthetic NO, window 0x0,
request MappingModifier, first_keycode 216, count 26
KeyPress event, serial 28, synthetic NO, window 0x4800001,
root 0x26, subw 0x0, time 1927226739, (197,-96), root:(325,53),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 28, synthetic NO, window 0x4800001,
root 0x26, subw 0x0, time 1927227077, (197,-96), root:(325,53),
state 0x1, keycode 35 (keysym 0x6ff, Cyrillic_HARDSIGN), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 28, synthetic NO, window 0x4800001,
root 0x26, subw 0x0, time 1927227119, (197,-96), root:(325,53),
state 0x1, keycode 35 (keysym 0x6ff, Cyrillic_HARDSIGN), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 28, synthetic NO, window 0x4800001,
root 0x26, subw 0x0, time 1927227139, (197,-96), root:(325,53),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 characters: ""
I do not know what is MappingNotify and is there really a need to
x_reset_key_mapping() every time it appears...
--alexm