From db657bf4373115883634932a9a8200043b046184 Mon Sep 17 00:00:00 2001 From: xenodium Date: Tue, 27 Aug 2024 09:36:56 +0100 Subject: [PATCH] Adds NSSpeechRecognitionUsageDescription to Info.plist.in Without it, we cannot launch processes that use macOS's speech recognition APIs. With NSSpeechRecognitionUsageDescription in place, macOS displays the dialog asking the user to grant permission and allows the speech APIs to be used from the process. --- etc/NEWS | 6 ++++++ nextstep/templates/Info.plist.in | 2 ++ 2 files changed, 8 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 07d1cce0966..556b6005f32 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -43,6 +43,12 @@ The 'find-function', 'find-library', 'find-face-definition', and 'find-variable' commands now allow retrieving previous input using the usual minibuffer history commands. Each command has a separate history. +--- +** NSSpeechRecognitionUsageDescription now included in Info.plist (macOS). +Should Emacs (or any built-in shell) invoke a process using macOS speech +recognition APIs, the relevant permission dialog is now displayed, thus +allowing Emacs users access to speech recognition utilities. + ** Minibuffer and Completions +++ diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in index beddbf4a893..192c061bd1e 100644 --- a/nextstep/templates/Info.plist.in +++ b/nextstep/templates/Info.plist.in @@ -693,5 +693,7 @@ along with GNU Emacs. If not, see . Emacs requires permission to access the Downloads folder. NSRemovableVolumesUsageDescription Emacs requires permission to access files on Removable Volumes. + NSSpeechRecognitionUsageDescription + Emacs requires permission to handle any speech recognition. -- 2.39.3 (Apple Git-146)