From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: Behavior of directory-files on Windows Date: Thu, 01 Dec 2011 16:17:14 +0100 Message-ID: <87bors2uf9.fsf@gmail.com> References: <87liqw3116.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322752656 28955 80.91.229.12 (1 Dec 2011 15:17:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 15:17:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 01 16:17:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RW8OB-0007hx-Kv for ged-emacs-devel@m.gmane.org; Thu, 01 Dec 2011 16:17:31 +0100 Original-Received: from localhost ([::1]:59159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW8OB-0000VY-6A for ged-emacs-devel@m.gmane.org; Thu, 01 Dec 2011 10:17:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW8O4-0000VF-53 for emacs-devel@gnu.org; Thu, 01 Dec 2011 10:17:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW8O0-0003qs-L8 for emacs-devel@gnu.org; Thu, 01 Dec 2011 10:17:24 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:56472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW8O0-0003qi-Ik for emacs-devel@gnu.org; Thu, 01 Dec 2011 10:17:20 -0500 Original-Received: by ggnq4 with SMTP id q4so2315110ggn.0 for ; Thu, 01 Dec 2011 07:17:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=znx499z27zmxcev6M+N537f5f2TTQKZnnZUyqWHGyeg=; b=JoBT1GP2NVPnc1F+C5DI9E+1D3r57LpE9+a8hWcUqQBZh6cgHSs739/VZ1CWkU9qV1 WSsX6wl5wYGO+U9gr3/vGVPEMhhuDKe0ydXDYBmAxeecuUzdU6MUiOTtiUAj/0B2I9UJ w2UHG8RT1Rgzav8JOO3m4KIbXnbQBiHnehwkI= Original-Received: by 10.205.142.4 with SMTP id jg4mr7942952bkc.119.1322752639266; Thu, 01 Dec 2011 07:17:19 -0800 (PST) Original-Received: from thierry-MM061 (52.78.88.79.rev.sfr.net. [79.88.78.52]) by mx.google.com with ESMTPS id z7sm11999370bka.1.2011.12.01.07.17.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Dec 2011 07:17:18 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Thu, 1 Dec 2011 15:39:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146390 Archived-At: Juanma Barranquero writes: > On Thu, Dec 1, 2011 at 13:54, Thierry Volpiatto > wrote: > >> If I do: >> (directory-files "c:/") >> The "c:/." and "c:/.." candidates are omitted > > Assuming C:/ is really the root of your Windows' installation drive, > it does not have the . and .. entries (try doing "dir /a:" in C:\ and > in a subdirectory). So they are not omitted, they just are not there. Ok, I see now, thanks. >> However if I do (directory-files "x:/") >> The "x:/." and "x:/.." candidates are present as expected. > > What is X:/ in your system? A remote directory, a symlink, junction, > subst, a removable drive? It is a special volume that is used by Virtualbox as a shared directory between host and guest. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997