GNU bug report logs - #79070
[PATCH] Fix macOS dictation post NSTextInputClient migration in v30

Previous Next

Package: emacs;

Reported by: Alvaro Ramirez <alvaro <at> xenodium.com>

Date: Mon, 21 Jul 2025 12:27:01 UTC

Severity: normal

Tags: patch

Merged with 76765, 76771

Found in version 30.1

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Alvaro Ramirez <alvaro <at> xenodium.com>, stefankangas <at> gmail.com, shipmints <at> gmail.com, 79070 <at> debbugs.gnu.org, kickingvegas <at> gmail.com
Subject: bug#79070: [PATCH] Fix macOS dictation post NSTextInputClient migration in v30
Date: Mon, 21 Jul 2025 16:02:32 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Alvaro Ramirez <alvaro <at> xenodium.com>
>> Cc: 79070 <at> debbugs.gnu.org,  gerd.moellmann <at> gmail.com,  shipmints <at> gmail.com,
>>   kickingvegas <at> gmail.com,  stefankangas <at> gmail.com
>> Date: Mon, 21 Jul 2025 14:20:24 +0100
>> 
>> > From the discussion of bug#76765, my impression was that the 
>> > problem
>> > was not caused by any change in the Emacs code.  You seem to 
>> > imply
>> > differently?
>> 
>> I looked at changes for v30 and narrowed the regression down to 
>> this change:
>> 
>> https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-07/msg01310.html
>> 
>> To fix macOS dictation, we have two options:
>> 
>> 1. Roll back the patch from msg01310 (migrating to 
>> NSTextInputClient) and re-introduce the warning.
>> 2. Roll forward with a fix on top of the NSTextInputClient 
>> migration.
>> 
>> My patch is for 2.
>
> Gerd, any comments?

I think (1) is not a good option because Apple says in its
documentation, to cite from bug#69525

    Important

    NSTextInput protocol is slated for deprecation. Please use the
    NSTextInputClient protocol instead.

  I guess that's the reason for the warning, and we should switch to using
  NSTextInputClient.





This bug report was last modified 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.