From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: browse-url Date: Tue, 05 Apr 2005 14:57:20 -0500 Message-ID: References: <20050405091942.GA26836@dionysus.ucolick.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112731147 27957 80.91.229.2 (5 Apr 2005 19:59:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 19:59:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 05 21:59:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIuBx-0001xh-Q3 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Apr 2005 21:58:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DItku-0001Iy-LD for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Apr 2005 15:30:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DItkH-0001A6-P9 for help-gnu-emacs@gnu.org; Tue, 05 Apr 2005 15:29:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DItkC-000165-V0 for help-gnu-emacs@gnu.org; Tue, 05 Apr 2005 15:29:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DItkA-00013v-6h for help-gnu-emacs@gnu.org; Tue, 05 Apr 2005 15:29:48 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DIuB7-0000JD-Af for help-gnu-emacs@gnu.org; Tue, 05 Apr 2005 15:57:37 -0400 Original-Received: from lab45.ma.utexas.edu (mail@lab45.ma.utexas.edu [128.83.133.159]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j35JvLf32360; Tue, 5 Apr 2005 14:57:21 -0500 Original-Received: from jcorneli by lab45.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DIuAq-0001Jq-00; Tue, 05 Apr 2005 14:57:20 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: <20050405091942.GA26836@dionysus.ucolick.org> (message from Greg Novak on Tue, 5 Apr 2005 02:19:42 -0700) 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:25407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25407 Well here's a version that works for me & that will either open a new firefox or use an existing one. I think I'll send a bug report about the issue I was seeing doing this the "simple way". (defun browse-url-firefox (url &optional new-window) (when (eq (shell-command (concat "/sw/lib/firefox/mozilla-xremote-client \"openurl(" url ")\"")) 2) (call-process "firefox" nil 0 nil url)))