From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: [org-mac-protocol] How to actually set it up and use it? Date: Fri, 25 Dec 2009 21:46:03 -0600 Message-ID: <1e5bcefd0912251946n9888cet7e88bb3520eec707@mail.gmail.com> References: <1e5bcefd0912111047t51e6a0deof0f91638bb9baa63@mail.gmail.com> <2BE649F1-DD4D-4AF6-98C6-D864DA118BE5@inthefaith.net> <5D639947-2AC8-4D98-B875-86E7F2611A57@inthefaith.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0352030164==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NONbW-0004Q6-94 for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 22:46:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NONbR-0004MJ-Ut for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 22:46:09 -0500 Received: from [199.232.76.173] (port=47708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NONbR-0004ME-I8 for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 22:46:05 -0500 Received: from mail-px0-f183.google.com ([209.85.216.183]:48322) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NONbQ-0001uK-Vj for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 22:46:05 -0500 Received: by pxi13 with SMTP id 13so2554107pxi.24 for ; Fri, 25 Dec 2009 19:46:03 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Suckling Cc: Org Mode --===============0352030164== Content-Type: multipart/alternative; boundary=00504502e636e6fa81047b9982c6 --00504502e636e6fa81047b9982c6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Really challenging :S The problem, I think, is that you end up assuming that the users have AppleScript knowledge, which is... err, not the case. Well, I've tried to ge the git version up and running, but, how do I compil= e them? I tried to compile them but I got no output. Then I tried compiling, savigin and renaming them to scpt. When I try to run org-remember for example, I get the following error: error "Script doesn=92t seem to belong to AppleScript." number -1752 from f= ile "Macintosh HD:Users:fullofcaffeine:Library:Scripts:orgQSLib:getEmacsClient.scpt" Any ideas? Thanks, Marcelo. On Wed, Dec 16, 2009 at 11:42 AM, Christopher Suckling < suckling.list@googlemail.com> wrote: > On Tue, 15 Dec 2009 13:58:26 -0600, Ron Parker wrote= : > > > On Dec 13, 2009, at 8:48 AM, Christopher Suckling wrote: > > > >> On Sat, 12 Dec 2009 12:56:00 -0600, Ron Parker > >> wrote: > >> > >>> After reading this message I downloaded org-mac-protocol and > >>> installed > >>> it. The scripts work for me if I open them in Script Editor and run > >>> them, but they do not work from the scripts menu nor from > >>> Quicksilver. > >> > > > > I'm closer. Calling (org-load-modules-maybe) after doing (add-to-list > > org-modules 'org-mac-protocol) seems to have the items on the script > > menu working. But, calling them from Quicksilver still fails. > > Curious. This really shouldn't make any difference. All the AppleScripts > do is put together a call to emacsclient; thus if they work launched by > one method, then changing your .emacs shouldn't facilitate another > method. > > You could check that the call to emacsclient is being properly > constructed by taking one of the scripts, say org-link, and adding > > ,---- > | display dialog theScript > `---- > > the line before > > ,---- > | do shell script theScript > `---- > > But it sounds like something fishy is going on with Quicksilver. > > Best, Christopher > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --00504502e636e6fa81047b9982c6 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Really challenging :S

The problem, I think, is that you end up assum= ing that the users have AppleScript knowledge, which is... err, not the cas= e.

Well, I've tried to ge the git version up and running, but, = how do I compile them? I tried to compile them but I got no output. Then I = tried compiling, savigin and renaming them to scpt. When I try to run org-r= emember for example, I get the following error:

error "Script doesn=92t seem to belong to AppleScript." numbe= r -1752 from file "Macintosh HD:Users:fullofcaffeine:Library:Scripts:o= rgQSLib:getEmacsClient.scpt"

Any ideas?

Thanks,

Marcelo.

On Wed, Dec 16, 2009 at 11:42 AM= , Christopher Suckling <suckling.list@googlemail.com> wrote:
On Tue, 15 Dec 2009 13:58:26 -0600, Ron Parker <rdp@inthefaith.net> wrote:

> On Dec 13, 2009, at 8:48 AM, Christopher Suckling wrote:
>
>> On Sat, 12 Dec 2009 12:56:00 -0600, Ron Parker <rdp@inthefaith.net>
>> wrote:
>>
>>> After reading this message I downloaded org-mac-protocol and >>> installed
>>> it. =A0The scripts work for me if I open them in Script Editor= and run
>>> them, but they do not work from the scripts menu nor from
>>> Quicksilver.
>>
>
> I'm closer. =A0Calling (org-load-modules-m= aybe) after doing (add-to-list
> org-modules 'org-mac-protocol) seems to have the items on the scri= pt
> menu working. =A0But, calling them from Quicksilver still fails.

Curious. This really shouldn't make any difference. All the Apple= Scripts
do is put together a call to emacsclient; thus if they work launched by
one method, then changing your .emacs shouldn't facilitate another
method.

You could check that the call to emacsclient is being properly
constructed by taking one of the scripts, say org-link, and adding

,----
| display dialog theScript
`----

the line before

,----
| do shell script theScript
`----

But it sounds like something fishy is going on with Quicksilver.

Best, Christopher


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--00504502e636e6fa81047b9982c6-- --===============0352030164== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0352030164==--