From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay slower in Emacs 28 than Emacs 27 Date: Tue, 08 Dec 2020 18:17:03 +0200 Message-ID: <83blf46znk.fsf@gnu.org> References: <878sa9hbe2.fsf@gnus.org> <877dptfvae.fsf@gnus.org> <83czzl8qwu.fsf@gnu.org> <87sg8h78s8.fsf@gnus.org> <87h7ox71xc.fsf@gnus.org> <874kkx6zwj.fsf@gnus.org> <87zh2p5ksl.fsf@gnus.org> <87r1o15ifl.fsf@gnus.org> <87eek15gaf.fsf@gnus.org> <83360g8huk.fsf@gnu.org> <87r1o0gwum.fsf@gnus.org> <87mtyogwac.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36451"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ghe@sdf.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 08 17:26:25 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmfoc-0008sY-Ck for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Dec 2020 17:26:14 +0100 Original-Received: from localhost ([::1]:60034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmfob-0003QK-CU for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Dec 2020 11:26:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmffs-0007Jj-Ba for emacs-devel@gnu.org; Tue, 08 Dec 2020 11:17:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53453) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmffs-0005p0-3j; Tue, 08 Dec 2020 11:17:12 -0500 Original-Received: from [176.228.60.248] (port=4374 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmffq-0007z7-CV; Tue, 08 Dec 2020 11:17:10 -0500 In-Reply-To: <87mtyogwac.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 08 Dec 2020 16:19:39 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260565 Archived-At: > From: Lars Ingebrigtsen > Cc: ghe@sdf.org, emacs-devel@gnu.org > Date: Tue, 08 Dec 2020 16:19:39 +0100 > > > Yes. Changing toolbar image file contents is such a rare action that > > it's not worth making Emacs recheck them on redisplay. > > Sorry, thinko -- what this new cache does is cache the image locations, > not the contents. So if you add a new search.xpm somewhere in the load > path, the toolbar will continue using the previously found location. > > If you change the image on file, there's no change from how this worked > in Emacs 27 -- Emacs will not show the new image, because it never > checks whether an image file is newer than what's in the image cache. > > So before as now, you have to clear the image cache in that case. But before one could put a new image file in a different place on image-load-path, and it would be used automatically instead of the old one? So if now this will not happen automatically, we should at least document that and provide a function to do that manually.