Re: Patch for Mouse-wheel
Toshikazu Onishi <[email protected]> Mon, 5 Aug 2002 18:03:41 -0400
| Newsgroups | gmane.emacs.macintosh.devel |
|---|---|
| Message-ID | <20020805220344.26430@localhost> |
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
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf