From 9db2c2ad848668389adeb80dd211bf700e4d5520 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 | 9 +++++++++ nextstep/templates/Info.plist.in | 2 ++ 2 files changed, 11 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index c5040776a73..8b398b5f8ef 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -43,6 +43,15 @@ 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. + +Note: Accepting this permission allows the use of system APIs, which may +send user data to Appleā€™s speech recognition servers. + ** 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)