From: tomas@tuxteam.de (Tomas Zerolo)
Cc: emacs-devel@gnu.org
Subject: Re: preferred vs. running browser
Date: Tue, 25 Apr 2006 13:31:49 +0200 [thread overview]
Message-ID: <20060425113149.GB16926@www.trapp.net> (raw)
In-Reply-To: <20060423.063614.74737467.wl@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --]
On Sun, Apr 23, 2006 at 06:36:14AM +0200, Werner LEMBERG wrote:
>
> IMHO there are two problems with the default browser in browse-url.
>
> . 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.
>
> . 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.
>
> 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)" ||
<<try Konqueror remotely>> ||
<<start firefox>> ||
<<*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ás
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2006-04-25 11:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-23 4:36 preferred vs. running browser Werner LEMBERG
2006-04-23 14:36 ` Sascha Wilde
2006-04-23 21:58 ` Richard Stallman
2006-04-24 4:51 ` Werner LEMBERG
2006-04-25 22:04 ` Richard Stallman
2006-04-25 22:12 ` Lennart Borgman
2006-04-26 5:00 ` Stefan Monnier
2006-04-25 11:31 ` Tomas Zerolo [this message]
2006-04-25 19:29 ` Werner LEMBERG
2006-04-25 20:46 ` Reiner Steib
2006-04-25 22:05 ` Richard Stallman
2006-04-28 5:01 ` Tomas Zerolo
2006-04-28 15:45 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060425113149.GB16926@www.trapp.net \
--to=tomas@tuxteam.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.