From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Volpiatto Subject: Re: adding new protocol handler in firefox Date: Thu, 19 Nov 2009 21:51:19 +0100 Message-ID: <873a4as0fs.fsf@tux.homenetwork> References: <877htmsa34.fsf@tux.homenetwork> <87aayi5pa5.fsf@gmx.de> <87y6m246q6.fsf@gmx.de> 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 1NBE4A-0006Xt-V4 for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 15:57:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBE49-0006VQ-HU for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 15:57:22 -0500 Received: from [199.232.76.173] (port=58607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBE49-0006Uz-Aj for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 15:57:21 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:10325) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBE48-0000lH-OB for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 15:57:21 -0500 Received: by ey-out-1920.google.com with SMTP id 3so848766eyh.34 for ; Thu, 19 Nov 2009 12:57:19 -0800 (PST) In-Reply-To: <87y6m246q6.fsf@gmx.de> (Sebastian Rose's message of "Thu, 19 Nov 2009 21:09:21 +0100") 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: Sebastian Rose Cc: emacs-orgmode@gnu.org Hi Sebastian, thanks for your answer. Sebastian Rose writes: > Hi Thierry, > > > me again. > > It seems they really want to remove the possibility to install protocol > handlers in FF directly. I wonder, why it still works here for FF 3.5, > but the bug-report is for FF 3.4.3 ?? Yes, it seem they don't like users install protocols. But as the removal of this feature create problems with thunderbird, maybe they will do something for that. > Is that a development branch? > > > Well, anyway, editing RDF files by hand is not the way to go. Agree, but i didn't find a better way to do. I know nothing about the gnome stuff as i don't use it. (i use gentoo with a stumpwm window manager) We can easily setup a script that write config to this file (rdf) for a given protocol. What do you think? > Instead, we should link to descriptions on how install the handlers > system wide. Some people reported they could use org-protocol from other > applications that way. I recently used picasa and saw it have installed a picasa protocol alone. How did it write to rdf file? i don't know. I will have a look. > > We already have an Windows installer on > http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3.4 > and we should add install scripts for other desktop environments, too. The problem of mime setting is not described here. The protocol will fail with something like: the protocol have no associated program ... I don't understand why firefox do not read a mailcap file on the user system or something similar (e.g /etc/mime.types) > It's trivial to do so for gnome (gconf, just two three lines of code) > but I'm not sure, if there's a better way. I think of freedesktop.org, > mime or something ? Setting things for firefox from desktop, gnome or whatever is no good IMHO. Firefox should have the old behavior of having the ability to setup a protocol from firefox itself. > I will check. Me too, i will keep you informed on this list. > > Thanks for the hint! > > > Sebastian > > > Sebastian Rose writes: >> Thierry Volpiatto writes: >>> Hi, >>> if you use org-annotation-helper from firefox since a long time now, you >>> probably didn't notice that adding a new protocol handler in firefox as >>> it is described in org-annotation-helper.el is now impossible. >>> >>> See https://bugzilla.mozilla.org/show_bug.cgi?id=529511 >>> >>> In addition to what is described in org-annotation-helper, you will need >>> to modify the file mimeTypes.rdf as described here: >>> >>> http://tinyurl.com/yf37ukw >>> >>> The example is for bookmarking from firefox to emacs bookmarks, but it >>> is the same for org. Just change emacsbookmark to remember and/or annotation. >> >> >> Hi Thierry, >> >> >> org-annotation-helper.el is abandoned since quite a while. It is part >> (and basis) of org-protocol.el and not delivered with Org-mode anymore. >> >> The way to install it is very similar to the way org-annotation-helper >> was installed and is described here: >> >> http://orgmode.org/worg/org-contrib/org-protocol.php >> >> The install works that way for me. If you use the Gnome desktop and have >> firefox-gnome-integration (not sure if name is correct for all distros) >> installed, you should install new protocol handlers using gconf-editor. >> >> Please report any problems you encounter. >> >> >> >> Best wishes >> >> >> Sebastian >> >> >> _______________________________________________ >> 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 -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France