From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Valtteri Vuorikoski Newsgroups: gmane.emacs.devel Subject: Re: =?utf-8?B?5Zue5aSN77ya?= [PATCH] Add IME status change support on windows natively Date: Mon, 13 Apr 2020 11:50:41 +0300 Message-ID: References: <83k12kj8b7.fsf@gnu.org> <83h7xoj5s2.fsf@gnu.org> <83ftd7kj5n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127308"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (berkeley-unix) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 13 10:53:26 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNuqM-000X1c-3T for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Apr 2020 10:53:26 +0200 Original-Received: from localhost ([::1]:41812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNuqL-0006g5-1O for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Apr 2020 04:53:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43973) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNunz-0005xq-8c for emacs-devel@gnu.org; Mon, 13 Apr 2020 04:51:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNuns-0005KL-Po for emacs-devel@gnu.org; Mon, 13 Apr 2020 04:50:58 -0400 Original-Received: from mail.netcrew.fi ([2001:67c:15c:1::62:1]:36276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNunr-0005GW-TU for emacs-devel@gnu.org; Mon, 13 Apr 2020 04:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=notcom.org; s=nc2; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xKKXMzceGzgBwna9bLJZQEdTtlJvN4ToFrYjOp7Pc0k=; b=UPwlBIStQGCg53eQ/VCDC3kjwm +loK+NO9cCd5oCH3RhD0VaXis7tvwI1U3KRoc+BucAWJi9lLmtUYBb7Ic5zIzKA8TLuG8cj2pmV4I Bd9iRyXfPQ3dQgMqXnqdd21tiKxSjNAn9c+f875AkC48pk4jw+z8eOExZsCdUQCdyb7U=; Original-Received: from re.test.fi ([85.188.1.89] helo=re) by mail.netcrew.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jNunn-0006xa-Po for emacs-devel@gnu.org; Mon, 13 Apr 2020 11:50:47 +0300 In-Reply-To: <83ftd7kj5n.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 13 Apr 2020 09:13:24 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:15c:1::62:1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246901 Archived-At: Eli Zaretskii writes: >> From: "Albert" >> Sometimes I need to input some chinese by open IME in evil insert mode when I press to enable >> IME, when I press to normal mode, IME is still open for chinese input, I have to press to >> disable IME otherwise IME will still works for chinese input which stops me from do some commands like >> move the cursor in evil. > > I see. Do you envision situations where Emacs users that don't use > Evil or other Vi emulations would want to turn off IMM? For example, > what about modes like view-mode and log-view-mode (and their > derivatives)? 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. -Valtteri