emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-protocol and safari
@ 2009-06-23 20:24 Greg Newman
  2009-06-24  0:08 ` Sebastian Rose
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Newman @ 2009-06-23 20:24 UTC (permalink / raw)
  To: emacs-orgmode emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-protocol and safari
  2009-06-23 20:24 org-protocol and safari Greg Newman
@ 2009-06-24  0:08 ` Sebastian Rose
  2009-06-25 20:02   ` Matthew Lundin
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Rose @ 2009-06-24  0:08 UTC (permalink / raw)
  To: Greg Newman; +Cc: emacs-orgmode 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-protocol and safari
  2009-06-24  0:08 ` Sebastian Rose
@ 2009-06-25 20:02   ` Matthew Lundin
  2009-06-25 21:42     ` Sebastian Rose
  2009-10-16 14:52     ` Mykola Nikishov
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Lundin @ 2009-06-25 20:02 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-protocol and safari
  2009-06-25 20:02   ` Matthew Lundin
@ 2009-06-25 21:42     ` Sebastian Rose
  2009-10-16 14:52     ` Mykola Nikishov
  1 sibling, 0 replies; 5+ messages in thread
From: Sebastian Rose @ 2009-06-25 21:42 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-protocol and safari
  2009-06-25 20:02   ` Matthew Lundin
  2009-06-25 21:42     ` Sebastian Rose
@ 2009-10-16 14:52     ` Mykola Nikishov
  1 sibling, 0 replies; 5+ messages in thread
From: Mykola Nikishov @ 2009-10-16 14:52 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-16 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 20:24 org-protocol and safari Greg Newman
2009-06-24  0:08 ` Sebastian Rose
2009-06-25 20:02   ` Matthew Lundin
2009-06-25 21:42     ` Sebastian Rose
2009-10-16 14:52     ` Mykola Nikishov

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).