unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53599: 29.0.50; image-dired-mouse-toggle-mark very slow
@ 2022-01-28  9:47 Peter Münster
  2022-01-31  9:02 ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2022-01-28  9:47 UTC (permalink / raw)
  To: 53599

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Hi,

When using a buffer with about 5000 images,
image-dired-mouse-toggle-mark takes about 1-2 seconds for one image.

This is not a big problem. But when using this function on a region with
about 200 images, then you need to wait several minutes for completion.

That's because image-dired-thumb-update-marks is called in the macro
image-dired--on-file-in-dired-buffer and therefore unnecessarily for
each image in the region.

What could be a good way to avoid the repeated calls to
image-dired-thumb-update-marks please?

TIA for any help,
-- 
           Peter

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-16  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28  9:47 bug#53599: 29.0.50; image-dired-mouse-toggle-mark very slow Peter Münster
2022-01-31  9:02 ` Peter Münster
2022-09-15 17:57   ` Peter Münster
2022-09-15 20:39     ` Stefan Kangas
2022-09-16  5:09       ` Peter Münster
2022-09-16  9:54         ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).