[Orgmode] Problem with org-mac-protocol
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 ___ 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
Re: [Orgmode] Problem with org-mac-protocol
On Tue, 16 Feb 2010 09:47:40 +0100, Christian Zang christian.z...@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 ___ 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
Re: [Orgmode] Problem with org-mac-protocol
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 ___ 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