From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Thu, 06 Oct 2011 22:38:29 +0800 Message-ID: <87lisyqj6i.fsf@gnu.org> References: <87sjn6qjt2.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317912015 13361 80.91.229.12 (6 Oct 2011 14:40:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 14:40:15 +0000 (UTC) Cc: Kevin Rodgers , 6339@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 16:40:08 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 1RBp7H-00065y-9w for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 16:40:08 +0200 Original-Received: from localhost ([::1]:36719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBp7G-0006p0-HD for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 10:40:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBp7D-0006no-UH for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBp79-0001ji-Gg for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:40:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBp79-0001jd-F2 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:39:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBp7G-00029b-78 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:40:07 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jason Rumney Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 14:40:03 +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.13179119658223 (code B ref 6339); Thu, 06 Oct 2011 14:40:03 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 6 Oct 2011 14:39:25 +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 1RBp6T-00028T-FG for submit@debbugs.gnu.org; Thu, 06 Oct 2011 10:39:20 -0400 Original-Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBp65-00027R-NC for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 10:39:01 -0400 Original-Received: by qadb12 with SMTP id b12so2142803qad.3 for <6339@debbugs.gnu.org>; Thu, 06 Oct 2011 07:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=DjNa97UKj7wxh8g/+ru/qDtHypxPbUI5KYNqWsbg3U0=; b=TBle1I27zlpYaqJmSQrA3DGzStLElKf4Lp7IQsejtOXawSGbgOGfy7thVaS159RDzu NMT/FZcpGZFyI4HaiYKMTQWCtFxVc5eGusDRbeaIa/agHSgy6M36yVkj4VNTDozsBKQ5 shJA5okj7uxxQqDdnaKJMFs/4D3K6hpyV6E6U= Original-Received: by 10.224.186.144 with SMTP id cs16mr579635qab.63.1317911919046; Thu, 06 Oct 2011 07:38:39 -0700 (PDT) Original-Received: from home.jasonrumney.net ([180.75.146.74]) by mx.google.com with ESMTPS id du5sm6588146qab.14.2011.10.06.07.38.34 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 07:38:37 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 30F82DA3; Thu, 6 Oct 2011 22:38:29 +0800 (MYT) In-Reply-To: (Juanma Barranquero's message of "Thu, 6 Oct 2011 16:30:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 10:40:06 -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:52284 Archived-At: 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.