From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Crni Gorac Newsgroups: gmane.emacs.help Subject: Re: browse-url and URL type dependent actions Date: Mon, 30 Mar 2009 22:54:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <134d7799-b430-4c8c-9857-16a30841db5b@42g2000yqk.googlegroups.com> <20277bae-a894-4cdf-b9dc-dc1b50930c6a@z14g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238481654 15077 80.91.229.12 (31 Mar 2009 06:40:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2009 06:40:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 31 08:42:12 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LoXfo-00035s-83 for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Mar 2009 08:42:12 +0200 Original-Received: from localhost ([127.0.0.1]:38623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoXeQ-0001hv-GM for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Mar 2009 02:40:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v15g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: 77.105.0.66 Original-X-Trace: posting.google.com 1238478879 2025 127.0.0.1 (31 Mar 2009 05:54:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 31 Mar 2009 05:54:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v15g2000yqn.googlegroups.com; posting-host=77.105.0.66; posting-account=4v1VOQoAAADobDMNYIrqiwvaM_xqYBjj User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cache.sezampro.rs:80 (squid/2.6.STABLE6) Original-Xref: news.stanford.edu gnu.emacs.help:168124 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63409 Archived-At: On Mar 30, 10:01=A0pm, Nikolaj Schumacher wrote: > > Try something like this: > > (defun browse-url-mutt (url &optional new-window) > =A0 (let ((browse-url-generic-program "/usr/bin/xterm") > =A0 =A0 =A0 =A0 (browse-url-generic-args '("-e" "mutt"))) > =A0 =A0 (browse-url-generic url new-window))) Works like charm, thanks!