[Top][All Lists]
[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 13:33:54 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) |
>> Peter Lee wrote:
>> 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.
> Do you mean you see the problem for _remote_ files or for _local_ files?
For local files. My locate database has only local files. I have no
idea why tramp breaks the 'V' (V runs the command
locate-find-directory) in the locate buffer, but perhaps it has some
hooks installed that are causing the prob.
In the locate buffer, if I M-: (setq default-directory "~/") then 'V'
starts working.
>> 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/
> Do you get that error _after_ the (require tramp) and for remote directories?
> Obviously, if the file is not a directory, or not recognized as one,
> that is the error message you will get.
I can get the error without (require 'tramp)... in other words just
-q --no-site-file, M-x locate RET *.doc RET 'i' yields the error
above. But I just noticed something... the error changes slightly
after (require 'tramp):
dired-insert-subdir: Attempt to insert a non-directory:
/:d:/cvs/emacs/etc/enriched.doc/
Notice the prepended '/'.
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
- Re: find-directory-p always returns nil in locate-mode on windows xp, (continued)
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/23
- Re: find-directory-p always returns nil in locate-mode on windows xp, Eli Zaretskii, 2004/05/24
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/24
- Message not available
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/24
- Re: find-directory-p always returns nil in locate-mode on windows xp, Eli Zaretskii, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp, Eli Zaretskii, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp,
Peter Lee <=
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/25
- Re: find-directory-p always returns nil in locate-mode on windows xp, Eli Zaretskii, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Eli Zaretskii, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/26
- Re: find-directory-p always returns nil in locate-mode on windows xp, Luc Teirlinck, 2004/05/27
- Re: find-directory-p always returns nil in locate-mode on windows xp, Peter Lee, 2004/05/27