emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 回复: [PATCH] Add IME status change support on windows natively


From: Valtteri Vuorikoski
Subject: Re: 回复: [PATCH] Add IME status change support on windows natively
Date: Mon, 13 Apr 2020 12:18:24 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 2020-04-13 12:06, Eli Zaretskii wrote:
From: Valtteri Vuorikoski <address@hidden>
Date: Mon, 13 Apr 2020 11:50:41 +0300

It's not a huge use case, but FWIW I could use something like this for
multiplatform key bindings, i.e. for having one Emacs binding which:

   * On Windows, toggles the native IME.
   * On Linux, toggles (for example) the ddskk elisp IME.

Mapping the same key with system native shortcuts may be difficult on
Windows. Meanwhile on Linux installing a systemwide CJK IME is somewhat
painful, so it's often convenient to use an elisp IME if CJK input is
needed only now and then. Hence having the toggle happen through Emacs
would be a nice convenience.

By ddskk do you mean a variant of the Japanese input method we have as
part of Emacs, whose dictionary is produced from SKK-DIC?  If so, you
probably toggle it with C-\ or C-u C-\.  But a native IME will have to
be toggled by a different key, and the question is then what key would
be a natural for such a binding?

Yes, I already have such a binding for ddskk. If I understand Albert's proposal correctly, with his patch I could bind C-\ to a lambda that checks system-type and toggles the native IME instead of ddskk when running on Windows (I prefer the native IME completion method to SKK).

 -Valtteri



reply via email to

[Prev in Thread] Current Thread [Next in Thread]