From 0b9e46ee9b3cc02886da2e19a42ac73e0ef0df44 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Thu, 15 Oct 2015 19:53:09 +0100 Subject: [PATCH] [PATCH] emacs: show: increase default max-text-part-size --- bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 | 95 +++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 diff --git a/bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 b/bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 new file mode 100644 index 000000000..a34d4d207 --- /dev/null +++ b/bf/21f92b66ece4b3cb2e7a2d9c047d3b38671bf7 @@ -0,0 +1,95 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id EEB806DE0B64 + for ; Thu, 15 Oct 2015 11:53:26 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.169 +X-Spam-Level: +X-Spam-Status: No, score=0.169 tagged_above=-999 required=5 tests=[AWL=0.739, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id rXAp5KMHM3jT for ; + Thu, 15 Oct 2015 11:53:25 -0700 (PDT) +Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com + [209.85.215.42]) + by arlo.cworth.org (Postfix) with ESMTPS id D7A5F6DE0B27 + for ; Thu, 15 Oct 2015 11:53:24 -0700 (PDT) +Received: by lfaz124 with SMTP id z124so42320052lfa.1 + for ; Thu, 15 Oct 2015 11:53:22 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=VNzHLoiCZCdnJhTUtmY03wqdFp9bxDzAJfHA49i8BPw=; + b=YYoBoBxUofZ/NqiXaqshW8GwXjJ1bPEIpjJD04wYzLX4DrL+94dPObqomfHULoqTWx + hAnDuq9Fx0EdRBgjSNb/J8bPIs7aHLDxXx53KjU3352pj7NUUWVqTBnaMhF/9vsmzPw2 + l1Hf0CTfaUdPOG0ZuVPPph4BwwK3wDgiHsZy3RvDRocH6uZKFPWg3Sg/hjGOjkf/F4hb + 1EVZWQZZy3zQ+/4Cqg5M8aSm1TjBtS8Urxpme6c2pAuawKHtVNR5wpPEj5JElsXaqSmK + JrZ4inl7Isr6y1EgwbMIswoNmkN3g16X45e3Ov7mIF1l7zMTRLmqZCIFPVMSyWw50tHL + A8lA== +X-Received: by 10.180.198.48 with SMTP id iz16mr313894wic.63.1444935202641; + Thu, 15 Oct 2015 11:53:22 -0700 (PDT) +Received: from localhost (94.196.204.192.threembb.co.uk. [94.196.204.192]) + by smtp.gmail.com with ESMTPSA id bh5sm18062519wjb.42.2015.10.15.11.53.20 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Thu, 15 Oct 2015 11:53:21 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs: show: increase default max-text-part-size +Date: Thu, 15 Oct 2015 19:53:09 +0100 +Message-Id: <1444935189-28732-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 2.1.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 15 Oct 2015 18:53:27 -0000 + +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 + -- 2.26.2