unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org, thierry.volpiatto@gmail.com
Subject: Re: Behavior of directory-files on Windows
Date: Thu, 01 Dec 2011 19:20:55 +0200	[thread overview]
Message-ID: <83r50o439k.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0SQQw3FDzjiTy6i9UL4gbsh-Z7Ot-bEaQy+8qYBp07EFpg@mail.gmail.com>

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Thu, 1 Dec 2011 15:39:41 +0100
> Cc: emacs-devel@gnu.org
> 
> On Thu, Dec 1, 2011 at 13:54, Thierry Volpiatto
> <thierry.volpiatto@gmail.com> 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.

Right.  DJGPP, the development environment used to build the DOS port
of Emacs, actually _invents_ these two entries in the root of each
drive, to avoid the unpleasant surprises like the one Thierry just
hit.



  parent reply	other threads:[~2011-12-01 17:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01 12:54 Behavior of directory-files on Windows Thierry Volpiatto
2011-12-01 14:39 ` Juanma Barranquero
2011-12-01 15:17   ` Thierry Volpiatto
2011-12-01 15:22     ` Juanma Barranquero
2011-12-01 15:37       ` Thierry Volpiatto
2011-12-01 15:43         ` Juanma Barranquero
2011-12-01 17:21     ` Eli Zaretskii
2011-12-01 17:36       ` Thierry Volpiatto
2011-12-01 17:20   ` Eli Zaretskii [this message]
2011-12-01 17:34     ` Thierry Volpiatto
2011-12-02  9:06       ` Eli Zaretskii
2011-12-02 10:46         ` Thierry Volpiatto
2011-12-02 15:03           ` Eli Zaretskii
2011-12-02 15:51             ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r50o439k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).