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: Luc Teirlinck
Subject: Re: find-directory-p always returns nil in locate-mode on windows xp
Date: Sun, 23 May 2004 09:25:52 -0500 (CDT)

Eli Zaretskii wrote:

   Sorry, you lost me: what is that ``best support'' in dired that one
   loses if the default-directory is not "/"?  And why cannot that
   support work on all Emacs platforms?

I can not check.  However, from your postings I got the impression
that one would have problems on MS Windows if the files listed in the
locate buffer spanned more than one drive.  From the comment before
the definition of locate-mode, I definitely also got the impression
that there would be at least some part of the dired functionality that
would no longer function perfectly.

Essentially, from your postings I got the impression that on MS
Windows, there is no analogue to:

sudo find / -name mypattern

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

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.

Sincerely,

Luc.








reply via email to

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