GNU bug report logs -
#39890
26.3; do-applescript undeterministic with long running scripts
Previous Next
Full log
Message #8 received at 39890 <at> debbugs.gnu.org (full text, mbox):
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.