Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / ef / 8e8cc3eb4bddd3cec0127b8d295bd9396ed3f5
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 87F94431FC2\r
6         for <notmuch@notmuchmail.org>; Sat,  4 May 2013 06:01:33 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id BOyskPc3wQZh for <notmuch@notmuchmail.org>;\r
18         Sat,  4 May 2013 06:01:28 -0700 (PDT)\r
19 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com\r
20  [74.125.82.46])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  DE645431FAF    for <notmuch@notmuchmail.org>; Sat,  4 May 2013 06:01:27 -0700\r
23  (PDT)\r
24 Received: by mail-wg0-f46.google.com with SMTP id n12so2295682wgh.1\r
25         for <notmuch@notmuchmail.org>; Sat, 04 May 2013 06:01:26 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=x-received:from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=sDCZjgwVc63efwm/NZIAJRanw+q7NDCtUKhQyMYctGA=;\r
29         b=gW7ZIFUlGDOOFLIXdS993/cLGkoF5yfBg2vBNYEH99o9my4maTOk7wFspe83XeZgHt\r
30         ERI+xHPR8xiCE4NbRXXPZIWYx3ozQvgBVQsnB9nDBbShd+oaUIMtYeipHtbHLPSeSIET\r
31         w9IKu5Dt/8VmdqLULqcKiYYvQVy6q+3MRH7auqyh9GrJ5ZwUDf06AOMhi3wjrdPNV7Ff\r
32         /FjHvTmn8aHy62R2g5lseVlsWhzVUIpyyEw3Yo5Nm05zkI9xuf3Zfat67HKNb6/t7S14\r
33         8p92W8uR2UKr7eBg/zHvvo74jIT0jFCprzwUhYy0d6tPjTJ1DoHPiQEC0I0rBMJb31m/\r
34         bafQ==\r
35 X-Received: by 10.180.183.210 with SMTP id eo18mr1993253wic.17.1367672485299; \r
36         Sat, 04 May 2013 06:01:25 -0700 (PDT)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id x13sm3143128wib.3.2013.05.04.06.01.23\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sat, 04 May 2013 06:01:24 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 0/4] emacs: show: lazy handling of hidden parts\r
45 Date: Sat,  4 May 2013 14:01:13 +0100\r
46 Message-Id: <1367672478-12247-1-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sat, 04 May 2013 13:01:33 -0000\r
61 \r
62 This is a much better version of the WIP patch at\r
63 id:1367628568-11656-1-git-send-email-markwalters1009@gmail.com\r
64 \r
65 There was some discussion on irc about the new invisibility handling\r
66 making large threads of messages with html parts slow to appear. This\r
67 is caused by the new code rendering all of these parts and then hiding\r
68 them. (I think this is exacerbated by the text/html having to fetch\r
69 the part as a separate request: it is not in the notmuch show output).\r
70 \r
71 This code makes the rendering of all hidden parts lazy (ie it occurs\r
72 when the part is shown). This should make the common case of hidden\r
73 parts which are never viewed much faster.\r
74 \r
75 The code is relatively simple: we store all the arguments to the part\r
76 insertion handler on the part button and then give them to the part\r
77 handler when needed. This is not very memory efficient (we already\r
78 store the whole message so we could extract it all again) but I think\r
79 it is unlikely to be a problem in practice.\r
80 \r
81 The patch series looks very large but almost everything of interest\r
82 happens in the final patch: the rest is code rearrangement. In\r
83 particular patch 3/4 is entirely code rearrangement (and since it\r
84 changes some indentation looks like it changes much more than it\r
85 actually does).\r
86 \r
87 Testing is always helpful but there are two particular things that\r
88 would be very useful: first, if anyone who has found it slow can see\r
89 if this fixes it and secondly if anyone with encryption setup could\r
90 test that the encryption buttons all work and look correct (I don't\r
91 have encryption set up).\r
92 \r
93 In my small amount of testing it seems to work and all tests pass.\r
94 \r
95 Best wishes\r
96 \r
97 Mark\r
98 \r
99 \r
100 Mark Walters (4):\r
101   emacs:show: separate out handling of application/octet-stream\r
102   emacs: show: handle inline patch fake parts at top level\r
103   emacs: show: move the insertion of the header button to the top level\r
104   emacs: show: implement lazy hidden part handling\r
105 \r
106  emacs/notmuch-show.el |  136 ++++++++++++++++++++++++++++++-------------------\r
107  emacs/notmuch-wash.el |    2 +-\r
108  2 files changed, 84 insertions(+), 54 deletions(-)\r
109 \r
110 -- \r
111 1.7.9.1\r
112 \r
113 \r
114 *** BLURB HERE ***\r
115 \r
116 Mark Walters (4):\r
117   emacs:show: separate out handling of application/octet-stream\r
118   emacs: show: handle inline patch fake parts at top level\r
119   emacs: show: move the insertion of the header button to the top level\r
120   emacs: show: implement lazy hidden part handling\r
121 \r
122  emacs/notmuch-show.el |  136 ++++++++++++++++++++++++++++++-------------------\r
123  emacs/notmuch-wash.el |    2 +-\r
124  2 files changed, 84 insertions(+), 54 deletions(-)\r
125 \r
126 -- \r
127 1.7.9.1\r
128 \r