From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Thu, 6 Oct 2011 16:30:46 +0200 Message-ID: References: <87sjn6qjt2.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317911530 9818 80.91.229.12 (6 Oct 2011 14:32:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 14:32:10 +0000 (UTC) Cc: 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 16:32:06 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 1RBozW-00032Z-1s for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 16:32:06 +0200 Original-Received: from localhost ([::1]:33864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBozU-0005YB-Vr for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 10:32:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBozP-0005Xr-Dp for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:32:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBozJ-0000AY-OQ for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:31:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBozJ-0000AT-KT for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:31:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBozS-0001wj-5l for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 10:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 14:32: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.13179115047456 (code B ref 6339); Thu, 06 Oct 2011 14:32:02 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 6 Oct 2011 14:31:44 +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 1RBoz9-0001wC-8i for submit@debbugs.gnu.org; Thu, 06 Oct 2011 10:31:43 -0400 Original-Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBoz7-0001vx-5q for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 10:31:42 -0400 Original-Received: by vws5 with SMTP id 5so2289927vws.3 for <6339@debbugs.gnu.org>; Thu, 06 Oct 2011 07:31:26 -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:content-transfer-encoding; bh=8lMktH3n+bjM9HUZSnAHDYxeXh8KwqC3MO/OwSEKh4I=; b=dDiewtQWWZ2UYO5UeQnpOGEgwPqLHT3uK+E5O2Y+oT4yB04Ev1I34JrUCX0si1uc5y eXC+cPl9xvtAAeFrrQ7OxZ11NsI+bDtm6GIO9PR/7wBXpyjhiCL+uXDiKWpJVyxu2uin suGr87Ir9j9mK8cKGTouVfVE6ytDRjoGe0RlY= Original-Received: by 10.68.34.226 with SMTP id c2mr5999611pbj.99.1317911486145; Thu, 06 Oct 2011 07:31:26 -0700 (PDT) Original-Received: by 10.142.223.13 with HTTP; Thu, 6 Oct 2011 07:30:46 -0700 (PDT) In-Reply-To: <87sjn6qjt2.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 10:32: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:52283 Archived-At: 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. > This needs to be done for file URLs only Perhaps, but for non-file URLs, the slash isn't part of the path either. That's what the RFCs say. > and be system-dependent. That's a hack. =C2=A0 =C2=A0 Juanma