From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Molen Newsgroups: gmane.emacs.help Subject: get browse-url to use mozilla-firebird Date: Thu, 12 Feb 2004 19:43:09 GMT Organization: RoadRunner - West Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076615306 25618 80.91.224.253 (12 Feb 2004 19:48:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2004 19:48:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 20:48:17 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArMor-0001xD-00 for ; Thu, 12 Feb 2004 20:48:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArMmX-00084c-KO for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Feb 2004 14:45:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 66.74.188.157 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.socal.rr.com 1076614989 66.74.188.157 (Thu, 12 Feb 2004 11:43:09 PST) Original-NNTP-Posting-Date: Thu, 12 Feb 2004 11:43:09 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:120855 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16803 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16803 How do I convince emacs 2.3.1's browse-url-at-point to use the mozilla-firebird browser instead of the mozilla one? This works great for Mozilla. ; Use Mozilla as default browser on Red Hat 7.3 or 8.0 Linux w/ ; Gnome support. (For Emacs 21.2.1 and 21.3.1) (setq browse-url-browser-function 'browse-url-gnome-moz) After 'Google'ing I found some help on getting mozilla-firebird to act the same way. This is what I have now. ; Use Mozilla Firebird (was Phoenix) on Fedora Core 1 (defun browse-url-mozilla-firebird (url arg) (shell-command (format "/usr/bin/mozilla-firebird -remote 'openURL(%s, new-tab)'" url))) (setq browse-url-browser-function 'browse-url-mozilla-firebird) The browse-url-gnome-moz functions calls the GNOME program gnome-moz-remote rather than directly calling /usr/bin/mozilla. This which seems undesirable to me (since I occasionally use KDE too). -- {{}, Richard Molen (@ @) ,.(_),. "Furious activity is no substitute for / / ooOo oOoo \ \ understanding" -- H. H. Williams / /_____________\ \ / ' '