emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file-cache not working anymore


From: Frederik Fouvry
Subject: file-cache not working anymore
Date: Thu, 25 Nov 2004 21:07:34 +0100 (CET)

Symptoms:

I tried to load file-cache with

(file-cache-add-directory-using-find "~/.")

which used to work, but now it only gives an empty cache.  When I
changed the arguments in the call to `find' in that function from

   ...
   "-name"
   (cond
    (file-cache-find-command-posix-flag
     "\\*")
    ((eq system-type 'windows-nt)
     "'*'")
    (t
     "*"))
   "-print"

to

   ...
   "-print"

(which is sufficient for `find' to give the desired output at least on
certain systems), then it worked again.  It seems that the call with
"-name \\*" does not produce the desired effect.  

On my system `file-cache-find-command-posix-flag' is t.

Note: I do not use file-cache often, therefore I do not know the point
at which it stopped working.

Additional information: with file-cache-find-command-posix-flag set to
nil, it worked again as well.




reply via email to

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