Re: [Mac-emacs-devel] Patch for Mouse-wheel
Brought to you by:
akochoi
From: Toshikazu O. <ohnishi@a.phys.nagoya-u.ac.jp> - 2002-08-05 22:03:37
|
Hi, Thank you for the quick response. I tried the patch and found that I can enter Japanese characters through Japanese Input Method. However, the script switching key, i.e, command+space, doesn't work. It is natural that command keyboard events directly passes to ReceiveNextEvent as you wrote. I changed the line; if (!(er.modifiers & cmdKey)) { to if(1){ then the command+space worked. I don't know for sure that this modification introduces another bug, although it seems fine for me. By the way, I also tried to change the above line to if (!(er.modifiers & controlKey) || (er.modifiers & cmdKey) || (er.modifiers & optionKey)) { This is very useful for me because only the contorl+key event is directly send to the event manager, so that I don't need to switch from Japanese mode to Roman mode when I would like to issue control+key command in emacs. If someone assigns the control+key sequence to some Japanese input method functions, there will be some problems. Toshikazu Onishi |