From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: file://host/location URLs Date: Fri, 16 Nov 2012 19:00:39 -0800 Message-ID: <50A6FDD7.4090304@dancol.org> References: <50A57E1A.4040109@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig58D6A0E2EC53BB1BE7AB1333" X-Trace: ger.gmane.org 1353121260 1067 80.91.229.3 (17 Nov 2012 03:01:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 03:01:00 +0000 (UTC) Cc: Emacs discussions To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 04:01:11 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZYeb-0006Ci-MV for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2012 04:01:09 +0100 Original-Received: from localhost ([::1]:55313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZYeR-0006yg-Hf for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2012 22:00:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZYeN-0006wz-2M for emacs-devel@gnu.org; Fri, 16 Nov 2012 22:00:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZYeK-0005Ur-0A for emacs-devel@gnu.org; Fri, 16 Nov 2012 22:00:54 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:52894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZYeJ-0005Ta-Qc for emacs-devel@gnu.org; Fri, 16 Nov 2012 22:00:51 -0500 Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TZYeC-0001D9-84; Fri, 16 Nov 2012 19:00:44 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: X-Enigmail-Version: 1.4.6 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154893 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig58D6A0E2EC53BB1BE7AB1333 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/16/2012 4:58 PM, James Cloos wrote: >>>>>> "DC" =3D=3D Daniel Colascione writes: >=20 > 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? >=20 > 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 inten= ding to refer to a remote resource not accessible through ordinary filesystem mou= nts, and plenty of people accidentally construct file URIs with enough leading= slashes to convince Emacs that a resource is remote. Until I fixed it, ou= r drag-and-drop code did just that. If anyone actually uses remote file URIs, please tell me. Otherwise, I in= tend to make "file:" and "file://" strictly equivalent and always local. --------------enig58D6A0E2EC53BB1BE7AB1333 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlCm/doACgkQ17c2LVA10VsPjgCgn6JBcMi62bt2keeBZaLM1xFL 8RIAn0PlGfLM3eHbEJunl0TrNAKyLq4h =7wgV -----END PGP SIGNATURE----- --------------enig58D6A0E2EC53BB1BE7AB1333--