[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] adding new protocol handler in firefox

From: Thierry Volpiatto
Subject: Re: [Orgmode] adding new protocol handler in firefox
Date: Thu, 19 Nov 2009 21:51:19 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

Hi Sebastian,
thanks for your answer.

Sebastian Rose <address@hidden> 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
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
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 <address@hidden> writes:
>> Thierry Volpiatto <address@hidden> 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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France

reply via email to

[Prev in Thread] Current Thread [Next in Thread]