emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use


From: Juanma Barranquero
Subject: Re: emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
Date: Fri, 28 Jun 2019 03:25:22 +0200


On Fri, Jun 28, 2019 at 1:49 AM Stefan Monnier <address@hidden> wrote:

> So based on this discussion, I guess what this means is that using
> a plain `concat` can't be right: for Windows-style name "c:/foo/bar"
> we should use `(concat "file:///" file)`, whereas for POSIX-style file
> names "/foo/bar" we should use `(concat "file://" file)`.

Strictly speaking, I think POSIX /foo/bar pathnames should be stripped of the initial slash and then concatenated...

...but yeah, you're right. We need to do different things.

reply via email to

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