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: directory-files called with empty string Date: Tue, 08 Dec 2009 20:34:43 -0500 Message-ID: References: <87hbs1jh85.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260322521 18786 80.91.229.12 (9 Dec 2009 01:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Dec 2009 01:35:21 +0000 (UTC) Cc: emacs-devel@gnu.org, Thierry Volpiatto To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 09 02:35:13 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 1NIBSR-000607-M0 for ged-emacs-devel@m.gmane.org; Wed, 09 Dec 2009 02:35:11 +0100 Original-Received: from localhost ([127.0.0.1]:53358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIBSR-0003jF-Gu for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 20:35:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIBS5-0003PV-HV for emacs-devel@gnu.org; Tue, 08 Dec 2009 20:34:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIBS0-0003KT-KR for emacs-devel@gnu.org; Tue, 08 Dec 2009 20:34:48 -0500 Original-Received: from [199.232.76.173] (port=34005 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIBS0-0003KG-G9 for emacs-devel@gnu.org; Tue, 08 Dec 2009 20:34:44 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:4024 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIBS0-0000fe-6Y for emacs-devel@gnu.org; Tue, 08 Dec 2009 20:34:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAEAGGNHkvO+INN/2dsb2JhbACBTNZrhDIEih8 X-IronPort-AV: E=Sophos;i="4.47,365,1257138000"; d="scan'208";a="51070880" Original-Received: from 206-248-131-77.dsl.teksavvy.com (HELO ceviche.home) ([206.248.131.77]) by ironport2-out.pppoe.ca with ESMTP; 08 Dec 2009 20:34:43 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 95CA6B4206; Tue, 8 Dec 2009 20:34:43 -0500 (EST) In-Reply-To: (Andreas Schwab's message of "Tue, 08 Dec 2009 23:47:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (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:118415 Archived-At: >> is it the normal behavior of directory-files to use default-directory >> when it is called with empty string or is it a bug? > That is the normal behviour of every file related function. It is > basically what expand-file-name defines. Indeed, although I don't think it's documented, and code had probably better not rely on it. Stefan