emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ns-do-applescript


From: Po Lu
Subject: Re: ns-do-applescript
Date: Mon, 30 May 2022 07:56:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Richard Stallman <rms@gnu.org> writes:

> If that is so, what is the significant difference between invoking
> osascript and invoking applescript?  Those of us who don't use MacOS
> know nothing about this.

osascript isn't linked into Emacs.

>   > but using it in a subprocess to retrieve only contacts data (which is
>   > already possible on free systems) must be more acceptable than Emacs
>   > including a C primitive to do the same thing.
>
> Not necessarily -- it depends on facts that haven't been stated here.
> Maybe a C primitive is better, but that depends on what exactly
> the C primitive can do.
>
> Since retrieving contact data in Emacs is supported on free systems,
> adding code to do the same job on MacOS is ok in principle.  An
> implementation which implements only that particular feature poses no
> special problem.  Implementing something more general than that might
> pose a problem.

The C primitive allows evaluating arbitrary AppleScript code, not just
extracting contacts data.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]