all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 32888@debbugs.gnu.org
Subject: bug#32888: 27.0.50; Cannot access other apps via applescript on Mojave
Date: Sun, 30 Sep 2018 12:59:02 -0700	[thread overview]
Message-ID: <CAHyO48ykmVMFYeWvguEj-bpa0RxAN_Coh=CoxjEL4YF7yjLnZA@mail.gmail.com> (raw)
In-Reply-To: <20180930184138.GB88954@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

On September 30, 2018 at 11:41:43 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> Try adding this to the Info.plist:
>
> NSAppleEventsUsageDescription
> Emacs requires permission to send some event to another application.

Attached with some tweaks to wording.

Thanks,

Aaron

[-- Attachment #2: 0001-Fix-AppleScript-access-in-Mojave.patch --]
[-- Type: application/octet-stream, Size: 880 bytes --]

From 8469997ce670debf0812b2baa986aef7461e3493 Mon Sep 17 00:00:00 2001
From: Aaron Jensen <aaronjensen@gmail.com>
Date: Sun, 30 Sep 2018 12:55:49 -0700
Subject: [PATCH] Fix AppleScript access in Mojave

* nextstep/templates/Info.plist.in:
Add NSAppleEventsUsageDescription (Bug#32888).
---
 nextstep/templates/Info.plist.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in
index 9960f085f6..e3964eac90 100644
--- a/nextstep/templates/Info.plist.in
+++ b/nextstep/templates/Info.plist.in
@@ -675,5 +675,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
 	</array>
 	<key>NSAppleScriptEnabled</key>
 	<string>YES</string>
+        <key>NSAppleEventsUsageDescription</key>
+        <string>Emacs requires permission to access another application.</string>
 </dict>
 </plist>
-- 
2.19.0


  reply	other threads:[~2018-09-30 19:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-30 18:08 bug#32888: 27.0.50; Cannot access other apps via applescript on Mojave Aaron Jensen
2018-09-30 18:17 ` Aaron Jensen
2018-09-30 18:43   ` Alan Third
2018-09-30 18:41 ` Alan Third
2018-09-30 19:59   ` Aaron Jensen [this message]
2018-10-11  1:42     ` Aaron Jensen
2018-10-11  6:59       ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHyO48ykmVMFYeWvguEj-bpa0RxAN_Coh=CoxjEL4YF7yjLnZA@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=32888@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.