From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Po Lu <luangruo@yahoo.com>
Cc: Jon Snader <jcs@irreal.org>, emacs-devel@gnu.org
Subject: Re: Fwd: Re: ns-do-applescript
Date: Mon, 30 May 2022 17:12:14 +0300 [thread overview]
Message-ID: <m2sforxg75.fsf@fastmail.fm> (raw)
In-Reply-To: <871qwbd999.fsf@yahoo.com> (Po Lu's message of "Mon, 30 May 2022 10:50:10 +0800")
On 30/05/2022 10:50 +0800, Po Lu wrote:
> Jon Snader <jcs@irreal.org> writes:
>
>>> Why do you think ns-do-applescript and osascript are just about
>>> getting contact data? Applescript is a terrible language but it can
>>> interact with macOS to do just about anything you can do from the
>>> keyboard. As I said in my original post, I use it to get the URL of
>>> Safari's current page without having to leave Emacs.
>
> So how can I do that on a free system? How do I obtain the URL of
> Epiphany's current page without having to leave Emacs?
>
>>> The ns-do-applescript call is (or could be considered) simply a call
>>> to an OS specific interface routine. It's useful for many things
>>> besides getting contacts and its presence in *in the macOS Emacs
>>> build* hurts no one, whereas its removal is sure to cause lots of
>>> inconvenience for Mac users and those writing packages for the
>>> platform.
>
> We don't want to make things convenient for Mac users, when those things
> are not possible on a free system. Just as Emacs doesn't provide
> "OS-specific interface routines" to perform tasks on non-free operating
> systems that are not possible on free ones.
Though I don't object to the function's removal, I have a feeling that
the comparison is unfair. ns-do-applescript provides an _API_ to call
OS-specific functionality. IMO, it's what the _clients_ of that API
(core Emacs features) do, that should be judged by the criteria you
mention.
Filipp
next prev parent reply other threads:[~2022-05-30 14:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m235gs9pyp.fsf@irreal.org>
2022-05-29 19:35 ` Fwd: Re: ns-do-applescript Jon Snader
2022-05-30 2:50 ` Po Lu
2022-05-30 14:12 ` Filipp Gunbin [this message]
2022-05-30 23:47 ` Jon Snader
2022-05-31 4:05 ` Po Lu
2022-05-31 21:36 ` Jon Snader
2022-05-31 22:22 ` Richard Stallman
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=m2sforxg75.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=emacs-devel@gnu.org \
--cc=jcs@irreal.org \
--cc=luangruo@yahoo.com \
/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.