emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-directory-p always returns nil in locate-mode on windows xp


From: Eli Zaretskii
Subject: Re: find-directory-p always returns nil in locate-mode on windows xp
Date: Sun, 23 May 2004 18:31:09 +0200

> Date: Sun, 23 May 2004 09:25:52 -0500 (CDT)
> From: Luc Teirlinck <address@hidden>
> 
> Essentially, from your postings I got the impression that on MS
> Windows, there is no analogue to:
> 
> sudo find / -name mypattern

That's true: there's no single parent to all the Windows filesystems
visible from a given machine.

> If so, then anything that needs to do something like that will have
> problems on MS Windows.

Maybe.  I was asking someone to find out the problems and describe
them.

> The original problem was that
> 
> (file-directory-p "d:/cygwin/usr/share/doc/antiword-0.34/")
> 
> returned nil, even though the directory existed, if the default
> directory was "/".  This seems strange, since
> "d:/cygwin/usr/share/doc/antiword-0.34/" looks to me to be an absolute
> file name, so default-directory should be completely ignored.

Indeed.  FWIW, I cannot reproduce this problem, neither with the
MS-DOS port of Emacs nor with the Windows port, if I create a buffer
and set its default-directory to "/".  (The Windows port I tried is a
bit dated, so perhaps the latest CVS code has some bug that is not in
my version.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]