bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4300: 23.1.50; bad function name: browse-url-default-browser


From: Leo
Subject: bug#4300: 23.1.50; bad function name: browse-url-default-browser
Date: Mon, 31 Aug 2009 18:13:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

,----[ C-h f browse-url-default-browser RET ]
| browse-url-default-browser is a compiled Lisp function in
| `browse-url.el'.
| 
| (browse-url-default-browser url &rest args)
| 
| Find a suitable browser and ask it to load url.
| Default to the url around or before point.
| 
| When called interactively, if variable `browse-url-new-window-flag' is
| non-nil, load the document in a new window, if possible, otherwise use
| a random existing one.  A non-nil interactive prefix argument reverses
| the effect of `browse-url-new-window-flag'.
| 
| When called non-interactively, optional second argument NEW-WINDOW is
| used instead of `browse-url-new-window-flag'.
| 
| The order attempted is gnome-moz-remote, Mozilla, Firefox,
| Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3.
| 
| [back]
`----

The only thing that is related to 'default' is it uses url around point
by default. But the name is misleading, for example, emacs-w3m uses it
to open a default external browser, but it will open bizarre browsers on
OS X or Windows.

I wonder if the function name can be improved, for example,
browse-url-try-browsers.

Thanks.

Leo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]