From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: opening /tmp//foo doesn't work. Date: Sat, 12 Nov 2005 16:21:59 -0500 Message-ID: References: <20051112104720.GK11234@boetes.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1131830608 10188 80.91.229.2 (12 Nov 2005 21:23:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 21:23:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 12 22:23:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eb2pv-0006Ti-Tr for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 22:23:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eb2pv-00043v-Ce for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 16:22:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eb2oy-0003la-SQ for emacs-devel@gnu.org; Sat, 12 Nov 2005 16:22:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eb2oy-0003lE-6o for emacs-devel@gnu.org; Sat, 12 Nov 2005 16:22:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eb2oy-0003lA-2J for emacs-devel@gnu.org; Sat, 12 Nov 2005 16:22:00 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eb2oy-00030M-4Q for emacs-devel@gnu.org; Sat, 12 Nov 2005 16:22:00 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Eb2ox-00030k-BF; Sat, 12 Nov 2005 16:21:59 -0500 Original-To: Han Boetes In-reply-to: <20051112104720.GK11234@boetes.org> (message from Han Boetes on Sat, 12 Nov 2005 11:46:58 +0059) 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:45841 Archived-At: So I would like to suggest that if opening /foo fails emacs will s|//|/|g and then try to open /tmp/foo, and if that fails will report that /foo and /tmp/foo do not exist. It won't work, because `/tmp/' is deleted in the minibuffer before Emacs ever tries to open a file. That is a very important feature, and must be enabled by default. However, it could make sense to turn off this feature when insert-default-directory is nil. Do people think that is a good idea?