From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: paths are sensative to double separators Date: Fri, 20 Mar 2009 08:57:45 -0400 Message-ID: References: <20090319015037.GC6695@reforged> <87skl97og1.fsf@kobe.laptop> <87prgdsigb.fsf@xemacs.org> <87tz5p5xyo.fsf@kobe.laptop> <87ocvwsq0z.fsf@xemacs.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237553877 26846 80.91.229.12 (20 Mar 2009 12:57:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 12:57:57 +0000 (UTC) Cc: Giorgos Keramidas , xah@xahlee.org, emacs-devel@gnu.org, Mike Mattie To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 13:59:14 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkeJb-0001vV-Uc for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2009 13:59:12 +0100 Original-Received: from localhost ([127.0.0.1]:53845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkeIE-0008TM-RX for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2009 08:57:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkeIA-0008Sz-8I for emacs-devel@gnu.org; Fri, 20 Mar 2009 08:57:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkeI4-0008Sn-PO for emacs-devel@gnu.org; Fri, 20 Mar 2009 08:57:40 -0400 Original-Received: from [199.232.76.173] (port=44149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkeI4-0008Sk-Hv for emacs-devel@gnu.org; Fri, 20 Mar 2009 08:57:36 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:39488 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkeI4-0004Zw-7i for emacs-devel@gnu.org; Fri, 20 Mar 2009 08:57:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAP0vw0lFxIZP/2dsb2JhbACBT9Jfg30GhGY X-IronPort-AV: E=Sophos;i="4.38,395,1233550800"; d="scan'208";a="35438295" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 20 Mar 2009 08:57:34 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3CBDC7F74; Fri, 20 Mar 2009 08:57:45 -0400 (EDT) In-Reply-To: <87ocvwsq0z.fsf@xemacs.org> (Stephen J. Turnbull's message of "Fri, 20 Mar 2009 14:48:44 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109718 Archived-At: > I can't imagine anyone relies on having Emacs deliberately disobey > "/foo/" C-q "/" and convert it to "/". C-q / doesn't say "mark this slash as a special slash that shouldn't be magical. It only says "don't use the command bound to slash, but instead just insert a slash char". The "/foo// -> /" conversion is done much later (as can be seen since hitting DEL after having hit / gets you back to /foo/). > N.B. This matters if you want to use URLs, because not only do you find-file does not work for URLs unless you enable url-handler-mode. If you enable url-handler-mode, then "file:///foo" will not be converted to "/foo". I.e. I think it works correctly, including for URLs. Stefan