From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Thu, 06 Oct 2011 12:49:20 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1317919803 7823 80.91.229.12 (6 Oct 2011 16:50:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 16:50:03 +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 18:49:58 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 1RBr8v-0007tq-QK for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 18:49:57 +0200 Original-Received: from localhost ([::1]:56283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr8v-0007kH-G4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 12:49:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr8s-0007k1-BJ for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 12:49:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBr8r-0002eX-Ak for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 12:49:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr8r-0002eT-7z for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 12:49:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBr90-0005yK-77 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 16:50: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.131791978522926 (code B ref 6339); Thu, 06 Oct 2011 16:50:02 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 6 Oct 2011 16:49:45 +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 1RBr8j-0005xj-1r for submit@debbugs.gnu.org; Thu, 06 Oct 2011 12:49:45 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBr8f-0005xZ-9K for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 12:49:42 -0400 Original-Received: from ceviche.home ([70.83.132.46]) by VL-VM-MR004.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0LSN007SML99YOA0@VL-VM-MR004.ip.videotron.ca> for 6339@debbugs.gnu.org; Thu, 06 Oct 2011 12:46:24 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 18615660B6; Thu, 06 Oct 2011 12:49:20 -0400 (EDT) In-reply-to: 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 12:50: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:52298 Archived-At: >> I'm interested in the actual resulting >> code changes: the above sample patch fails to include the corresponding >> (expand-file-name (url-filename ...) "/"), for example. > There are 41 uses of (url-filename ...) in the Emacs sources, all of > them in url\url*.el except two in net/xesam.el. But the patch you sent changes url-generic-parse-url so it presumably can affect many more places that just those that call url-filename. > I'm unwilling to go looking for things to fix and prepare such a patch > unless there's some consensus that removing the slash is the Right > Thing to Do. I think it's the right thing to do. But maybe the best patch will need to rename the `filename' slot and to define url-filename to do the (expand-file-name (url-somethingelse URL) "/") or something like that. Stefan