From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: (unknown) Date: Sun, 29 May 2022 08:06:24 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005fd32705e02058fe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5468"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 29 08:12:27 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvCA6-0001FC-Up for ged-emacs-devel@m.gmane-mx.org; Sun, 29 May 2022 08:12:27 +0200 Original-Received: from localhost ([::1]:41560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvCA5-0006KG-BF for ged-emacs-devel@m.gmane-mx.org; Sun, 29 May 2022 02:12:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvC4j-0004k9-MV for emacs-devel@gnu.org; Sun, 29 May 2022 02:06:54 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:44586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvC4h-0007h7-Pz for emacs-devel@gnu.org; Sun, 29 May 2022 02:06:53 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id f21so15367079ejh.11 for ; Sat, 28 May 2022 23:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Gkku1Fw+hETwN2yMywIbTjYQIxxIEVX3lzDUgeyxe/4=; b=eZ5945CYsCY6KxpSmQB79+HWZ0BwTAO9Il+bHbN2aRQ1FCsGg7YcA0+kUCOdbeiHwr 1FNJ+lACSj3Z2hyPB69JH/lLmpKcOYiYNZLDRPcHgGJANsPi4RXKevuNeAwBLcdcA2JP DCInOiatCupjIrVQFQSrRVJyZVH4K4pqTK3nY4jpr4DmlqeQO77xNjc1066AjmhCRzmB 1ATDH+Qovl2UUBM9eGbdSAZhFqbqHs3ckj7uZS2iwJ/bw4b2hwNUbEfaCGjeLD3yA683 uCDiFsvyLiAjOUFtpb2Qg1dmwSes1YOTO56GC8P7los82B34lQ4R/HGcIU1yONVv7hoT LITg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gkku1Fw+hETwN2yMywIbTjYQIxxIEVX3lzDUgeyxe/4=; b=jvM/vsorkDgo2qPiNYmlISTcK+oSj9r3E3hziNXj6JkLUJiRjyQmyp/Tjh75Bqow5Q zHN+Qe60VfS8cDN+RwAlDSiPm5g62WPJXP7Uj3X/t7Kf6KgivJSOgSgZ+dVfyQH4xY6o vxBgU4MHkzV7rwcZBZxkkKlOZldP8DSzmkpSuKCf6DlVuiVvzueZP84/uax4FQWVDQMe KlSuBZNg+RtUkvW1uyX8m8rJmYe8OtgFk+e9jhqns3T2uy2tPhbz9161+u7jyW55wLyc fv9PEvxmI3jqOuxOmILazEjFXHREZ5XfmRYWWFitpNRdc5oaqT/GA4glydD/Rfeihsx+ XUQw== X-Gm-Message-State: AOAM532BV0vqf1nVdvnBghIzRCpbW6N6+nsFbOTjDh3YGoY1rKABhK7E 0ny/CiK9YV2ecr7jE4YcEIhSGAS4YJU8qdYndMZIf7tf+Y8= X-Google-Smtp-Source: ABdhPJw+imbN3zndi8k6WPStlE4NlUi1hws6i6keV1EbHfJaw3jZdEdbLZypXoB/FRIJYs3F4L/Q3VB+2bY/QvuYjjE= X-Received: by 2002:a17:907:62a1:b0:6da:7952:d4d2 with SMTP id nd33-20020a17090762a100b006da7952d4d2mr44200224ejc.260.1653804409800; Sat, 28 May 2022 23:06:49 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=paaguti@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290352 Archived-At: --0000000000005fd32705e02058fe Content-Type: text/plain; charset="UTF-8" > Date: Sat, 28 May 2022 08:43:13 +0800 > From: Po Lu > To: Richard Stallman > Cc: emacs-devel@gnu.org > Subject: Re: ns-do-applescript > Message-ID: <87leumebby.fsf@yahoo.com> > Content-Type: text/plain > Richard Stallman writes: > > I have never heard of "osascript". What is that? What systems > > support it? Does it exist on GNU/Linux? > It's only present in macOS. Right > > Basically, what are the differences that make it better to use > > osascript than applescript? > I think that binary _is_ Apple's proprietary AppleScript interpreter, Indeed it is > 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 only that. You can do things like raising Emacs to the top and other system actions that would otherwise require (Objective-)?C functions in the Emacs executable. Best, /PA -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --0000000000005fd32705e02058fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Date: Sat, 28 May 2022 08:43:13 +0800
>=C2=A0From: Po Lu <luangruo@yahoo.com>>=C2=A0To: Richard S= tallman <rms@gnu.org>
>=C2=A0Cc:=C2=A0
emacs-devel@gnu.org
>=C2=A0Subject: Re: ns-do-apples= cript
>=C2=A0Messa= ge-ID: <87= leumebby.fsf@yahoo.com>
>=C2=A0Content-Type: text/plain

>=C2=A0Richard Stallman <rms@gnu.org> writes:

>=C2=A0> I have never hea= rd of "osascript".=C2=A0 What is that?=C2=A0 What systems
>= =C2=A0> support it?= =C2=A0 Does it exist on GNU/Linux?

>=C2=A0It's only present in macOS.
Right
>=C2=A0> Basical= ly, what are the differences that make it better to use
>=C2=A0> osascript than applescri= pt?

>=C2=A0I t= hink that binary _is_ Apple's proprietary AppleScript interpreter,
Indeed it is

>=C2=A0but using it in a subprocess to retrieve only contacts d= ata (which is
>=C2=A0already possible on free systems) must be more acceptable than Emacs
= >=C2=A0including a C = primitive to do the same thing.

Not only that. You can do things lik= e raising Emacs to the top and other system actions that would otherwise re= quire (Objective-)?C functions in the Emacs executable.

Best, /PA

--
Fragen sind nicht da um beantwortet zu werden,
= Fragen sind da um gestellt zu werden
Georg Kreisler

=
Headaches with a Juju log:
unit-basic-16: 09:17:36 WAR= NING juju.worker.uniter.operation we should run a leader-deposed hook here,= but we can't yet

--0000000000005fd32705e02058fe--