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

From: Alvaro Ramirez <alvaro <at> xenodium.com>
To: bug-gnu-emacs <at> gnu.org
Cc: gerd.moellmann <at> gmail.com, shipmints <at> gmail.com, kickingvegas <at> gmail.com,
 stefankangas <at> gmail.com
Subject: Re: [PATCH] Fix macOS dictation post NSTextInputClient migration in
 v30
Date: Mon, 21 Jul 2025 14:07:56 +0100
[Message part 1 (text/plain, inline)]
Pulled and rebased patch to master (now in 
0002-Enabled-macOS-dictation-post-NSTextInputClient-migration.patch)

Alvaro Ramirez <alvaro <at> xenodium.com> writes:

> Hi folks!
>
> We lost macOS dictation in Emacs v30 (see
> https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-03/msg00585.html)
> with the NSTextInputClient migration.
>
> Looks like we can get it back using the new subsystem by 
> implementing
> the missing bits for 'selectedRange' in 'nsterm.m'.
>
> Not a NSTextInputClient expert here. Would love for other macOS 
> users
> to give the patch a try and confirm they get dictation
> back. Similarly, edit as normal so we can rule out there are no
> additional side effects.
>
> Álvaro
>
> In GNU Emacs 31.0.50 (build 14, aarch64-apple-darwin24.3.0, NS
> appkit-2575.40 Version 15.3.2 (Build 24D81)) of 2025-07-21 built 
> on
> jiko.local
> Repository revision: e9deec70dac822f2f312497c6d7a7bd6b4e648bb
> Repository branch: fixes-macos-dictation-post-v30
> Windowing system distributor 'Apple', version 10.3.2575
> System Description:  macOS 15.3.2
>
> Configured using:
> 'configure --with-ns
> --prefix=.../emacs/nextstep/Emacs.app/Contents/MacOS
> --enable-locallisppath=.../emacs/nextstep/Emacs.app/Contents/MacOS'
>
> [2. text/patch; 
> 0001-Enabled-macOS-dictation-post-NSTextInputClient-migration.patch]...
[0002-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.