Re: [PATCH] emacs: show: increase default max-text-part-size

Subject: Re: [PATCH] emacs: show: increase default max-text-part-size

Date: Thu, 15 Oct 2015 22:01:32 +0300

To: Mark Walters, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Thu, Oct 15 2015, Mark Walters <markwalters1009@gmail.com> wrote:

> Currently notmuch-show-max-text-part-size is 10000 which means some
> relatively normal messages have all parts hidden by default. Increase
> this to 100000 by default.
>
> The setting was introduced to alleviate problems with notmuch being
> very slow on large threads. Users hitting these problems may wish to
> customize this variable to something smaller (like 10000).
> ---
> Since we have several people hitting this limit on irc it seems
> sensible to make the default much bigger and let the users who hit the
> slow down configure it.

LGTM.

Tomi

>
> Best wishes
>
> Mark
>
>  emacs/notmuch-show.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
> index 4dee34b..49fd198 100644
> --- a/emacs/notmuch-show.el
> +++ b/emacs/notmuch-show.el
> @@ -100,7 +100,7 @@ visible for any given message."
>    :group 'notmuch-show
>    :group 'notmuch-hooks)
>  
> -(defcustom notmuch-show-max-text-part-size 10000
> +(defcustom notmuch-show-max-text-part-size 100000
>    "Maximum size of a text part to be shown by default in characters.
>  
>  Set to 0 to show the part regardless of size."
> -- 
> 2.1.4
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Thread: