From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M\. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: opening /tmp//foo doesn't work. Date: Sat, 12 Nov 2005 16:55:59 +0100 Message-ID: <1131810959.377225.8902.nullmailer@Update.UU.SE> References: <20051112104720.GK11234@boetes.org> <1131806415.753652.8779.nullmailer@Update.UU.SE> <20051112151545.GN11234@boetes.org> Reply-To: ams@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131811028 27434 80.91.229.2 (12 Nov 2005 15:57:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 15:57:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 12 16:57:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eaxjv-0006R6-Nq for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 16:56:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eaxjv-0006cy-6g for ged-emacs-devel@m.gmane.org; Sat, 12 Nov 2005 10:56:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eaxjk-0006ct-Pc for emacs-devel@gnu.org; Sat, 12 Nov 2005 10:56:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eaxjj-0006ch-6n for emacs-devel@gnu.org; Sat, 12 Nov 2005 10:56:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eaxjj-0006ce-31 for emacs-devel@gnu.org; Sat, 12 Nov 2005 10:56:15 -0500 Original-Received: from [130.238.164.5] (helo=elvira.ekonomikum.uu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eaxjj-0002PC-8g for emacs-devel@gnu.org; Sat, 12 Nov 2005 10:56:15 -0500 Original-Received: by elvira.ekonomikum.uu.se (Postfix, from userid 204) id 5C29930C; Sat, 12 Nov 2005 16:56:11 +0100 (MEZ) Original-Received: from elvira.ekonomikum.uu.se(127.0.0.1) by elvira.ekonomikum.uu.se via virus-scan id s26631; Sat, 12 Nov 05 16:56:00 +0100 Original-Received: from Psilocybe.Update.UU.SE (Psilocybe.Update.UU.SE [130.238.19.25]) by elvira.ekonomikum.uu.se (Postfix) with ESMTP id 80309188; Sat, 12 Nov 2005 16:56:00 +0100 (MEZ) Original-Received: from localhost (localhost [127.0.0.1]) by Psilocybe.Update.UU.SE (Postfix) with ESMTP id 4A56C44003; Sat, 12 Nov 2005 16:56:00 +0100 (CET) Original-Received: from Psilocybe.Update.UU.SE ([127.0.0.1]) by localhost (Psilocybe [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08381-04-6; Sat, 12 Nov 2005 16:55:59 +0100 (CET) Original-Received: from Update.UU.SE (Lem.Update.UU.SE [130.238.19.73]) by Psilocybe.Update.UU.SE (Postfix) with SMTP id 7ED6844002; Sat, 12 Nov 2005 16:55:59 +0100 (CET) Original-Received: (nullmailer pid 8903 invoked by uid 30270); Sat, 12 Nov 2005 15:55:59 -0000 Original-To: Han Boetes In-reply-to: <20051112151545.GN11234@boetes.org> (message from Han Boetes on Sat, 12 Nov 2005 16:15:24 +0100) 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:45821 Archived-At: This is not about standards, but about what is the expected behaviour. Which was my point, there is no `expected behaviour'. > As for the side-effect behaviour you suggest, I think it would > confuse the hell out of me aleast... I don't think so. In the case of /tmp//foo /foo will be searched for first and that's what will be loaded and what is meant. What if I meant to create /foo and /tmp/foo just happens to exist? Right now you get a very nice and consitent behaviour. Your example only shows one specific case where it would be a nice thing to do, doing it in general would simply confuse people I think. Consider the case where you wish to create the file /etc/foo.conf, your current working directory is /home/ams. So what you will try to do is to open /home/ams//etc/foo.conf, since /etc/foo.conf doesn't exist, you end up opening /home/ams/etc/foo.conf, i.e. not what you want at all. Right now // has a single specific meaning, the less special cases the better IMHO.