From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Please confirm this file-name-directory behavior Date: Fri, 14 Sep 2007 18:33:16 +0300 Message-ID: References: <1189780284.881345.172130@o80g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189784020 9026 80.91.229.12 (14 Sep 2007 15:33:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2007 15:33:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 17:33:39 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IWDAk-0006nZ-2w for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2007 17:33:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWDAj-0008Tr-Hm for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2007 11:33:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWDAX-0008Tk-Eu for help-gnu-emacs@gnu.org; Fri, 14 Sep 2007 11:33:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWDAV-0008TT-Kw for help-gnu-emacs@gnu.org; Fri, 14 Sep 2007 11:33:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWDAV-0008TM-FB for help-gnu-emacs@gnu.org; Fri, 14 Sep 2007 11:33:19 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWDAU-000685-Mq for help-gnu-emacs@gnu.org; Fri, 14 Sep 2007 11:33:18 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-43-135.inter.net.il [84.228.43.135]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DPV14961 (AUTH halo1); Fri, 14 Sep 2007 18:33:16 +0300 (IDT) In-reply-to: <1189780284.881345.172130@o80g2000hse.googlegroups.com> (message from Mirko on Fri, 14 Sep 2007 14:31:24 -0000) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47596 Archived-At: > From: Mirko > Date: Fri, 14 Sep 2007 14:31:24 -0000 > > I am running Emacs 22.1.1 on Windows XP, and I observe that file-name- > directory does not check whether the actual directory exists. It just > parses the string argument for the directory & file parts. > > I am not complaining about it not checking whether the directory > exists, I just want to confirm that this behavior is by design. It's by design. file-name-directory is driven by syntax of file names, not by whether files or directories exist.