From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: opening /tmp//foo doesn't work. Date: Sat, 12 Nov 2005 12:23:51 -0500 Message-ID: <874q6hlqzc.fsf@stupidchicken.com> References: <20051112104720.GK11234@boetes.org> <20051112163852.GA11661@www.trapp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131816295 7916 80.91.229.2 (12 Nov 2005 17:24:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 17:24:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 12 18:24:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eaz6e-0003JO-Vj for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 18:24:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eaz6e-000118-Ft for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 12:24:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eaz6W-000113-3d for emacs-devel@gnu.org; Sat, 12 Nov 2005 12:23:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eaz6U-00010r-Ls for emacs-devel@gnu.org; Sat, 12 Nov 2005 12:23:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eaz6U-00010o-Io for emacs-devel@gnu.org; Sat, 12 Nov 2005 12:23:50 -0500 Original-Received: from [18.95.6.101] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eaz6U-0007P5-KC for emacs-devel@gnu.org; Sat, 12 Nov 2005 12:23:50 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 7DA971E42FB; Sat, 12 Nov 2005 12:23:51 -0500 (EST) Original-To: tomas@tuxteam.de (Tomas Zerolo) In-Reply-To: <20051112163852.GA11661@www.trapp.net> (Tomas Zerolo's message of "Sat, 12 Nov 2005 17:38:52 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:45826 Archived-At: tomas@tuxteam.de (Tomas Zerolo) writes: > On Sat, Nov 12, 2005 at 11:46:58AM +0059, Han Boetes wrote: >> Hi, >> >> If you try to open /tmp//foo emacs will try to open /foo, of >> course this is a great feature, but it forgets that /tmp//foo is a >> valid notation of /tmp/foo. > > To interpret /tmp//foo is surprising to me. For example, my OS says > /tmp//foo --> /tmp/foo, as I think most Unixen do (I think POSIX > dictates that). The reason is convenience. This allows you to enter a new filename without having to erase the default offered in the minibuffer. (A similar example: /tmp/~/foo goes to ~/foo). I use this feature all the time. If you want to visit /tmp/foo, might I suggest entering /tmp/foo instead of /tmp//foo?