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:17 +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 1317913808 27020 80.91.229.12 (6 Oct 2011 15:10:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 15:10:08 +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:03 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 1RBpaD-0001Ve-Dp for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 17:10:01 +0200 Original-Received: from localhost ([::1]:41814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpaC-0006Id-Hg for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 11:10:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpa6-00065N-EQ for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:09:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBpa5-0007wK-82 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 11:09:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBpa5-0007wC-5O 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-0003cE-44 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.131791374713821 (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:07 +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 1RBpZL-0003as-Mn for submit@debbugs.gnu.org; Thu, 06 Oct 2011 11:09:07 -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 1RBpZI-0003aP-Rp for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 11:09:05 -0400 Original-Received: by wwi18 with SMTP id 18so4298496wwi.15 for <6339@debbugs.gnu.org>; Thu, 06 Oct 2011 08:08:50 -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=q/nuQcGvmx7uCHsTDhBWQa9Ha/n4PZxhU/1VHEiO7bsyqxJ6bmK1QIqEhAA5HPau3G kGNZijRtwJfI7csWwXYeaJrckbJFBlTMwwba1M/fbtwlIIGrQsiY0P7cZOE34pxPcmD7 PIZt2zBc0WmWooyeVuReiu14tL377Mu9ZwVp0= Original-Received: by 10.216.55.210 with SMTP id k60mr1061999wec.61.1317913729926; Thu, 06 Oct 2011 08:08:49 -0700 (PDT) Original-Received: by 10.152.20.229 with HTTP; Thu, 6 Oct 2011 08:08:17 -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:52287 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 ;-).