From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Image cache Date: Thu, 09 Feb 2006 23:51:30 +0100 Message-ID: References: <87bqxjjwii.fsf_-_@jurta.org> <878xsmewfo.fsf-monnier+emacs@gnu.org> <87fymsfj7v.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139528046 20345 80.91.229.2 (9 Feb 2006 23:34:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 23:34:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 10 00:34:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F7LIK-0006IZ-BF for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2006 00:33:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7LIJ-0005bd-JF for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2006 18:33:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7KmK-0002Z1-87 for emacs-devel@gnu.org; Thu, 09 Feb 2006 18:00:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7KmJ-0002YV-GV for emacs-devel@gnu.org; Thu, 09 Feb 2006 18:00:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7KmJ-0002Y2-8K for emacs-devel@gnu.org; Thu, 09 Feb 2006 18:00:43 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F7Kpw-0000FS-JY for emacs-devel@gnu.org; Thu, 09 Feb 2006 18:04:28 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F7Klq-0006hb-Qi for emacs-devel@gnu.org; Fri, 10 Feb 2006 00:00:15 +0100 Original-Received: from 1-1-3-38a.gml.gbg.bostream.se ([82.182.110.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2006 00:00:14 +0100 Original-Received: from brakjoller by 1-1-3-38a.gml.gbg.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2006 00:00:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 1-1-3-38a.gml.gbg.bostream.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:YqgqG2H8oHbTfQ3B0gtrPcLQmRg= 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:50283 Archived-At: Juri Linkov writes: > 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? Maybe to find all the > Emacs features that use images, and add `clear-image-cache'? Wouldn't that be more of a workaround than a fix? What Stefan suggested sounded more like a fix to me. The reason I say this, is that when I added `clear-image-cache' to tumme it felt like I worked around some "strange" behaviour in the image cache, and at least back then I thought that eventually that would be changed and I could remove the unnecessary function call.