GNU bug report logs - #39890
26.3; do-applescript undeterministic with long running scripts

Previous Next

Package: emacs;

Reported by: Alexander Adolf <alexander.adolf <at> condition-alpha.com>

Date: Tue, 3 Mar 2020 21:15:02 UTC

Severity: normal

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 39890 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alexander Adolf <alexander.adolf <at> condition-alpha.com>
Cc: 39890 <at> debbugs.gnu.org
Subject: Re: bug#39890: 26.3; do-applescript undeterministic with long
 running scripts
Date: Mon, 23 May 2022 12:53:04 +0200
Alexander Adolf <alexander.adolf <at> condition-alpha.com> writes:

> As a work-around, I have altered my function to use (call-process
> "osascript") instead:
>
> ----------------------------------------------------------------------
> (defun eudc-macos-contacts-search-helper (str)
>   "Helper function to query the Contacts app via AppleScript.
> Searches for all persons with a case-insensitive substring match
> of STR in any of their name fileds (first, middle, or last)."
>   (insert (do-applescript (format "
>   (if (executable-find "osascript")
>       (call-process "osascript" nil t nil
> 		    "-e"

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I see that in the time since this was reported,
eudc-macos-contacts-search-helper has been changed to essentially be the
code suggested by Alexander here, so I assume that this fixed the
problem, and I'm closing this bug report.  If that's mistaken, please
respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.