GNU bug report logs - #53599
29.0.50; image-dired-mouse-toggle-mark very slow

Previous Next

Package: emacs;

Reported by: Peter Münster <pm <at> a16n.net>

Date: Fri, 28 Jan 2022 09:48:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Münster <pm <at> a16n.net>
To: 53599 <at> debbugs.gnu.org
Subject: bug#53599: 29.0.50; image-dired-mouse-toggle-mark very slow
Date: Fri, 28 Jan 2022 10:47:19 +0100
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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