Re: [PATCH] emacs: show: hide large text attachments by default

Subject: Re: [PATCH] emacs: show: hide large text attachments by default

Date: Sat, 28 Mar 2015 15:35:02 +0100

To: Mark Walters, notmuch@notmuchmail.org

Cc:

From: David Bremner


Mark Walters <markwalters1009@gmail.com> writes:

> notmuch-show can be slow displaying large attachments so hide them by
> default. The default maximum size is 10000 bytes/characters but it is
> customizable.
>
> Note that notmuch-show-insert-bodypart is also called from the reply
> code so we need to be a little careful.

I didn't look at the code yet, but I can confirm it makes a huge (about
17 times faster) difference for the problematic thread I have been
profiling.

d

Thread: