* Problem with org-mac-protocol
@ 2010-02-16 8:47 Christian Zang
2010-02-16 10:58 ` Christopher Suckling
0 siblings, 1 reply; 3+ messages in thread
From: Christian Zang @ 2010-02-16 8:47 UTC (permalink / raw)
To: emacs-orgmode
Dear list,
I installed org-mac-protocol according to the instructions in org-mac-protocol.org on Mac OS X 10.6 with Emacs CVS 23 and a very recent pull of org-mode from git.
With my setup, there seems to be a problem with the AppleScript part of the implementation I cannot track down. If I call any of the scripts (org-link etc.) I get no reaction but a short deactivation of the frontmost window.
The corresponding console-messages are:
16.02.10 09:26:01 AppleScript Runner[8640] Error loading /Users/christian/Library/ScriptingAdditions/URI Escape.osax/Contents/MacOS/URI Escape: dlopen(/Users/christian/Library/ScriptingAdditions/URI Escape.osax/Contents/MacOS/URI Escape, 262): no suitable image found. Did find:
/Users/christian/Library/ScriptingAdditions/URI Escape.osax/Contents/MacOS/URI Escape: no matching architecture in universal wrapper
And:
16.02.10 09:26:01 [0x0-0x2dd2dd].com.apple.AppleScriptRunner[8640] AppleScript Runner: OpenScripting.framework - scripting addition "/Users/christian/Library/ScriptingAdditions/URI Escape.osax" declares no loadable handlers.
This results in the variable theScript not being set, and emacsclient is not called at all. If I remove any calls to URI Escape from getItemMetadata, emacsclient gets called.
Any ideas? Thanks!
Best,
Christian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with org-mac-protocol
2010-02-16 8:47 Problem with org-mac-protocol Christian Zang
@ 2010-02-16 10:58 ` Christopher Suckling
2010-02-16 18:36 ` Christian Zang
0 siblings, 1 reply; 3+ messages in thread
From: Christopher Suckling @ 2010-02-16 10:58 UTC (permalink / raw)
To: Christian Zang; +Cc: emacs-orgmode
On Tue, 16 Feb 2010 09:47:40 +0100, Christian Zang <christian.zang@fh-weihenstephan.de> wrote:
>
> I installed org-mac-protocol according to the instructions in
> org-mac-protocol.org on Mac OS X 10.6 with Emacs CVS 23 and a very
> recent pull of org-mode from git.
>
> With my setup, there seems to be a problem with the AppleScript part
>of the implementation I cannot track down. If I call any of the scripts
>(org-link etc.) I get no reaction but a short deactivation of the
>frontmost window.
>
The problem is that I haven't updated the distribution for 10.6. The URI
Escape osax doesn't work on Snow Leopard.
I've replaced it with a small Ruby script to do all the escaping and you
can find the latest versions at github (may be buggy and the
documentation is out of date):
http://github.com/claviclaws/org-mac-protocol
Note that the .applescript files will need opening in Script Editor and
resaving as .scpt files.
I really, really mean to rewrite the documentation and do a proper
release (I also said this before Christmas) but I seemed to think that
doing a doctorate alongside the rest of my work and moving house was a
good idea, so I still haven't quite had the time.
Best, Christopher
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with org-mac-protocol
2010-02-16 10:58 ` Christopher Suckling
@ 2010-02-16 18:36 ` Christian Zang
0 siblings, 0 replies; 3+ messages in thread
From: Christian Zang @ 2010-02-16 18:36 UTC (permalink / raw)
To: Christopher Suckling; +Cc: emacs-orgmode
Am 16.02.2010 um 11:58 schrieb Christopher Suckling:
> The problem is that I haven't updated the distribution for 10.6. The URI
> Escape osax doesn't work on Snow Leopard.
>
> I've replaced it with a small Ruby script to do all the escaping and you
> can find the latest versions at github (may be buggy and the
> documentation is out of date):
>
> http://github.com/claviclaws/org-mac-protocol
>
> Note that the .applescript files will need opening in Script Editor and
> resaving as .scpt files.
Brilliant, thanks, that works!
Best,
Christian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-16 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 8:47 Problem with org-mac-protocol Christian Zang
2010-02-16 10:58 ` Christopher Suckling
2010-02-16 18:36 ` Christian Zang
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.