From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: paths are sensative to double separators Date: Thu, 19 Mar 2009 09:33:56 -0400 Message-ID: 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 1237469679 8879 80.91.229.12 (19 Mar 2009 13:34:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 13:34:39 +0000 (UTC) Cc: Mike Mattie , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 14:35:56 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 1LkIPQ-0008Bh-1I for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 14:35:44 +0100 Original-Received: from localhost ([127.0.0.1]:52347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkIO3-000338-Pc for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 09:34:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkINk-0002v2-NA for emacs-devel@gnu.org; Thu, 19 Mar 2009 09:34:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkINf-0002tC-V5 for emacs-devel@gnu.org; Thu, 19 Mar 2009 09:34:00 -0400 Original-Received: from [199.232.76.173] (port=42794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkINf-0002t6-KM for emacs-devel@gnu.org; Thu, 19 Mar 2009 09:33:55 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:40414) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkINd-0001W3-1Z; Thu, 19 Mar 2009 09:33:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4EAKfmwUlFxIZP/2dsb2JhbACBT9E0g3wGhGI X-IronPort-AV: E=Sophos;i="4.38,389,1233550800"; d="scan'208";a="35394499" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 19 Mar 2009 09:33:52 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 53FAB7F0B; Thu, 19 Mar 2009 09:33:56 -0400 (EDT) In-Reply-To: (Miles Bader's message of "Thu, 19 Mar 2009 12:09:57 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109693 Archived-At: > It's a feature, as it makes filename entry more convenient, as you can > enter absolute filenames without erasing the existing path when entering > a filename. Yes, it's a feature in find-file (actually in the underlying `read-file-name' function). It's normally only used for interactive filename entry, with one historical exception: `load'. It's implemented by `substitute-in-file-name' which additionally does expansion of envvars, so (load "$FOOBAR/lisp/toto.el") also works. This `load' exception is undesirable, but at this point, it's not clear whether it's best to fix it or to preserve compatibility. Stefan