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 #145 received at 79070 <at> debbugs.gnu.org (full text, mbox):

From: Stéphane Marks <shipmints <at> gmail.com>
To: Alvaro Ramirez <alvaro <at> xenodium.com>
Cc: gerd.moellmann <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>,
 kickingvegas <at> gmail.com, 79070 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: Re: bug#79070: [PATCH] Fix macOS dictation post NSTextInputClient
 migration in v30
Date: Wed, 23 Jul 2025 10:00:04 -0400
[Message part 1 (text/plain, inline)]
On Wed, Jul 23, 2025 at 9:37 AM Alvaro Ramirez <alvaro <at> xenodium.com> wrote:

> Stéphane Marks <shipmints <at> gmail.com> writes:
>
> > On Wed, Jul 23, 2025 at 9:02 AM Alvaro Ramirez
> > <alvaro <at> xenodium.com> wrote:
> >
> >  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.
> >
> > I think that's a feature of macOS which changed the UI, not a
> > function of the patch?
>
> While dictation UI is a macOS implementation detail, we do have a
> choice to patch by rolling back vs forward which would trigger one
> UI over the other (even on the same macOS version). We've so far
> agreed to roll forward (to move away from deprecated APIs).
>

Forward is good.  I see only the conventional UI on macOS 12 across all
other apps and NSTextInputClient is available since macOS 10.  I think any
commentary should say something like "visual presentation may vary across
macOS versions."
[Message part 2 (text/html, inline)]

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.