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:01:35 +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.


In GNU Emacs 21.3.50.19 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-11-25 on cc.at.coli.uni-sb.de
Distributor `The XFree86 Project, Inc', version 11.0.40201000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: address@hidden
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  eldoc-mode: t
  auto-image-file-mode: t
  desktop-save-mode: t
  global-auto-revert-mode: t
  iswitchb-mode: t
  which-function-mode: t
  show-paren-mode: t
  recentf-mode: t
  display-time-mode: t
  auto-insert-mode: t
  auto-compression-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-g q <escape> : <up> <right> C-e <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<backspace> <left> <left> <left> <escape> <backspace> 
n a m e <right> <right> <right> ' * ' <backspace> <backspace> 
<backspace> <left> <left> <left> <backspace> <backspace> 
<backspace> <backspace> <backspace> <right> <right> 
<right> <right> <right> <escape> <backspace> C-_ <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<return> C-_ <down> C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ 
C-_ C-_ C-_ C-_ <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down-mouse-1> <mouse-1> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Undo!
Redo!
Undo!
Redo!
Undo!
Redo!
Undo!
Redo!
Undo! [3 times]
Loading emacsbug...done




reply via email to

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