[PATCH] emacs: show: increase default max-text-part-size
authorMark Walters <markwalters1009@gmail.com>
Thu, 15 Oct 2015 18:53:09 +0000 (19:53 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:45 +0000 (14:49 -0700)
bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 [new file with mode: 0644]

diff --git a/bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 b/bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7
new file mode 100644 (file)
index 0000000..a34d4d2
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id EEB806DE0B64\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Oct 2015 11:53:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.169\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.169 tagged_above=-999 required=5 tests=[AWL=0.739, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id rXAp5KMHM3jT for <notmuch@notmuchmail.org>;\r
+ Thu, 15 Oct 2015 11:53:25 -0700 (PDT)\r
+Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com\r
+ [209.85.215.42])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D7A5F6DE0B27\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Oct 2015 11:53:24 -0700 (PDT)\r
+Received: by lfaz124 with SMTP id z124so42320052lfa.1\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Oct 2015 11:53:22 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id;\r
+ bh=VNzHLoiCZCdnJhTUtmY03wqdFp9bxDzAJfHA49i8BPw=;\r
+ b=YYoBoBxUofZ/NqiXaqshW8GwXjJ1bPEIpjJD04wYzLX4DrL+94dPObqomfHULoqTWx\r
+ hAnDuq9Fx0EdRBgjSNb/J8bPIs7aHLDxXx53KjU3352pj7NUUWVqTBnaMhF/9vsmzPw2\r
+ l1Hf0CTfaUdPOG0ZuVPPph4BwwK3wDgiHsZy3RvDRocH6uZKFPWg3Sg/hjGOjkf/F4hb\r
+ 1EVZWQZZy3zQ+/4Cqg5M8aSm1TjBtS8Urxpme6c2pAuawKHtVNR5wpPEj5JElsXaqSmK\r
+ JrZ4inl7Isr6y1EgwbMIswoNmkN3g16X45e3Ov7mIF1l7zMTRLmqZCIFPVMSyWw50tHL\r
+ A8lA==\r
+X-Received: by 10.180.198.48 with SMTP id iz16mr313894wic.63.1444935202641;\r
+ Thu, 15 Oct 2015 11:53:22 -0700 (PDT)\r
+Received: from localhost (94.196.204.192.threembb.co.uk. [94.196.204.192])\r
+ by smtp.gmail.com with ESMTPSA id bh5sm18062519wjb.42.2015.10.15.11.53.20\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Thu, 15 Oct 2015 11:53:21 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: show: increase default max-text-part-size\r
+Date: Thu, 15 Oct 2015 19:53:09 +0100\r
+Message-Id: <1444935189-28732-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 2.1.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 15 Oct 2015 18:53:27 -0000\r
+\r
+Currently notmuch-show-max-text-part-size is 10000 which means some\r
+relatively normal messages have all parts hidden by default. Increase\r
+this to 100000 by default.\r
+\r
+The setting was introduced to alleviate problems with notmuch being\r
+very slow on large threads. Users hitting these problems may wish to\r
+customize this variable to something smaller (like 10000).\r
+---\r
+Since we have several people hitting this limit on irc it seems\r
+sensible to make the default much bigger and let the users who hit the\r
+slow down configure it.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+ emacs/notmuch-show.el | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 4dee34b..49fd198 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -100,7 +100,7 @@ visible for any given message."\r
+   :group 'notmuch-show\r
+   :group 'notmuch-hooks)\r
\r
+-(defcustom notmuch-show-max-text-part-size 10000\r
++(defcustom notmuch-show-max-text-part-size 100000\r
+   "Maximum size of a text part to be shown by default in characters.\r
\r
+ Set to 0 to show the part regardless of size."\r
+-- \r
+2.1.4\r
+\r