Re: [PATCH] emacs: show: hide large text attachments by default
[notmuch-archives.git] / 81 / 31c740ede93a9ab6a5e8885bc4693ff392c483
diff --git a/81/31c740ede93a9ab6a5e8885bc4693ff392c483 b/81/31c740ede93a9ab6a5e8885bc4693ff392c483
new file mode 100644 (file)
index 0000000..0960d4c
--- /dev/null
@@ -0,0 +1,65 @@
+Return-Path: <david@tethera.net>\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 5F5FD6DE1994\r
+ for <notmuch@notmuchmail.org>; Fri,  3 Apr 2015 16:03:47 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.23\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.23 tagged_above=-999 required=5 tests=[AWL=0.426,\r
+ DATE_IN_PAST_12_24=0.804] 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 pM3q-5TGm5q9 for <notmuch@notmuchmail.org>;\r
+ Fri,  3 Apr 2015 16:03:45 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id AE7F56DE1992\r
+ for <notmuch@notmuchmail.org>; Fri,  3 Apr 2015 16:03:45 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <david@tethera.net>)\r
+ id 1YdXGE-0003SI-Vg; Thu, 02 Apr 2015 05:01:47 +0000\r
+Received: (nullmailer pid 22244 invoked by uid 1000); Wed, 01 Apr 2015\r
+ 06:59:29 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: show: hide large text attachments by default\r
+In-Reply-To: <1427540939-10055-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1427540939-10055-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 01 Apr 2015 08:59:29 +0200\r
+Message-ID: <877ftw49m6.fsf@maritornes.cs.unb.ca>\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: Fri, 03 Apr 2015 23:03:47 -0000\r
+\r
+Mark Walters <markwalters1009@gmail.com> writes:\r
+\r
+>\r
+> This code is getting a little fragile -- there are quite a lot of\r
+> factors in deciding whether to show or hide a part and the code is\r
+> called from both show and reply -- but it seems to work. For testing I\r
+> suggest setting notmuch-show-max-text-part-size to something small\r
+> like 100 or 1000.\r
+\r
+The change looks ok, and as I mentioned it in a previous mail, it seems\r
+to work well, at least for the notmuch-show bottleneck I know how to\r
+test.\r
+\r
+d\r
+\r