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: Lars Ingebrigtsen
Subject: Re: browse-url and URL handlers (MS-Windows)
Date: Tue, 11 Oct 2022 19:23:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Augusto Stoffel <arstoffel@gmail.com> writes:

> I've come across issues with file URLs in Windows before, and the
> problem was that
>
>   (url-filename (url-generic-parse-url "file:///C:/some/file"))
>
> returns "/C:/some/file", with an extra slash at the beginning.

That's the correct result.  The URL should probably be
"file://C:/some/file" instead.

I.e., everything after the first two slashes is the path on the local
machine.



reply via email to

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