From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: paths are sensative to double separators Date: Thu, 19 Mar 2009 17:33:35 +0200 Message-ID: <87tz5p5xyo.fsf@kobe.laptop> References: <20090319015037.GC6695@reforged> <87skl97og1.fsf@kobe.laptop> <87prgdsigb.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 1237479858 17198 80.91.229.12 (19 Mar 2009 16:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 16:24:18 +0000 (UTC) Cc: xah@xahlee.org, Mike Mattie , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 17:25:35 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 1LkL3G-0008Ap-Ew for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 17:25:03 +0100 Original-Received: from localhost ([127.0.0.1]:54296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkL1t-0006b7-St for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 12:23:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkKFe-0001Yh-3k for emacs-devel@gnu.org; Thu, 19 Mar 2009 11:33:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkKFZ-0001UG-HO for emacs-devel@gnu.org; Thu, 19 Mar 2009 11:33:45 -0400 Original-Received: from [199.232.76.173] (port=53142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkKFZ-0001UA-BK for emacs-devel@gnu.org; Thu, 19 Mar 2009 11:33:41 -0400 Original-Received: from poseidon.ceid.upatras.gr ([150.140.141.169]:56866) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkKFY-0001F2-Ow for emacs-devel@gnu.org; Thu, 19 Mar 2009 11:33:41 -0400 Original-Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 6C150EB4F07; Thu, 19 Mar 2009 17:33:39 +0200 (EET) Original-Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 5920445178; Thu, 19 Mar 2009 17:33:39 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Original-Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRegd3fWncAL; Thu, 19 Mar 2009 17:33:39 +0200 (EET) Original-Received: from kobe.laptop (adsl38-146.kln.forthnet.gr [77.49.165.146]) by mail.ceid.upatras.gr (Postfix) with ESMTP id F41524516F; Thu, 19 Mar 2009 17:33:38 +0200 (EET) Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n2JFXbNX002908; Thu, 19 Mar 2009 17:33:38 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n2JFXZOZ002907; Thu, 19 Mar 2009 17:33:35 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: <87prgdsigb.fsf@xemacs.org> (Stephen J. Turnbull's message of "Thu, 19 Mar 2009 23:20:04 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:109697 Archived-At: On Thu, 19 Mar 2009 23:20:04 +0900, "Stephen J. Turnbull" wrote: >Giorgos Keramidas writes: >> Having said that, I see that a double slash in find-file's prompt starts >> over from the filesystem root. That's slightly annoying when trying to >> open a filename with double slashes, > > Which is rather uncommon and has an obvious, Emacs-wide solution: C-q /. Unfortunately, quoting either slash of the double slash parts in something like `C-x C-f /etc//foo' still restarts the search from the filesystem root here, in GNU Emacs 23.0.91.1 (i386-unknown-freebsd8.0, GTK+ Version 2.14.7) of 2009-03-14. I think if `C-x C-f /etc/ C-q / foo' really passed "/etc//foo" as the file path name to the find-file function, it might be a nice change that doesn't feel too surprising to someone who relies on the current behavior. >> but it's also helpful when one really *wants* to start over from >> the root of the filesystem :/ > > Which is much more common and deserves a one-keystroke solution. Certainly :)