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: Wed, 26 May 2004 10:08:33 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt)

>> From: Peter Lee <address@hidden>
>> Date: Tue, 25 May 2004 13:33:54 -0500
>> 
>> dired-insert-subdir: Attempt to insert a non-directory: 
>> /:d:/cvs/emacs/etc/enriched.doc/

> That's not a bug, that's a cockpit error: `i' only works on lines
> that name directories, and d:/cvs/emacs/etc/enriched.doc is not a
> directory.

I assumed (wrongly it seems) that dired-insert-subdir would parse out
the directory if it was on a filename.. just like
locate-find-directory does.  I thought the only difference between
'V' and 'i' was that one would create a new buffer for the dired
output whereas the other would insert in the existing buffer.  It's
counter-intuitive that the usage is different.  But that's a seperate
(probably personal) issue.

>> Again all the files in my locate buffer are *local*.
>> 
>> Here's a snippet:
>> 
>>     c:/WINDOWS/system32/config/systemprofile/Templates/winword.doc
>>     c:/WINDOWS/system32/config/systemprofile/Templates/winword2.doc
>>     d:/antiword/Docs/testdoc.doc
>>     d:/cygwin/lib/python2.3/pdb.doc
>>     d:/cygwin/lib/python2.3/profile.doc
>>     e:/cvs/emacs/debug/etc/edt-user.doc
>>     e:/cvs/emacs/debug/etc/enriched.doc
>>     e:/cvs/emacs/etc/edt-user.doc
>>     e:/cvs/emacs/etc/enriched.doc

> These are all non-directories.  Please find a line that mentions a
> directory and try `i' on that line, or run "M-x locate" so that some
> of the file names it returns are directories.

It works on a line that contains only a directory.




reply via email to

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