Patch for src/xterm.c of Emacs-21.4a
--- xterm.c.orig 2006-05-26 21:51:44.000000000 +0900
+++ xterm.c 2006-05-26 21:51:35.000000000 +0900
@@ -10407,11 +10407,13 @@
/* make_lispy_event turns chars into control chars.
Don't do it here because XLookupString is too eager. */
+ /*
event.xkey.state &= ~ControlMask;
event.xkey.state &= ~(dpyinfo->meta_mod_mask
| dpyinfo->super_mod_mask
| dpyinfo->hyper_mod_mask
| dpyinfo->alt_mod_mask);
+ */
/* In case Meta is ComposeCharacter,
clear its status. According to Markus Ehrnsperger
Last modified : 14 August 2006