From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de (Tomas Zerolo) Newsgroups: gmane.emacs.devel Subject: Re: preferred vs. running browser Date: Tue, 25 Apr 2006 13:31:49 +0200 Message-ID: <20060425113149.GB16926@www.trapp.net> References: <20060423.063614.74737467.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1133668757==" X-Trace: sea.gmane.org 1145964756 6884 80.91.229.2 (25 Apr 2006 11:32:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 11:32:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 13:32:34 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 1FYLmF-0005ON-MZ for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 13:32:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYLmF-0002Ke-5S for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 07:32:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYLle-0002BW-7z for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:31:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYLlc-0002Ar-Km for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:31:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYLlc-0002Al-Gw for emacs-devel@gnu.org; Tue, 25 Apr 2006 07:31:40 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYLo0-0005rl-Vd; Tue, 25 Apr 2006 07:34:09 -0400 Original-Received: from www.elogos.de (localhost [127.0.0.1]) by www.elogos.de (Postfix) with ESMTP id E761CDAE1A; Tue, 25 Apr 2006 13:31:49 +0200 (CEST) Original-Received: by www.elogos.de (Postfix, from userid 4000) id CBC7EDB0C1; Tue, 25 Apr 2006 13:31:49 +0200 (CEST) Original-To: Werner LEMBERG In-Reply-To: <20060423.063614.74737467.wl@gnu.org> User-Agent: Mutt/1.5.9i 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:53372 Archived-At: --===============1133668757== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline --DBIVS5p969aUjpLe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 23, 2006 at 06:36:14AM +0200, Werner LEMBERG wrote: >=20 > IMHO there are two problems with the default browser in browse-url. >=20 > . In browse-url-default-browser, Mozilla is preferred to Firefox. > It seems that today Firefox is already more popular than Mozilla, > so I suggest to revert the default order. >=20 > . browse-url doesn't check whether one of the listed browsers is > already running (assuming that browse-url-browser-function is not > customized, this is, the value is 'browse-url-default-browser). In > my case I have called firefox, but browse-url called mozilla. >=20 > Wouldn't it be better to add some code so that a browser which is Hmpf. You could always try to write a wrapper shell script which tries alternatives, in descending order of desirability, like so: firefox -remote "openURL(http://www.emacswiki.org,new-tab)" || <> || <> || <<*GASP* Internet Explorer there?>> || ... Since this order of desirability is highly user-dependent, it'd be difficult to give one general solution. Of course you could do this in Emacs Lisp as well, but again, a general solution might lead to a customization jungle, I fear. How would you go about it? Regards -- tom=C3=A1s --DBIVS5p969aUjpLe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFETgilBcgs9XrR2kYRAsCzAJ0cXNRoCFifjbu2TUuR30PjkeCLaACZAZzY bTdlgutBlPCloEvaeEvEu8M= =qn45 -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- --===============1133668757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1133668757==--