From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: opening /tmp//foo doesn't work. Date: Sat, 12 Nov 2005 15:16:02 -0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131837408 25339 80.91.229.2 (12 Nov 2005 23:16:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 23:16:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 13 00:16:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eb4bc-0008Qm-9x for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2005 00:16:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eb4bb-0002FX-HO for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 18:16:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eb4bT-0002FS-6h for emacs-devel@gnu.org; Sat, 12 Nov 2005 18:16:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eb4bR-0002FE-Nu for emacs-devel@gnu.org; Sat, 12 Nov 2005 18:16:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eb4bR-0002FB-Iw for emacs-devel@gnu.org; Sat, 12 Nov 2005 18:16:09 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Eb4bR-0008Lj-F2 for emacs-devel@gnu.org; Sat, 12 Nov 2005 18:16:09 -0500 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id jACNRv2l015151 for ; Sat, 12 Nov 2005 17:27:57 -0600 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id jACNG7Ga007047 for ; Sat, 12 Nov 2005 16:16:07 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-73-250.vpn.oracle.com [141.144.73.250]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id jACNG79i007040 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 12 Nov 2005 16:16:07 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:45854 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? I don't. But I can't give a good reason why ;-). If people want to make it possible to interpret /tmp//foo as /tmp/foo, I'd prefer that that be available only as a user option, as opposed to having it happen now and again, depending on the context. IOW, I would like to control that as a user, and not have the program or its designers decide for me. I have no problem with the current (traditional) behavior.