Subject: bug#58464: 28.1; browse-url-emacs doesn't work for local files on Windows

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Oct 2022 19:07:32 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 12 Oct 2022 17:57:13 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > I'm not sure I follow: file:// URLs always point to local files, no?
> 
> browse-url-emacs takes any URL, not just file:// URL.
> 
> (browse-url-emacs "https://gnus.org/") "works fine", except for the same
> error messages.

But this bug report ius about file:// URLs, not about anything else.

> >> (But also see bug#58302 -- browse-url-emacs shouldn't be calling these
> >> functions at all.)
> >
> > How else can Emacs visit files except via insert-file-contents?  Or
> > what do you mean by "these functions"?
> 
> `url-file-handler'.

Which ends up calling the same functions?