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

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 31 Aug 2009 17:20:06 UTC

Severity: minor

Tags: fixed, notabug

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: bug#4300: 23.1.50; bad function name: browse-url-default-browser
Date: Mon, 31 Aug 2009 18:13:42 +0100
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



This bug report was last modified 13 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.