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: Peter Lee
Subject: Re: find-directory-p always returns nil in locate-mode on windows xp
Date: Tue, 25 May 2004 11:56:40 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt)

>>>> Luc Teirlinck writes:

    Luc> The original (strange) claim was that, on MS Windows, even
    Luc> though (locate-get-dirname) returned the absolute name of an
    Luc> existing directory, the next call to file-directory-p
    Luc> returned nil, but _only_ in the *Locate* buffer and _only_ if
    Luc> default-directory was "/" in that buffer.  As we both agree,
    Luc> since the file name is absolute, default-directory "should"
    Luc> be completely irrelevant.  Apparently it is not in the OP's
    Luc> set-up.  The question is whether this is somehow just a
    Luc> (strange) local set-up problem, or whether other people can
    Luc> reproduce it.

Ok I just tried reproducing this with -q --no-site-file and I
couldn't... I should have done this to start with, I apologize.  I
narrowed the problem down to (require 'tramp) in my .emacs.

If you start emacs with -q --no-site-file and then do 
M-: (require 'tramp) RET

on windows you should see the problem.  I would think it would also
show itself on ms-dos.
 
On a side note, I never knew (or used) 'i' in the locate buffer.  But
it doesn't work on windows, even with -q --no-site-file.  The error
returned is:

dired-insert-subdir: Attempt to insert a non-directory: 
d:/cvs/emacs/debug/etc/enriched.doc/

Hope this helps.




reply via email to

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