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>

Full log


Message #136 received at 79070 <at> debbugs.gnu.org (full text, mbox):

From: Alvaro Ramirez <alvaro <at> xenodium.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, stefankangas <at> gmail.com, shipmints <at> gmail.com,
 79070 <at> debbugs.gnu.org, kickingvegas <at> gmail.com
Subject: Re: bug#79070: [PATCH] Fix macOS dictation post NSTextInputClient
 migration in v30
Date: Wed, 23 Jul 2025 14:02:28 +0100
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> Thanks, but one of my previous comments, viz.:
>
>   This should explain better what are the indications of the 
>   problem.
>
> is still not addressed.

Updated PROBLEMS in 
0006-Enabled-macOS-dictation-post-NSTextInputClient-migration.patch.
Hope that's better now.

>> A tiny bit of additional info with respect to roll back (yields
>> deprecation warning) vs roll forward fix... macOS seems to use 
>> a
>> different dictation mechanism after NSTextInputClient was
>> introduced (Emacs v30). Attaching screenshots showing different 
>> UI
>> dictation triggered by either patch.
>
> Could you please spell out what that means for Emacs users?

Not much really. This is more of a macOS implementation 
detail. Emacs users will get their dictation feature back, 
regressed in Emacs 30. Fixing the regression leads to using a 
newer API, which triggers a slightly different-looking UI. The way 
the feature is triggered (global keyboard shortcut) and 
transcription behaviour remain the same, so no significant change 
in expectation as to how the feature works.

In a little more detail...

Introducing NSTextInputClient in Emacs v30 broke/removed dictation 
as a side effect. This introduction seems to signal to macOS to 
rely more on NSTextInputClient (new class) and less on NSTextInput 
(deprecated class) to power separate internal dictation 
subsystems. The screenshots I shared show the slightly 
different-looking UI for each internal subsystem. One uses a large 
microphone icon vs the tiny blue microphone icon (newer). Enabling 
dictation (global keyboard shortcut) and transcription behaviour 
remain the same.

[0006-Enabled-macOS-dictation-post-NSTextInputClient-migration.patch (text/x-patch, attachment)]

This bug report was last modified 1 day ago.

Previous Next


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