unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Fix image toggling for emacs 29.1
@ 2023-09-16 23:51 David Bremner
  2023-09-16 23:51 ` [PATCH 1/4] emacs: save undisplayer function for MIME parts David Bremner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Bremner @ 2023-09-16 23:51 UTC (permalink / raw)
  To: notmuch

This obsoletes the WIP patch at

     id:20230903114215.60583-1-david@tethera.net

The main changes are breaking the patch up into more managable pieces,
and only saving redisplay data for images.

I am more or less satisfied with the performance impact of this
change. I ran the following test before and after and didn't see a
noticable impact in memory use (in fact it seemed to go down in some
cases, which is a mystery to me).

(profiler-start 'mem)
(notmuch-show "mimetype:image and date:2023")
(profiler-stop)
(profiler-report)

More scientific testing or personal experience welcome. And of course
I'd like to know if this breaks, the code I'm modifying is fairly
complex and has accreted over a decade or so.


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

end of thread, other threads:[~2023-09-16 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16 23:51 Fix image toggling for emacs 29.1 David Bremner
2023-09-16 23:51 ` [PATCH 1/4] emacs: save undisplayer function for MIME parts David Bremner
2023-09-16 23:51 ` [PATCH 2/4] emacs/show: save redisplay redisplay data when showing lazy part David Bremner
2023-09-16 23:51 ` [PATCH 3/4] emacs: save image redisplay data during non-lazy display David Bremner
2023-09-16 23:51 ` [PATCH 4/4] emacs/show: special case toggling display of images David Bremner

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

	https://yhetil.org/notmuch.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).