[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (u
From: |
Ken Brown |
Subject: |
Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://. |
Date: |
Fri, 28 Jun 2019 12:55:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 6/28/2019 12:08 AM, Juanma Barranquero wrote:
> It is defined so, for a //hostname/path, you extract hostname and path
> (without the slashes) and put them in the corresponding slots of the
> URI. For a /path, you extract the path, and put it into its slot (and
> the hostname slot is empty).
Fine. I accept your interpretation. But that is *not* what your patch does.
Your patch (on POSIX systems) creates URIs of the form "file:////path". If you
insist on using (concat "file:///" file), then you need to strip the leading
slash from FILE.
Ken
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Ken Brown, 2019/06/27
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Juanma Barranquero, 2019/06/27
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Ken Brown, 2019/06/27
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Juanma Barranquero, 2019/06/27
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Ken Brown, 2019/06/27
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Juanma Barranquero, 2019/06/28
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.,
Ken Brown <=
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Juanma Barranquero, 2019/06/28
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Ken Brown, 2019/06/28
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Juanma Barranquero, 2019/06/28
- Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://., Ken Brown, 2019/06/28