emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mykola Nikishov <mn@mn.com.ua>
To: emacs-orgmode@gnu.org
Subject: Re: org-protocol and safari
Date: Fri, 16 Oct 2009 17:52:06 +0300	[thread overview]
Message-ID: <9014.23499822176$1255707063@news.gmane.org> (raw)
In-Reply-To: m28wjgkrom.fsf@fastmail.fm

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

      parent reply	other threads:[~2009-10-16 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='9014.23499822176$1255707063@news.gmane.org' \
    --to=mn@mn.com.ua \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).