Re: [PATCH] emacs: show: increase default max-text-part-size
authorTomi Ollila <tomi.ollila@iki.fi>
Thu, 15 Oct 2015 19:01:32 +0000 (22:01 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:45 +0000 (14:49 -0700)
82/0918820da93bf4a151b3603812d9ea01e6a93d [new file with mode: 0644]

diff --git a/82/0918820da93bf4a151b3603812d9ea01e6a93d b/82/0918820da93bf4a151b3603812d9ea01e6a93d
new file mode 100644 (file)
index 0000000..7add91a
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <tomi.ollila@iki.fi>\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 0BFDA6DE0B64\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Oct 2015 12:01:38 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.761\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.761 tagged_above=-999 required=5 tests=[AWL=0.109, \r
+ SPF_NEUTRAL=0.652] 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 OlMgIISF6jFl for <notmuch@notmuchmail.org>;\r
+ Thu, 15 Oct 2015 12:01:35 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 425786DE0B27\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Oct 2015 12:01:35 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id 74D621000E5;\r
+ Thu, 15 Oct 2015 22:01:32 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: show: increase default max-text-part-size\r
+In-Reply-To: <1444935189-28732-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1444935189-28732-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.20.2+68~g0c35549 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Thu, 15 Oct 2015 22:01:32 +0300\r
+Message-ID: <m21tcwlzw3.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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 19:01:38 -0000\r
+\r
+On Thu, Oct 15 2015, Mark Walters <markwalters1009@gmail.com> wrote:\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
+LGTM.\r
+\r
+Tomi\r
+\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
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r