* [org-mac-protocol] How to actually set it up and use it?
@ 2009-12-11 18:47 Marcelo de Moraes Serpa
2009-12-11 22:34 ` Christopher Suckling
0 siblings, 1 reply; 8+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-12-11 18:47 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1.1: Type: text/plain, Size: 713 bytes --]
Hello list,
I just moved to a MacBook, couldn't be happier and mainly because the last
version of emacs compiles flawlessly and works like a charm. It's even as
beatiful as other OSX apps. Great.
I've been looking through Worg and found about the org-mac-protocol, and the
idea of inputting stuff to my files through Quicksilver really turned me on
:) Kudos to the developer !
Anyway, the docs are kind of scarce and too technical. While I could install
and (I think) set it up in emacs, I can't find the way to actually use it.
It just says there are some scripts vailable (apple scripts), but where do I
trigger them, for example, how could I trigger them through Quicksilver ?
Thanks in advance,
Marcelo.
[-- Attachment #1.2: Type: text/html, Size: 769 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-11 18:47 [org-mac-protocol] How to actually set it up and use it? Marcelo de Moraes Serpa
@ 2009-12-11 22:34 ` Christopher Suckling
2009-12-12 18:56 ` Ron Parker
0 siblings, 1 reply; 8+ messages in thread
From: Christopher Suckling @ 2009-12-11 22:34 UTC (permalink / raw)
To: Marcelo de Moraes Serpa; +Cc: Org Mode
On Fri, 11 Dec 2009 12:47:16 -0600, Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:
>
> I just moved to a MacBook, couldn't be happier and mainly because the last
> version of emacs compiles flawlessly and works like a charm. It's even as
> beatiful as other OSX apps. Great.
>
> I've been looking through Worg and found about the org-mac-protocol, and the
> idea of inputting stuff to my files through Quicksilver really turned me on
> :) Kudos to the developer !
>
> Anyway, the docs are kind of scarce and too technical. While I could install
> and (I think) set it up in emacs, I can't find the way to actually use it.
> It just says there are some scripts vailable (apple scripts), but where do I
> trigger them, for example, how could I trigger them through Quicksilver ?
>
If you can hold fire for about a week, I've got half an update ready;
but I've been horribly busy for the last few months so it kind of got
stuck. I should finally have a bit of time from Thursday.
Meanwhile, ensure that Quicksilver is cataloguing your ~/Library/Scripts
directory (I think it does this by default, but you can check the
catalogue pane in the Quicksilver preferences). Have the document you
wish to link to as the front document, call Quicksilver, type the name
of the org-mac-protocol script in the first pane (org-link,
org-remember, org-note), the second pane should show `run', so just hit
return and org-mac-protocol will do its stuff.
I'll improve the docs when I finish the update.
If you're new to Quicksilver you should have a look at the tutorials at
the bottom of the wikipedia page:
http://en.wikipedia.org/wiki/Quicksilver_(software)
Best, Christopher
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-11 22:34 ` Christopher Suckling
@ 2009-12-12 18:56 ` Ron Parker
2009-12-13 0:37 ` Christopher Suckling
2009-12-13 14:48 ` Christopher Suckling
0 siblings, 2 replies; 8+ messages in thread
From: Ron Parker @ 2009-12-12 18:56 UTC (permalink / raw)
Cc: Org Mode
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-12 18:56 ` Ron Parker
@ 2009-12-13 0:37 ` Christopher Suckling
2009-12-13 14:48 ` Christopher Suckling
1 sibling, 0 replies; 8+ messages in thread
From: Christopher Suckling @ 2009-12-13 0:37 UTC (permalink / raw)
To: Ron Parker; +Cc: Org Mode
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. 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.
Weird. Of course, if run from Script Editor, then the top application
will always be Script Editor, so the link will always be to Script
Editor.
It may be that via QS you're linking to something that contains a single
or double quote. Then the scripts bork. But I've just finally fixed it
and pushed to github along with improved and added support for Snow
Leopard, Skim, Bibdesk and iTunes.
I'll be doing a proper release at the end of the week (Thursday or
Friday), but if the current github doesn't work for you, then send me a
few more details and I'll see what I can do.
Best, Christopher
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-12 18:56 ` Ron Parker
2009-12-13 0:37 ` Christopher Suckling
@ 2009-12-13 14:48 ` Christopher Suckling
2009-12-15 19:58 ` Ron Parker
1 sibling, 1 reply; 8+ messages in thread
From: Christopher Suckling @ 2009-12-13 14:48 UTC (permalink / raw)
To: Ron Parker; +Cc: Org Mode
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. 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.
Second thought:
If you got the scripts from github, they're not compiled.
Load them up in Script Editor and save them with file format 'Script'.
(Applescripts are by default saved as binaries which are less than
convenient for versioning with git)
Best, Christopher
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-13 14:48 ` Christopher Suckling
@ 2009-12-15 19:58 ` Ron Parker
2009-12-16 17:42 ` Christopher Suckling
0 siblings, 1 reply; 8+ messages in thread
From: Ron Parker @ 2009-12-15 19:58 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]
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. 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.
>
> If you got the scripts from github, they're not compiled.
I'd already compiled them.
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.
[-- Attachment #1.2: Type: text/html, Size: 1233 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-15 19:58 ` Ron Parker
@ 2009-12-16 17:42 ` Christopher Suckling
2009-12-26 3:46 ` Marcelo de Moraes Serpa
0 siblings, 1 reply; 8+ messages in thread
From: Christopher Suckling @ 2009-12-16 17:42 UTC (permalink / raw)
To: Ron Parker; +Cc: Org Mode
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. 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [org-mac-protocol] How to actually set it up and use it?
2009-12-16 17:42 ` Christopher Suckling
@ 2009-12-26 3:46 ` Marcelo de Moraes Serpa
0 siblings, 0 replies; 8+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-12-26 3:46 UTC (permalink / raw)
To: Christopher Suckling; +Cc: Org Mode
[-- Attachment #1.1: Type: text/plain, Size: 2250 bytes --]
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 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-remember for
example, I get the following error:
error "Script doesn’t seem to belong to AppleScript." number -1752 from file
"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 <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. 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
>
[-- Attachment #1.2: Type: text/html, Size: 3070 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-12-26 3:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 18:47 [org-mac-protocol] How to actually set it up and use it? Marcelo de Moraes Serpa
2009-12-11 22:34 ` Christopher Suckling
2009-12-12 18:56 ` Ron Parker
2009-12-13 0:37 ` Christopher Suckling
2009-12-13 14:48 ` Christopher Suckling
2009-12-15 19:58 ` Ron Parker
2009-12-16 17:42 ` Christopher Suckling
2009-12-26 3:46 ` Marcelo de Moraes Serpa
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).