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: Alvaro Ramirez <alvaro <at> xenodium.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Stefan Kangas <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:33:51 +0100
[Message part 1 (text/plain, inline)]
> On 21 Jul 2025, at 16:19, Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:
> 
> 
> 
>> On 21. Jul 2025, at 17:15, Alvaro Ramirez <alvaro <at> xenodium.com> wrote:
>> 
>>> I've tried with the 0002 patch, and it doesn't seem to work for me. I'm
>>> running macOS 15.5 on arm64. Dictation works with other applications. In
>>> emacs -Q GUI, pressing the dictation key produces no reaction; I mean no
>>> small blue indicator with the microphone symbol appears.
>> 
>> Ah, did you enable ns while configuring? Someone else just managed to apply and confirm https://social.vivaldi.net/@veer66/114891733359274099
> 
> Yes, I did. That's why I wrote emacs -Q GUI above :-).

Oops. Missed that. Hmmm… I’m wondering if this is a missing macOS permission issue?

It’s possible to explicitly trigger microphone permission request by running these from *eshell*:

1. ffmpeg -f avfoundation -list_devices true -i “” ;; to find microphone id
2. ffmpeg -f avfoundation -i ":0" -t 10 audiocapture.mp3 ;; using :id from 1. 

Or maybe checking under System Settings > Privacy & Security > Microphone and verifying Emacs is listed there?

Just thinking out loud here to troubleshoot things. Anything else that comes to mind we can try?

I’ll try to clear all permissions here and see if I can reproduce the issue.
[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.