From: Chong Yidong <cyd@gnu.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 12694@debbugs.gnu.org
Subject: bug#12694: 24.2.50; `file-cache-add-file(-list)' commands
Date: Sat, 17 Nov 2012 14:22:57 +0800 [thread overview]
Message-ID: <878va07npa.fsf@gnu.org> (raw)
In-Reply-To: <5D93535BCDA54EA9BF30475E92222D4C@us.oracle.com> (Drew Adams's message of "Sat, 20 Oct 2012 15:44:26 -0700")
"Drew Adams" <drew.adams@oracle.com> writes:
> 2. Doc string of `file-cache-add-file-list':
>
> a. Typo: "files names" -> "file names".
>
> b. The doc string should say that the input you provide is read as a
> Lisp sexp and evaluated to produce a list of (absolute?) file names.
Fixed in the branch, thanks.
> 3. A cursory scan of the code suggests that the behavior might not be
> correct if you input a relative file name to `file-cache-add-file-list'.
Fixed in trunk.
> 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.
next prev parent reply other threads:[~2012-11-17 6:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-20 22:44 bug#12694: 24.2.50; `file-cache-add-file(-list)' commands Drew Adams
2012-11-17 6:22 ` Chong Yidong [this message]
2012-11-17 6:47 ` Drew Adams
2012-11-17 6:51 ` Chong Yidong
2012-11-17 6:52 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878va07npa.fsf@gnu.org \
--to=cyd@gnu.org \
--cc=12694@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.