[-- Attachment #1.1: Type: text/plain, Size: 717 bytes --] I searched the list and saw that someone else asked this already with no reply. Well, Chris replied but didn't solve my problem. Questions: 1. Has anyone gotten org-protocol working with Safari? I'm not a firefox user and would prefer not to switch. I did try to get it working with Firefox 3.x and it's not working. I followed the worg instructions ( http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the verification links with no luck. Firefox just screams at me "Firefox doesn't know how to open this address, because the protocol (org-protocol) isn't associated with any program." 2. Any clue why this isn't working? Thanks guys! *Greg Newman* http://20seven.org twitter: 20seven [-- Attachment #1.2: Type: text/html, Size: 1336 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Greg Newman <greg@20seven.org> writes: > I searched the list and saw that someone else asked this already with no > reply. Well, Chris replied but didn't solve my problem. > Questions: > 1. Has anyone gotten org-protocol working with Safari? I'm not a firefox > user and would prefer not to switch. > > I did try to get it working with Firefox 3.x and it's not working. > I followed the worg instructions ( > http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the > verification links with no luck. > Firefox just screams at me "Firefox doesn't know how to open this address, > because the protocol (org-protocol) isn't associated with any program." > 2. Any clue why this isn't working? As for FF, the instructions should work. See also: http://kb.mozillazine.org/Register_protocol#Linux_and_Mac As for Safari - I fear you use a MAC? You _must_ use a MAC. I know the windows version of Safari and you would change immediatly. I know it runs fine on MAC though. On a first glance, I found this on the net: http://mac.clauss-net.de/misfox/ http://www.rubicode.com/Software/RCDefaultApp/ Best wishes Sebastian
Sebastian Rose <sebastian_rose@gmx.de> writes: > Greg Newman <greg@20seven.org> writes: >> I did try to get it working with Firefox 3.x and it's not working. >> I followed the worg instructions ( >> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the >> verification links with no luck. >> Firefox just screams at me "Firefox doesn't know how to open this address, >> because the protocol (org-protocol) isn't associated with any program." >> 2. Any clue why this isn't working? > > > As for FF, the instructions should work. See also: > > http://kb.mozillazine.org/Register_protocol#Linux_and_Mac These instructions are incorrect. I can confirm that setting a protocol does not work in Firefox on Mac OS - there is a bug that's been around for a long time that prevents associating protocols with an application and/or path. See this mailing list post: http://article.gmane.org/gmane.emacs.orgmode/12883 And this bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=471724 My solution for this bug was to install Arch Linux on my Macbook. ;) - Matt
Matthew Lundin <mdl@imapmail.org> writes: > Sebastian Rose <sebastian_rose@gmx.de> writes: > >> Greg Newman <greg@20seven.org> writes: > >>> I did try to get it working with Firefox 3.x and it's not working. >>> I followed the worg instructions ( >>> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the >>> verification links with no luck. >>> Firefox just screams at me "Firefox doesn't know how to open this address, >>> because the protocol (org-protocol) isn't associated with any program." >>> 2. Any clue why this isn't working? >> >> >> As for FF, the instructions should work. See also: >> >> http://kb.mozillazine.org/Register_protocol#Linux_and_Mac > > These instructions are incorrect. I can confirm that setting a protocol > does not work in Firefox on Mac OS - there is a bug that's been around > for a long time that prevents associating protocols with an application > and/or path. See this mailing list post: > > http://article.gmane.org/gmane.emacs.orgmode/12883 > > And this bug report: > > https://bugzilla.mozilla.org/show_bug.cgi?id=471724 Not sure if those informations are the end of all that... On Windows, as on MAC (I think), protocols are not registered in FF itself too. I think what we need is a MAC freak, who provides the apple script (or what ever is used on MAC for such things), that installs the protocol handler on that system (for FF, Safari, IE Mac version, Acrobat etc.). Maybe this helps?? http://www.xmldatabases.org/WK/blog/1154_Handling_URL_schemes_in_Cocoa.item That app would just have to call emacsclient.. > My solution for this bug was to install Arch Linux on my Macbook. ;) Haha - Not everyone will want to do that I think :) Sebastian
Matthew Lundin <mdl@imapmail.org> writes:
[...]
>> As for FF, the instructions should work. See also:
>>
>> http://kb.mozillazine.org/Register_protocol#Linux_and_Mac
>
> These instructions are incorrect. I can confirm that setting a protocol
> does not work in Firefox on Mac OS - there is a bug that's been around
> for a long time that prevents associating protocols with an application
> and/or path. See this mailing list post:
For Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20091010
Iceweasel/3.5.3 (Debian-3.5.3-2) these steps does the trick for me:
- Add these two preferences to prefs.js:
--8<---------------cut here---------------start------------->8---
user_pref("network.protocol-handler.app.org-protocol", "/usr/bin/emacsclient -t %L");
user_pref("network.protocol-handler.external.org-protocol", true);
--8<---------------cut here---------------end--------------->8---
- Start emacs as daemon.
- Start FF from the command line. It wouldn't work if started using a
shortcut (i.e. with Gnome main menu entry). IIRC I tried to get a
result without any success until I started FF from the X terminal by
accident.
- Org-mode must be activated. I suspect that my configuration broken in
a some way that prevents org-mode + org-remeber functionality to be
available just right after emacs was started. But I usually activate
agenda view very early so this is not a problem for me.
--
MAN-UANIC