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: Fri, 21 May 2004 19:41:34 +0200

> Date: Thu, 20 May 2004 12:58:25 -0500 (CDT)
> From: Luc Teirlinck <address@hidden>
> 
> One probably should use `convert-standard-filename'.  That is supposed
> to work on _all_ operating systems.

convert-standard-filename will leave "/" unaltered, since it's a
valid file name on MS-Windows filesystems.

My guess is that the problem is that locate.el uses "/" without a
drive letter.  I vaguely remember that it was hard to find a correct
behavior for expand-file-name when its second argument is "/", so
perhaps this bug is some side effect of what was decided long ago to
do in such cases.

Again, I don't think Emacs on Windows should have any buffer whose
default-directory is "/".




reply via email to

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