Re: notmuch-show-mode: slowdown due to redisplay

Subject: Re: notmuch-show-mode: slowdown due to redisplay

Date: Tue, 07 Dec 2021 12:56:43 -0400

To: Rainer Gemulla, notmuch@notmuchmail.org

Cc:

From: David Bremner


Rainer Gemulla <hqn1@gmx.de> writes:

> Navigating certain messages (e.g., with many attachments or images)
> may become very slow in notmuch-show-mode. I see this rarely, but when
> it happens, it takes >1s to simply move the point so that the buffer
> is barely usable. The CPU profiler shows that
> notmuch-show-command-hook calls redisplay and that's that all where
> the time goes. Not sure if anything can be done about this.

Hmm. Hard to debug without a sample message, or a more definite
pattern. Do you notice a threshold in terms of numbers of attachements?
I can imagine there is some bad behaviour involving large numbers of
buttons when running redisplay.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: