[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file://host/location URLs
From: |
Daniel Colascione |
Subject: |
Re: file://host/location URLs |
Date: |
Fri, 16 Nov 2012 19:00:39 -0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 |
On 11/16/2012 4:58 PM, James Cloos wrote:
>>>>>> "DC" == Daniel Colascione <address@hidden> writes:
>
> DC> In fact, I really don't see why file:// URLs should go through
> DC> url-handlers.el at all. A file URL should be a simple pass-through
> DC> to the normal file handler machinery, yes?
>
> Only file:/// or file://localhost/ should point to the local
> filesystem. file://example.org/foo.bar is a valid uri to some
> resource on example.org using some (unspecified) access method.
It's elegant in theory to make URIs network-transparent, but in practice,
"file:" always refers to a local file. Nobody constructs a file URI intending to
refer to a remote resource not accessible through ordinary filesystem mounts,
and plenty of people accidentally construct file URIs with enough leading
slashes to convince Emacs that a resource is remote. Until I fixed it, our
drag-and-drop code did just that.
If anyone actually uses remote file URIs, please tell me. Otherwise, I intend to
make "file:" and "file://" strictly equivalent and always local.
signature.asc
Description: OpenPGP digital signature
- file://host/location URLs, Daniel Colascione, 2012/11/15
- Re: file://host/location URLs, Stefan Monnier, 2012/11/16
- Re: file://host/location URLs, James Cloos, 2012/11/16
- Re: file://host/location URLs, Jason Rumney, 2012/11/20
- Re: file://host/location URLs, Daniel Colascione, 2012/11/20
- Re: file://host/location URLs, Achim Gratz, 2012/11/20
- Re: file://host/location URLs, joakim, 2012/11/21