[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behavior of directory-files on Windows
From: |
Eli Zaretskii |
Subject: |
Re: Behavior of directory-files on Windows |
Date: |
Thu, 01 Dec 2011 19:20:55 +0200 |
> From: Juanma Barranquero <address@hidden>
> Date: Thu, 1 Dec 2011 15:39:41 +0100
> Cc: address@hidden
>
> On Thu, Dec 1, 2011 at 13:54, Thierry Volpiatto
> <address@hidden> 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.
Re: Behavior of directory-files on Windows,
Eli Zaretskii <=
- Re: Behavior of directory-files on Windows, Thierry Volpiatto, 2011/12/01
- Re: Behavior of directory-files on Windows, Eli Zaretskii, 2011/12/02
- Re: Behavior of directory-files on Windows, Thierry Volpiatto, 2011/12/02
- Re: Behavior of directory-files on Windows, Eli Zaretskii, 2011/12/02
- Re: Behavior of directory-files on Windows, Thierry Volpiatto, 2011/12/02