emacs-devel
[Top][All Lists]
Advanced

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

Re: Gnus to handle news: and mailto: URLs from external sources?


From: David Kastrup
Subject: Re: Gnus to handle news: and mailto: URLs from external sources?
Date: Wed, 12 Apr 2006 21:17:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Romain Francoise <address@hidden> writes:

> David Kastrup <address@hidden> writes:

[setting the mailer and news variables in Firefox' about:config page
 to use emacsclient as]

>> /usr/bin/emacsclient -ne (browse-url"%r")
>
> (Note that the -e option is new in Emacs 22.)

Note that also this is not all too much fun if you don't customize
something like

M-x customize-variable RET browse-url-browser-function RET

Browse Url Browser Function: Hide Value Value Menu Regexp/function association 
list:
INS DEL Regexp: \`\(mailto\|news\):
            Function: (lambda (arg &rest ignore) (url-retrieve-synchronously 
arg))
INS DEL Regexp: 
            Function: browse-url-mozilla
INS
   State: SAVED and set.

Function to display the current buffer in a WWW browser. More
Parent groups: Browse Url
Parent documentation: browse-url.

Oh yes, and I have
(autoload 'url-retrieve-synchronously "url")

in my .emacs.

Hm, maybe this should be easier to do?  Copying this posting to the
Emacs developer list, since it does not seem to be gnus-only.

Anybody else has a working setup for making "mailto:"; and similar
links in Firefox divert to Emacs?  This was the best I could come up
with, and it took quite a bit of figuring out things.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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