From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: PATCH: org-mac-link.el: Don't fail on machines without Growl installed Date: Mon, 06 Oct 2014 08:31:42 +0200 Message-ID: References: <7B9D9129-4BEC-42F3-851D-00D4D2A43A8A@sanityinc.com> <30EABF38-620E-4CDF-9C18-837848936F78@sanityinc.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb277-0006An-Cr for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 02:49:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb272-0001qE-2i for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 02:49:45 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb1pm-0001jf-S7 for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 02:31:50 -0400 In-Reply-To: (Alan Schmitt's message of "Thu, 25 Sep 2014 08:17:09 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steve Purcell Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Unless I'm mistaken, I did not receive a reply to this question: can I apply this patch? I understand that Bastien is quite busy at the moment, so I'm wondering if I should bug somebody else ;) Best, Alan On 2014-09-25 08:17, Alan Schmitt writes: > On 2014-09-24 20:59, Steve Purcell writes: > >> On 24 Sep 2014, at 20:13, Alan Schmitt = wrote: >> >>> tell application "System Events" >>> set growlHelpers to the name of every process whose creator type conta= ins "GRRR" >>> if (count of growlHelpers) > 0 then >>> set growlHelperApp to item 1 of growlHelpers >>> else >>> set growlHelperApp to "" >>> end if >>> end tell >>>=20 >>> I get an empty string as returned value. Is is the same for you? >> >> >> Yes, that part works fine on its own even on my machine. But when the >> code passed to AppleScript includes 'tell application >> =E2=80=9CGrowlHelperApp=E2=80=9D=E2=80=99, then the code will not execut= e unless the app is >> present =E2=80=94 there=E2=80=99s a precompilation step where, presumabl= y, AppleScript >> determines that the target application supports the listed commands. > > I see. I agree this should be removed. > > Org maintainers: can I apply this patch? > > Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUMjdUAAoJEAQNCjtO0uXHWd8H/3lZhacvTOQGxSkKvnEkPR8h eNZh7lNwQFOc/7AltN7z37p/9SLG93KZQ87JKVLflkcFpIMGRB0vbgAyeLDzaBcG kuEILnb613LPB60csnVie7KYBtEs+pSqk7heOUliAcuMXQRyl2cZVrvVpB225VAg VlIfYcecAbXZecBQWpWDaUapJKAmadmNq7DncAU18NiNtnCzGry4ZgSqdSd8Bwzn hiqELOxHHjtdK1/kBN2T+PSpbPNgx9zyljJyKtiG+czqbjpwfvQPppblBgg2fAp9 vV0iJeGs5tOypSWIrHXtUvxQi/cTje293xxWyr8Ge4toBtFx0oPW0XiRlG+YKmw= =y902 -----END PGP SIGNATURE----- --=-=-=--