Subject: Re: bug#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay

From: Eli Zaretskii <[email-masked]>
Date: Sat, 10 Dec 2022 13:03:21 +0200

> From: Ihor Radchenko <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 10 Dec 2022 09:57:33 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Thanks.  I think when the image is replaced, you need to call
> > clear-image-cache.
> 
> Sure, I can. Or even `image-flush'.
> However, it is not obvious at all that it should be necessary to clear
> image cache.
> 
> The current Emacs' behaviour is unexpected and very confusing here.
> Ideally, Emacs should be able to judge by itself whether to update
> cached image in memory.

You want Emacs to hit the disk and process the file on each redisplay
cycle?