GNU bug report logs -
#12694
24.2.50; `file-cache-add-file(-list)' commands
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 20 Oct 2012 22:47:02 UTC
Severity: normal
Found in version 24.2.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > 4. `file-cache-add-file': Why does the file need to exist for
> > interactive use?
>
> I believe that's somewhat inherent in the design of filecache.el. The
> package assumes that the cached file names have unique non-directory
> parts. If `file-cache-add-file' lets you enter a non-existent file
> name, and that inadvertently has the same non-directory part as an
> existing cache entry, the result would be to wipe out the cache entry
> for the existing file in favor of a non-existent entry, which would be
> annoying. That said, I don't personally use filecache.el;
> this is only from my reading of the code.
Thanks. But what about the call to `message' for non-interactive use? That's
pretty uncommon. What's the rationale for that here?
This bug report was last modified 12 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.