From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62691 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Gnus to handle news: and mailto: URLs from external sources? Date: Wed, 12 Apr 2006 21:17:00 +0200 Organization: Organization?!? Message-ID: <85fykizjrn.fsf@lola.goethe.zz> References: <85k69uzkgh.fsf@lola.goethe.zz> <877j5uaa05.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144869462 8937 80.91.229.2 (12 Apr 2006 19:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 19:17:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 12 21:17:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTkqE-0001O8-3a for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 21:17:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTkqC-0004vS-NC for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 15:17:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTkq1-0004vE-Dg for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTkq1-0004v2-2F for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTkq0-0004uz-TU for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FTkv9-0001Ps-Hk for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:22:31 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FTkpt-0007R4-7x; Wed, 12 Apr 2006 15:17:05 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 7EA981C3DB49; Wed, 12 Apr 2006 21:17:00 +0200 (CEST) Original-To: ding@gnus.org, emacs-devel@gnu.org X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw In-Reply-To: <877j5uaa05.fsf@pacem.orebokech.com> (Romain Francoise's message of "Wed, 12 Apr 2006 21:07:06 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52795 gmane.emacs.gnus.general:62691 Archived-At: Romain Francoise writes: > David Kastrup 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