emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: adding new protocol handler in firefox
Date: Thu, 19 Nov 2009 21:51:19 +0100	[thread overview]
Message-ID: <873a4as0fs.fsf@tux.homenetwork> (raw)
In-Reply-To: <87y6m246q6.fsf@gmx.de> (Sebastian Rose's message of "Thu, 19 Nov 2009 21:09:21 +0100")

Hi Sebastian,
thanks for your answer.

Sebastian Rose <sebastian_rose@gmx.de> 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 <sebastian_rose@gmx.de> writes:
>> Thierry Volpiatto <thierry.volpiatto@gmail.com> 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

  reply	other threads:[~2009-11-19 20:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 17:22 adding new protocol handler in firefox Thierry Volpiatto
2009-11-19 18:43 ` Sebastian Rose
2009-11-19 20:09   ` Sebastian Rose
2009-11-19 20:51     ` Thierry Volpiatto [this message]
2009-11-19 21:43     ` Robin Green
2009-11-20 22:01       ` Sebastian Rose
2009-11-21 22:39         ` Thierry Volpiatto

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=873a4as0fs.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).