emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Steve Purcell <steve@sanityinc.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: PATCH: org-mac-link.el: Don't fail on machines without Growl installed
Date: Thu, 25 Sep 2014 08:17:09 +0200	[thread overview]
Message-ID: <m2vbocxlzu.fsf@polytechnique.org> (raw)
In-Reply-To: <30EABF38-620E-4CDF-9C18-837848936F78@sanityinc.com> (Steve Purcell's message of "Wed, 24 Sep 2014 20:59:58 +0100")

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

On 2014-09-24 20:59, Steve Purcell <steve@sanityinc.com> writes:

> On 24 Sep 2014, at 20:13, Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
>
>> tell application "System Events"
>> 	set growlHelpers to the name of every process whose creator type contains "GRRR"
>> 	if (count of growlHelpers) > 0 then
>> 		set growlHelperApp to item 1 of growlHelpers
>> 	else
>> 		set growlHelperApp to ""
>> 	end if
>> end tell
>> 
>> 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
> “GrowlHelperApp”’, then the code will not execute unless the app is
> present — there’s a precompilation step where, presumably, 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

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-09-25  6:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 11:12 PATCH: org-mac-link.el: Don't fail on machines without Growl installed Steve Purcell
2014-09-24 15:38 ` Alan Schmitt
2014-09-24 15:35   ` Steve Purcell
2014-09-24 19:13     ` Alan Schmitt
2014-09-24 19:59       ` Steve Purcell
2014-09-25  6:17         ` Alan Schmitt [this message]
2014-10-06  6:31           ` Alan Schmitt
2014-10-06  7:20             ` Nicolas Goaziou
2014-10-11 13:21               ` Bastien
2014-10-09 11:40 ` Alan Schmitt
2014-10-09 12:11   ` Steve Purcell

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vbocxlzu.fsf@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=steve@sanityinc.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).