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

Mark Walters markwalters1009 at gmail.com
Thu Oct 15 11:53:09 PDT 2015


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.

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



More information about the notmuch mailing list