GNU bug report logs - #59902
30.0.50; Image overlay is not updated until the cursor moves to the overlay

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Thu, 8 Dec 2022 11:18:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 59902 <at> debbugs.gnu.org
Subject: bug#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay
Date: Thu, 15 Dec 2022 12:58:34 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: 59902 <at> debbugs.gnu.org
> Date: Thu, 15 Dec 2022 10:53:19 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> 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.

Which hooks are we talking about here?




This bug report was last modified 2 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.