emacs-devel
[Top][All Lists]
Advanced

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

Re: browse-url and URL handlers (MS-Windows)


From: Eli Zaretskii
Subject: Re: browse-url and URL handlers (MS-Windows)
Date: Tue, 11 Oct 2022 21:21:18 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: arstoffel@gmail.com,  pquessev@gmail.com,  emacs-devel@gnu.org
> Date: Tue, 11 Oct 2022 20:04:10 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> The URL should probably be "file://C:/some/file" instead.
> >
> > No, on Windows the file:// URLs have 3 slashes.  See
> >
> >   https://en.wikipedia.org/wiki/File_URI_scheme#Windows
> 
> Ah, right.  In any case, the result from url-parse is correct, as far as
> I can see -- otherwise you won't be getting back the original URL with 
> 
> (url-recreate-url (url-generic-parse-url "file:///C:/some/file"))
> => "file:///C:/some/file"
> 
> which should (usually) be the case.

It could mean another bug, in url-recreate-url.



reply via email to

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