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

From: Ihor Radchenko <[email-masked]>
Date: Thu, 15 Dec 2022 10:53:19 +0000

Eli Zaretskii <[email-masked]> writes:

>> The above snippet creates a buffer with image FILE, reverts it if
>> necessary (`find-file-noselect' should do it), and returns the image
>> data that is guaranteed to be up-to-date with the actual file.
>
> Then why do you think it will cause slowdowns?  Especially if you
> call find-file-noselect with its 3rd argument non-nil, as I think you
> should anyway?

Hooks will be executed first time an image is opened. This may cause
slowdowns when there is a huge number of inline images in the buffer,
first time they are displayed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>