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

Leo <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.