From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tsuucat via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44641: [PATCH] Ignore modifiers when processing WM_IME_CHAR messages Date: Mon, 16 Nov 2020 12:07:26 +0900 Message-ID: References: <37440825-0135-48E1-A5A0-1DB122C09F6A@icloud.com> <834klrvokf.fsf@gnu.org> Reply-To: tsuucat Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8076"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44641@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 16 04:08:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1keUsD-0001xl-Ub for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 04:08:09 +0100 Original-Received: from localhost ([::1]:57194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keUsC-0007Qw-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 22:08:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keUs6-0007Qi-VG for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 22:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keUs6-00051N-L0 for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 22:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keUs6-0000Ag-Fe for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 22:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tsuucat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Nov 2020 03:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44641 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44641-submit@debbugs.gnu.org id=B44641.1605496058624 (code B ref 44641); Mon, 16 Nov 2020 03:08:02 +0000 Original-Received: (at 44641) by debbugs.gnu.org; 16 Nov 2020 03:07:38 +0000 Original-Received: from localhost ([127.0.0.1]:54723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keUri-0000A0-H6 for submit@debbugs.gnu.org; Sun, 15 Nov 2020 22:07:38 -0500 Original-Received: from pv50p00im-zteg10021301.me.com ([17.58.6.46]:49544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keUrg-00009l-1F for 44641@debbugs.gnu.org; Sun, 15 Nov 2020 22:07:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1605496050; bh=FqkbZfII6YlZoE2QrjQxu93RxalZXbZWpeYMWT0Y41k=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=THULtkS7q+IEMdKV4I92tjqYvDVa/jvkkIcQk5n3CVTJ9jlaW74ByGuRuHD+hYQxh bg4UO+hB2iKu+90EZ2hqkX2qL2J6MS/cqOg7bZa38S/VP2bTNxeaDLeOgt9n55dTaf iqygVNvuqK87bh8/Z8PWwSaPhYXOaRDuCKJN8cmIr1gqrOwDPBQNYZEV3lukyqvMa0 Nzc4BpTCLt9pR5e3Lp+NyXOEsufCujYe/IAZIgup7CFOb/TOzUyKgg5balUFzAN8cs 5NuRCl9yf3M1wUZDM/L+doaQw81sRWUBZy/XBHHRyB9YwiHjNPlN/+l611zO2GxOED jTIWHFE0FHYkA== Original-Received: from [192.168.129.26] (i114-186-197-142.s41.a008.ap.plala.or.jp [114.186.197.142]) by pv50p00im-zteg10021301.me.com (Postfix) with ESMTPSA id D825CCC029A; Mon, 16 Nov 2020 03:07:28 +0000 (UTC) In-Reply-To: <834klrvokf.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-16_01:2020-11-13, 2020-11-16 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011160021 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193404 Archived-At: >> Current Emacs for Windows recognizes modifier keys even when inputting >> with IME. Some IMEs use modifier keys to input characters, so this >> causes inconvenient for such IME users. > > You say "some IMEs", so I wonder whether ignoring modifier keys for > WM_IME_CHAR is always the right thing. Do you know for sure? is that > documented somewhere? (I'm not an expert on MS-Windows IMEs.) I believe this change will not affect other IME users. Other IME users simply don't use modifier keys to input multibyte characters. For example, Chinese IME users type Space to select and input the candidate, but typing Ctrl+Space doesn't mean users select and input the candidate (= WM_IME_CHAR messages will not happen). Some Japanese IME users type Ctrl+m or Ctrl+n to select and input the candidate and they want to send Ctrl to IME not to Emacs. I don't have just the right documentation but this change just follows the way X build Emacs does. -- tsuucat