heres what xev is telling me (for tarmak-2):
press left alt (M):
KeyPress event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2182112, (84,-58), root:(1537,457),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2182472, (84,-58), root:(1537,457),
state 0x4018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
press j (qwerty g):
KeyPress event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2544853, (106,-13), root:(1559,502),
state 0x4010, keycode 42 (keysym 0x6a, j), same_screen YES,
XKeysymToKeycode returns keycode: 44
XLookupString gives 1 bytes: (6a) "j"
XmbLookupString gives 1 bytes: (6a) "j"
XFilterEvent returns: False
KeyRelease event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2545013, (106,-13), root:(1559,502),
state 0x4010, keycode 42 (keysym 0x6a, j), same_screen YES,
XKeysymToKeycode returns keycode: 44
XLookupString gives 1 bytes: (6a) "j"
XFilterEvent returns: False
press g (qwerty t):
KeyPress event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2224592, (0,-82), root:(1453,433),
state 0x4010, keycode 28 (keysym 0x67, g), same_screen YES,
XKeysymToKeycode returns keycode: 42
XLookupString gives 1 bytes: (67) "g"
XmbLookupString gives 1 bytes: (67) "g"
XFilterEvent returns: False
KeyRelease event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2224872, (0,-82), root:(1453,433),
state 0x4010, keycode 28 (keysym 0x67, g), same_screen YES,
XKeysymToKeycode returns keycode: 42
XLookupString gives 1 bytes: (67) "g"
XFilterEvent returns: False
press M-g (qwerty M-t):
KeyPress event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2038881, (85,-172), root:(1538,343),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 41, synthetic NO, window 0x3a00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 41, synthetic NO, window 0x3a00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 41, synthetic NO, window 0x0,
keys: 4294967212 0 0 16 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyPress event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2039121, (85,-172), root:(1538,343),
state 0x18, keycode 28 (keysym 0x74, t), same_screen YES,
XLookupString gives 1 bytes: (74) "t"
XmbLookupString gives 1 bytes: (74) "t"
XFilterEvent returns: False
KeyRelease event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2039337, (85,-172), root:(1538,343),
state 0x4018, keycode 28 (keysym 0x67, g), same_screen YES,
XKeysymToKeycode returns keycode: 42
XLookupString gives 1 bytes: (67) "g"
XFilterEvent returns: False
KeyRelease event, serial 41, synthetic NO, window 0x3a00001,
root 0xa5, subw 0x0, time 2039673, (85,-172), root:(1538,343),
state 0x4018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
note the weirdness going on with the keypress and keyrelease for 'g' (in the M-g) being different; on press it is 't' and on release it is 'g' - could this be the root of the problem?
I notice also that:
XKeysymToKeycode returns keycode: 42
is missing from the 'g' key press for 'M-g' as opposed to the xev output for just pressing 'g'
This would tally with the behaviour in emacs, i.e. M-g-g is doing a double 'transpose' rather than 'goto-line', i.e emacs is executing M-t twice
Last edited by bph (28-Jun-2013 11:27:03)