From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Image cache Date: Fri, 10 Feb 2006 18:02:37 -0500 Message-ID: References: <87bqxjjwii.fsf_-_@jurta.org> <878xsmewfo.fsf-monnier+emacs@gnu.org> <87fymsfj7v.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1139612860 17077 80.91.229.6 (10 Feb 2006 23:07:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2006 23:07:40 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 00:07:31 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7hMQ-000321-00 for ; Sat, 11 Feb 2006 00:07:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7hMM-000889-QB for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2006 18:07:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7hI2-0005vH-Bf for emacs-devel@gnu.org; Fri, 10 Feb 2006 18:02:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7hI0-0005u8-Ec for emacs-devel@gnu.org; Fri, 10 Feb 2006 18:02:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7hI0-0005tz-2p for emacs-devel@gnu.org; Fri, 10 Feb 2006 18:02:56 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7hLr-0000RK-FH for emacs-devel@gnu.org; Fri, 10 Feb 2006 18:06:55 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1F7hHh-0007TU-5v; Fri, 10 Feb 2006 18:02:37 -0500 Original-To: Juri Linkov In-reply-to: <87fymsfj7v.fsf@jurta.org> (message from Juri Linkov on Thu, 09 Feb 2006 21:18:16 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50335 Archived-At: But it is a bug that the image cache doesn't get updated when the image file content changes. Is there an easy way to fix it? Fixing this would be desirable. One way to do it would be to store the file's modtime in the image cache. Then any reference to the cache could stat the file to see if it has changed, and reload it if necessary. That is pretty simple in theory. Is it simple in practice?