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 13:16:14 +0200 Message-ID: <87skl97og1.fsf@kobe.laptop> References: <20090319015037.GC6695@reforged> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237461403 12669 80.91.229.12 (19 Mar 2009 11:16:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 11:16:43 +0000 (UTC) Cc: Mike Mattie , emacs-devel@gnu.org To: xah@xahlee.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 12:18:00 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 1LkGG5-0000K5-9h for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 12:17:57 +0100 Original-Received: from localhost ([127.0.0.1]:43487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkGEi-0005L6-QP for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 07:16:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkGEd-0005Ko-5D for emacs-devel@gnu.org; Thu, 19 Mar 2009 07:16:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkGEX-0005Gb-EY for emacs-devel@gnu.org; Thu, 19 Mar 2009 07:16:25 -0400 Original-Received: from [199.232.76.173] (port=40326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkGEX-0005GV-9R for emacs-devel@gnu.org; Thu, 19 Mar 2009 07:16:21 -0400 Original-Received: from poseidon.ceid.upatras.gr ([150.140.141.169]:53044) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkGEW-0006ul-Ur for emacs-devel@gnu.org; Thu, 19 Mar 2009 07:16:21 -0400 Original-Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id C8841EB4F42; Thu, 19 Mar 2009 13:16:17 +0200 (EET) Original-Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B88EF45088; Thu, 19 Mar 2009 13:16:17 +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 w+7GZsu89z06; Thu, 19 Mar 2009 13:16:17 +0200 (EET) Original-Received: from kobe.laptop (adsl126-96.kln.forthnet.gr [77.49.245.96]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 736FD4503F; Thu, 19 Mar 2009 13:16:17 +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 n2JBGGLo022733; Thu, 19 Mar 2009 13:16:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n2JBGE2X022732; Thu, 19 Mar 2009 13:16:14 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: (xah lee's message of "Wed, 18 Mar 2009 19:50:37 -0700") 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:109688 Archived-At: On Wed, 18 Mar 2009 19:50:37 -0700, xah lee wrote: > in unix-like OSes, double slash is effectively taken to mean root. > e.g. /foo/bar//baz.el would mean /baz.el > This convention is somewhat rooted in unixes. Not really, no: keramida@kobe:/home/keramida$ cd /etc//security keramida@kobe:/etc/security$ pwd /etc/security 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, but it's also helpful when one really *wants* to start over from the root of the filesystem :/