provide various lazy-show options

Subject: provide various lazy-show options

Date: Mon, 27 Jun 2022 22:02:00 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


It is a bit of an unfortunate profusion of options, but it isn't
really clear to me yet if there is one best heuristic for all
use-cases. The overall observation is that for most threads (even up
to several hundred messages), the time to return the query from the
notmuch CLI is much smaller than that to render it in emacs. This
series expands upon some existing ideas of not rendering large text/*
attachments to "lazily" render message bodies for messages satisfying
certain criteria. In one of the introduced test cases this yields
about a 10x speedup. Of course the comparison is not completly fair as
the user probably has to do more work in opening messages to read
them.

I can imagine a couple of different UI improvements. One would be just
choosing some better default values for the parameters discussed in
this series. Another would be to provide a nice ui for temporarily
changing them and re-rendering (perhaps analogous to the limit
commands already present).


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

Thread: