From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Sat, 24 Sep 2011 13:53:33 +0200 Message-ID: References: <87bouahatm.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1316865286 20356 80.91.229.12 (24 Sep 2011 11:54:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2011 11:54:46 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 6339@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 13:54:36 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R7QoV-0005Xc-7P for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 13:54:35 +0200 Original-Received: from localhost ([::1]:40797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7QoU-0001Kg-Sd for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 07:54:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7QoR-0001KQ-KN for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 07:54:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7QoQ-0005ZT-Bc for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 07:54:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7QoQ-0005ZP-AA for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 07:54:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R7Qov-00055u-Ot for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 07:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2011 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6339-submit@debbugs.gnu.org id=B6339.131686525019516 (code B ref 6339); Sat, 24 Sep 2011 11:55:01 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 24 Sep 2011 11:54:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Qo6-00054j-Cl for submit@debbugs.gnu.org; Sat, 24 Sep 2011 07:54:10 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Qo4-00054a-7R for 6339@debbugs.gnu.org; Sat, 24 Sep 2011 07:54:09 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 523C4188A17D; Sat, 24 Sep 2011 13:53:35 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 66A8E1C0008F; Sat, 24 Sep 2011 13:53:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id EdyPCMPhYUhE; Sat, 24 Sep 2011 13:53:34 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-112-198.dynamic.mnet-online.de [88.217.112.198]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 24 Sep 2011 13:53:34 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id AA713CA296; Sat, 24 Sep 2011 13:53:33 +0200 (CEST) X-Yow: I'm not available for comment.. In-Reply-To: (Juanma Barranquero's message of "Sat, 24 Sep 2011 10:59:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Sep 2011 07:55:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51770 Archived-At: Juanma Barranquero writes: > I don't know what other URLs schemes say, but certainly RFC 1738 says: > > 3.3. HTTP Note that the interpretation of the local part is scheme dependent, so you cannot compare file: and http: directly. RFC 1738 defines fileurl in terms of fpath, which is shared with ftpurl. In an ftp URL an absolute fpath needs to be written with a leading escaped slash (%2F). RFCs 4722 and 5022 consistently use four leading slashes for an absolute file name. OTOH there are a few occurrences of file URLs denoting absolute paths with only three slashes in other RFCs. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."