[PATCH 06/11] lib: store thread recipients in thread structure
[notmuch-archives.git] / ab / 0fd4279e9cae2fe72bfcad83d3a2b2c26f7d94
1 Return-Path: <m.walters@qmul.ac.uk>\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 5EB0F429E52\r
6         for <notmuch@notmuchmail.org>; Sun, 12 Feb 2012 14:07:27 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id gp0XlqA8ZoVc for <notmuch@notmuchmail.org>;\r
17         Sun, 12 Feb 2012 14:07:27 -0800 (PST)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id C5B7E431FAE\r
22         for <notmuch@notmuchmail.org>; Sun, 12 Feb 2012 14:07:26 -0800 (PST)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1RwhZt-0002Hj-DI; Sun, 12 Feb 2012 22:07:25 +0000\r
27 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223]\r
28         helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1RwhZt-0003Wa-4S; Sun, 12 Feb 2012 22:07:25 +0000\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: notmuch@notmuchmail.org\r
34 Subject: Re: [RFC PATCH v2 1/3] cli: notmuch-show changes to support pick\r
35 In-Reply-To: <1329072579-27340-2-git-send-email-markwalters1009@gmail.com>\r
36 References: <1329072579-27340-1-git-send-email-markwalters1009@gmail.com>\r
37         <1329072579-27340-2-git-send-email-markwalters1009@gmail.com>\r
38 User-Agent: Notmuch/0.11.1+192~g23e894e (http://notmuchmail.org) Emacs/23.2.1\r
39         (i486-pc-linux-gnu)\r
40 Date: Sun, 12 Feb 2012 22:08:45 +0000\r
41 Message-ID: <87wr7rr9g2.fsf@qmul.ac.uk>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 X-Sender-Host-Address: 94.192.233.223\r
45 X-QM-SPAM-Info: Sender has good ham record.  :)\r
46 X-QM-Body-MD5: e6bee611ba0e24ef2dacd955144aecb9 (of first 20000 bytes)\r
47 X-SpamAssassin-Score: -1.8\r
48 X-SpamAssassin-SpamBar: -\r
49 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
50         determine if it is\r
51         spam. We require at least 5.0 points to mark a message as spam.\r
52         This message scored -1.8 points.\r
53         Summary of the scoring: \r
54         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
55         *      medium trust\r
56         *      [138.37.6.40 listed in list.dnswl.org]\r
57         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
58         provider *      (markwalters1009[at]gmail.com)\r
59         * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay\r
60         *      domain\r
61         *  0.5 AWL AWL: From: address is in the auto white-list\r
62 X-QM-Scan-Virus: ClamAV says the message is clean\r
63 X-BeenThere: notmuch@notmuchmail.org\r
64 X-Mailman-Version: 2.1.13\r
65 Precedence: list\r
66 List-Id: "Use and development of the notmuch mail system."\r
67         <notmuch.notmuchmail.org>\r
68 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
71 List-Post: <mailto:notmuch@notmuchmail.org>\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
73 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
74         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
75 X-List-Received-Date: Sun, 12 Feb 2012 22:07:27 -0000\r
76 \r
77 \r
78 This patch adds the following features to notmuch-show.c\r
79 \r
80 a --headers-only option which just outputs the headers of a message\r
81 (i.e. it omits the bodies). This is not strictly needed by\r
82 notmuch-pick.el but it gives a speed-up of at least a factor of a two;\r
83 moreover it reduces the memory usage of the emacs part hugely.\r
84 \r
85 a --sort=oldest-first|newest-first option to allow notmuch-pick.el to\r
86 choose the sort order.\r
87 \r
88 a --thread=none option to tell it to return just the matching messages\r
89 with not threading information at all. This is used by notmuch-pick.el\r
90 to display an unthreaded message view (e.g., for an inbox). It is also\r
91 useful for displaying a single message in the pick view as show is much\r
92 faster at showing  a single message than the whole thread.\r
93 \r
94 The other options for --thread of --thread=entire|match replace the\r
95 --entire-thread option.\r
96 \r
97 Presumably this should really be split into three separate patches, but\r
98 advice on this is gratefully received!\r
99 \r
100 Thanks\r
101 \r
102 Mark\r
103 \r