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

From: Stéphane Marks <shipmints <at> gmail.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, stefankangas <at> gmail.com, alvaro <at> xenodium.com,
 79070 <at> debbugs.gnu.org, kickingvegas <at> gmail.com
Subject: Re: bug#79070: [PATCH] Fix macOS dictation post NSTextInputClient
 migration in v30
Date: Tue, 22 Jul 2025 09:54:53 -0400
[Message part 1 (text/plain, inline)]
On Tue, Jul 22, 2025 at 9:41 AM 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?
>
>   https://dortania.github.io/OpenCore-Legacy-Patcher/
>
> (I've used OCLP very successfully on a MBP from 2013 until it finally
> died a year ago :-(.)
>

Without knowing precisely what the issue is, it's hard to say that's a
great suggestion?  Previous versions of Emacs work fine on 12.7.6, so it's
clearly not an O/S issue, but one with the API change to NSTextInputClient
that's missing something else?  All other apps I've tried seem to support
dictation just fine.
[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.