From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12694: 24.2.50; `file-cache-add-file(-list)' commands Date: Fri, 16 Nov 2012 22:47:26 -0800 Message-ID: <1F4DC9A9489C4EF49088BCDA11F2E033@us.oracle.com> References: <5D93535BCDA54EA9BF30475E92222D4C@us.oracle.com> <878va07npa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353134899 20527 80.91.229.3 (17 Nov 2012 06:48:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 06:48:19 +0000 (UTC) Cc: 12694@debbugs.gnu.org To: "'Chong Yidong'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 07:48:29 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZcCb-00052U-Bj for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 07:48:29 +0100 Original-Received: from localhost ([::1]:36383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZcCR-0000Ha-FF for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 01:48:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZcCM-0000HP-Pk for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 01:48:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZcCJ-0007A6-Ng for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 01:48:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZcCJ-0007A0-KW for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 01:48:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TZcD8-0002pv-0Q for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 01:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2012 06:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12694-submit@debbugs.gnu.org id=B12694.135313491310868 (code B ref 12694); Sat, 17 Nov 2012 06:49:01 +0000 Original-Received: (at 12694) by debbugs.gnu.org; 17 Nov 2012 06:48:33 +0000 Original-Received: from localhost ([127.0.0.1]:50052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZcCc-0002pC-D1 for submit@debbugs.gnu.org; Sat, 17 Nov 2012 01:48:31 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:44267) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZcCZ-0002p5-QW for 12694@debbugs.gnu.org; Sat, 17 Nov 2012 01:48:29 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qAH6lXS2023898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 17 Nov 2012 06:47:35 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qAH6lXMa004403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Nov 2012 06:47:33 GMT Original-Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qAH6lV02026492; Sat, 17 Nov 2012 00:47:31 -0600 Original-Received: from dradamslap1 (/10.159.229.77) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 16 Nov 2012 22:47:31 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <878va07npa.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac3EjAC1MtByQU0MQoOGPY7h/xsvYAAA0nJA X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.7 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67038 Archived-At: > > 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?