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


View this message in rfc822 format

From: Stéphane Marks <shipmints <at> gmail.com>
To: Alvaro Ramirez <alvaro <at> xenodium.com>
Cc: Gerd Möllmann <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: bug#79070: [PATCH] Fix macOS dictation post NSTextInputClient migration in v30
Date: Tue, 22 Jul 2025 10:02:17 -0400
[Message part 1 (text/plain, inline)]
On Tue, Jul 22, 2025 at 10:00 AM Alvaro Ramirez <alvaro <at> xenodium.com> wrote:

>
>
> On 22 Jul 2025, at 14:41, Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:
>
> Stéphane Marks <shipmints <at> gmail.com> writes:
>
> On Tue, Jul 22, 2025 at 9:22 AM Gerd Möllmann <gerd.moellmann <at> gmail.com>
> wrote:
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> Ok to install, Eli?
>
>
> Maybe.  I'm not sure I understand what are the conclusions from your
> experience, which eventually needed to use tcutil.  Are we sure this
> is just a fluke and not a more fundamental problem?
>
>
> tccutil is a program that removes entries from a database containing
> application-specific privacy settings. For example, if an app wants to
> use the microphone or camera and such, it has to ask for permission, and
> the result of that lands in that TCC database. 'tcc reset' clears such
> entries.
>
> It's very possible that I denied Emacs access to the microphone in the
> past because I routinely do that :-). Also to the camera, of course, and
> such things. That may have been years ago, because I migrate my settings
> from machine to machine for a very long time. And if so, it would have
> been for a different dictation system because that whole thing changed
> some years ago, around macOS 14, not sure.
>
> Anyway, the current dictation system apparently doesn't require special
> privacy privileges, i.e. macOS doesn't ask for permission to use the
> microphone for the current incarnation of dictation. But dictation also
> doesn't work if one has "deny settings" in the TCC database. After
> clearing these entries in with `tccutil reset`, Emacs now works like any
> other app.
>
> So it seems at least. That's about what I can say.
>
> So far, the patch does not work on macOS 12.7.6 (the only version I use
> across my Intel Macs).  So something else is missing?
>
>
> Time for OCLP, given that Monterey not longer receives security updates?
>
>
> +1 I’d like to propose we treat macOS 12.7.6 / Intel as a separate issue
> if that’s ok?
>
> We have a handful of folks who validated the fix is working in this thread
> https://indieweb.social/@xenodium/114891280426640026
>
> I’ve validated on macOS 15.3 / ARM myself. The thread also mentions macOS
> 15.5 validated.
>

I'd be in favor of that ONLY if macOS 12.7.6 is specifically considered
unsupported.  Let's spend a little more time figuring out what's missing.

There are reports that emacs-mac works fine with dictation on 12.7.6 so
take a look at that code and see what they're doing differently?
[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.