From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mykola Nikishov Subject: Re: org-protocol and safari Date: Fri, 16 Oct 2009 17:52:06 +0300 Message-ID: <9014.23499822176$1255707063@news.gmane.org> References: <71454fac0906231324od4b59a8gd42e08188fb083c9@mail.gmail.com> <87ws72333n.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyoQM-0003gu-4A for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 11:08:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyoQH-0003eQ-Sb for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 11:08:57 -0400 Received: from [199.232.76.173] (port=51358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyoQH-0003eB-Mc for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 11:08:53 -0400 Received: from lo.gmane.org ([80.91.229.12]:58340) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyoQH-0004dN-5H for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 11:08:53 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MyoQ9-00086h-6l for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 17:08:45 +0200 Received: from diamond.unleash.volia.net ([93.74.105.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2009 17:08:45 +0200 Received: from mn by diamond.unleash.volia.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2009 17:08:45 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Matthew Lundin 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