GNU bug report logs - #42432
26.3; Doc of `browse-url*' functions

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 19 Jul 2020 19:51:02 UTC

Severity: minor

Found in version 26.3

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42432 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 42432 <at> debbugs.gnu.org
Subject: Re: bug#42432: 26.3; Doc of `browse-url*' functions
Date: Sun, 19 Jul 2020 21:55:32 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> The doc of the `browse-url*' functions that says that the function uses
> a WWW browser is, in general, incorrect when it comes to functions that
> can browse a file.  The doc should be corrected in this regard.
>
> For example, any function that directly or indirectly uses
> `browse-url-default-windows-browser' does NOT, even in general, use a
> web browser.  It typically uses `w32-shell-execute' with action "open"
> to open the file.  In general, the program that does that is determined
> by the file type, and in generalt it is NOT a web browser.

You're right about the doc string being misleading, but it's incorrect
for new reasons in more modern versions of Emacs.  :-)

These days, that action is only called for files that have with .htm{l,}
in the file names, so it's more correct in that regard.  But all other
files are opened using Emacs itself now, so there's no web browser
involved.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 341 days ago.

Previous Next


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