From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Thu, 6 Oct 2011 17:08:38 +0200 Message-ID: References: <87sjn6qjt2.fsf@gnu.org> <87lisyqj6i.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1317913815 27077 80.91.229.12 (6 Oct 2011 15:10:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 15:10:15 +0000 (UTC) Cc: Juanma Barranquero , Kevin Rodgers , 6339@debbugs.gnu.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 17:10:11 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 1RBpaN-0001YZ-8L for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 17:10:11 +0200 Original-Received: from localhost ([::1]:42076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpaG-0006RJ-Oq for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 11:10:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpaA-0006D5-2b for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:09:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBpa5-0007wY-Ta for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:09:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpa5-0007wU-QT for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:09:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBpaE-0003cJ-PM for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 15:10:02 +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.131791375713842 (code B ref 6339); Thu, 06 Oct 2011 15:10:02 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 6 Oct 2011 15:09:17 +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 1RBpZU-0003bD-UE for submit@debbugs.gnu.org; Thu, 06 Oct 2011 11:09:17 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBpZT-0003aP-0E for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 11:09:15 -0400 Original-Received: by mail-ww0-f46.google.com with SMTP id 18so4298496wwi.15 for <6339@debbugs.gnu.org>; Thu, 06 Oct 2011 08:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SkAdbijLXutpmUO7F8J7tk+ynEUN7zFf+yDAykmAFuA=; b=SXahuhSUrUiKqN1cOYPZvQRyc6V30KQhVd/KL9K+Be4E0MrnWNy5b6JK6GTC38WZBT i0nN8B7HhZrDt4GNcqjE3STCdiXkXdk8/f8+RN/OMK3X5VOcy4sIb+HzIdWKHwdgokW9 tPtW3M8/mKLFe2ygQ3GuVG/U61KPkmG4lE3Io= Original-Received: by 10.216.220.129 with SMTP id o1mr1251094wep.61.1317913745500; Thu, 06 Oct 2011 08:09:05 -0700 (PDT) Original-Received: by 10.216.181.85 with HTTP; Thu, 6 Oct 2011 08:08:38 -0700 (PDT) In-Reply-To: <87lisyqj6i.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 11:10:02 -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:52288 Archived-At: On Thu, Oct 6, 2011 at 16:38, Jason Rumney wrote: > Juanma Barranquero writes: > >> On Thu, Oct 6, 2011 at 16:24, Jason Rumney wrote: >> >>> This is a general url-parsing function, changing this to not return >>> the leading / on the file portion of the url will break every other user >>> of this function. >> >> Only the ones that incorrectly assume that the slash is part of the >> path. The ones that use expand-file-name, as Kevin pointed out, will >> continue to work. > > It is incorrect to assume that the slash is NOT part of the file portion > of the URL, when actual usage in http, ftp, gopher and file URLs on > platforms other than Windows and VMS relies on the leading slash being > preserved. Didn't we conclude before that the URL style file part does not include the leading "/"? Or was there any objection to this? AFAICS the URL style file part simply does not have the same (as *nix systems) file syntax. So I agree with Juanma here (which is not too common ;-).