From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: file://host/location URLs Date: Sun, 18 Nov 2012 16:12:24 +0800 Message-ID: <877gpje3dj.fsf@gnu.org> References: <50A57E1A.4040109@dancol.org> <50A6FDD7.4090304@dancol.org> <87a9ugljpg.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353226364 16509 80.91.229.3 (18 Nov 2012 08:12:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 08:12:44 +0000 (UTC) Cc: James Cloos , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 09:12:53 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 1TZzzj-00008Z-HS for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 09:12:47 +0100 Original-Received: from localhost ([::1]:38963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZzzZ-0005te-7L for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 03:12:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZzzV-0005tK-AO for emacs-devel@gnu.org; Sun, 18 Nov 2012 03:12:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZzzS-0005cV-8L for emacs-devel@gnu.org; Sun, 18 Nov 2012 03:12:33 -0500 Original-Received: from mail-pa0-f41.google.com ([209.85.220.41]:44637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZzzS-0005cQ-1T for emacs-devel@gnu.org; Sun, 18 Nov 2012 03:12:30 -0500 Original-Received: by mail-pa0-f41.google.com with SMTP id fa10so2881002pad.0 for ; Sun, 18 Nov 2012 00:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=UHBhqtpADSfLOH9CEbXOGymq8QKwYl/mReyvkdKqO0g=; b=vU6a2o014JrRrWgkYlE+QfRK1Uc4Drh+N6vpCmwMBUhnWEHKVhXcOl8usSzIwEThx2 BMl0Ro62Gz00YquCfEGaoX3o0VO55FIy2/qlWbAtQE9X+GTAAZ7Jo9Xi6gCat05gk7W6 O2zncJ/KCe1O6nU98LfLK0yTLAXn4Qfm79Sm4U++Jf8J4S3yhTzkaI6StNjUgakeO5E0 WHnfIfxJKnLEkrhXEwtGQF1yYxHIEYKlO9e35RUymqOPBmQgMYPx2CzTdJRsVnlunv7+ dXsHNOOHxZ1yQwTGXiOmqzDeQM1YLGdYIO5R2aCxGA/OaN2Gd/CZzRNXGJkWeS2u4w+3 oqWw== Original-Received: by 10.66.81.42 with SMTP id w10mr26796024pax.66.1353226349280; Sun, 18 Nov 2012 00:12:29 -0800 (PST) Original-Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id uk9sm4163112pbc.63.2012.11.18.00.12.26 (version=SSLv3 cipher=OTHER); Sun, 18 Nov 2012 00:12:28 -0800 (PST) In-Reply-To: (James Cloos's message of "Sat, 17 Nov 2012 15:16:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.41 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:154907 Archived-At: James Cloos writes: >>>>>> "AG" =3D=3D Achim Gratz writes: > > AG> Common bugs in applications and misconceptions of some users > AG> notwithstanding, an URI should implement: > > AG> http://tools.ietf.org/html/rfc3986 > > And rfc 1738 for file://=E2=80=99s definition and syntax. To expand on these points: "file:" and "file://" not equivalent under RFC 3986, so don't do that. It seems acceptable to signal an error if a file:// URI specifies a remote host, instead of using FTP. But if the hostname is that of the local computer, it ought to work fine. For that reason, I think url-handlers.el is still needed, and that's where the fix needs to be. Currently, the url library treats file:// and ftp:// urls as synonymous, but that can be changed.