From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71711: 30.0.50; w32-get-ime-open-status always return t Date: Sat, 22 Jun 2024 10:23:50 +0300 Message-ID: <865xu1jv95.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71711@debbugs.gnu.org To: Eason Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 22 09:25:30 2024 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 1sKv7q-0001MM-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jun 2024 09:25:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKv7Q-0001NL-Bb; Sat, 22 Jun 2024 03:25:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKv7P-0001NC-02 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 03:25:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKv7O-0000gA-Jz for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 03:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKv7N-0006BK-T1 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 03:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2024 07:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71711 X-GNU-PR-Package: emacs Original-Received: via spool by 71711-submit@debbugs.gnu.org id=B71711.171904105023693 (code B ref 71711); Sat, 22 Jun 2024 07:25:01 +0000 Original-Received: (at 71711) by debbugs.gnu.org; 22 Jun 2024 07:24:10 +0000 Original-Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKv6X-0006A5-Mr for submit@debbugs.gnu.org; Sat, 22 Jun 2024 03:24:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKv6U-00069a-IE for 71711@debbugs.gnu.org; Sat, 22 Jun 2024 03:24:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKv6P-0000Pv-19; Sat, 22 Jun 2024 03:24:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=s2b0FvzsGj+g7SJrIjBVwGAD1DkX+dAIOVQbUoluqTg=; b=Tp4Ntsm+so80 Ntz5ac3YsXzsrwlVDsb4c3LtPfomAGdnt4o8yw0tyjHgKrAPrflUWUZqMHnJ9XJ/020XrnDj5j34Y LFpi4lA9ZMY99z2NYEiOMh8JZWKcQBtIpaebTDacx6EcS/0yzKQg3I2uOn64UhxgCx/HoEGk/FC+T 5+SJQwcvX79lgfDFKJqfitNIoWabOejsccVprPCt/2r0wmY4xp64WEuU3aySbfnnLmoEYScqA8HET rLr5fPqAXU9Td3flxNRATIcNvWyMKu+JMGPYfBFRXb3vGe90RC9r0rZJDv2KFBly7zHczEgnJBNwW xDGs38wbKHjaT1nOWyuGxA==; In-Reply-To: (message from Eason Huang on Sat, 22 Jun 2024 08:00:05 +0800) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287659 Archived-At: > From: Eason Huang > Date: Sat, 22 Jun 2024 08:00:05 +0800 > > With the latest version of Windows 10 and Windows 11, the > `w32-get-ime-open-status` and `w32-set-ime-open-status` doesn't works > anymore. > > The `w32-get-ime-open-status` will alway return t. > > Steps to reproduce: > > 1. Start Emacs with ` emacs -Q` > 2. open any buffer(ex. *scratch*) > 3. make sure ativate an input method, here I use the Microsoft Pinyin in > system > > 4. eval `w32-get-ime-open-status` in *scratch* , return t > 3. eval `(w32-set-ime-open-status nil)` and then eval > `w32-get-ime-open-status`, it also return t. nil is expected I cannot reproduce this (but I don't really have Microsoft Pinyin or similar installed). On my Windows 11 system, w32-get-ime-open-status returns nil originally, and if I call (w32-set-ime-open-status t), it then returns t. If our IME support stopped working for some reason, someone knowledgeable about Windows IME will need to debug this and find the reason.