database error
[notmuch-archives.git] / 8d / 4f0dc761701b00a1a8034f01db669a9246f94f
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 3DD0B431FBD\r
6         for <notmuch@notmuchmail.org>; Thu, 22 Nov 2012 11:35:14 -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 ADljbThKRzeS for <notmuch@notmuchmail.org>;\r
17         Thu, 22 Nov 2012 11:35:13 -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 65C97431FAF\r
22         for <notmuch@notmuchmail.org>; Thu, 22 Nov 2012 11:35:13 -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 1TbcYH-0000Lh-IO; Thu, 22 Nov 2012 19:35:09 +0000\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
28         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69)\r
29         (envelope-from <m.walters@qmul.ac.uk>)\r
30         id 1TbcYH-0001eU-8C; Thu, 22 Nov 2012 19:35:09 +0000\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
33  notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON\r
35         output\r
36 In-Reply-To: <87y5hty5q2.fsf@servo.finestructure.net>\r
37 References: <1352487491-31512-1-git-send-email-markwalters1009@gmail.com>\r
38         <1352487491-31512-3-git-send-email-markwalters1009@gmail.com>\r
39         <87y5hty5q2.fsf@servo.finestructure.net>\r
40 User-Agent: Notmuch/0.14+81~g9730584 (http://notmuchmail.org) Emacs/23.4.1\r
41         (x86_64-pc-linux-gnu)\r
42 Date: Thu, 22 Nov 2012 19:35:10 +0000\r
43 Message-ID: <87pq35jus1.fsf@qmul.ac.uk>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=us-ascii\r
46 X-Sender-Host-Address: 93.97.24.31\r
47 X-QM-SPAM-Info: Sender has good ham record.  :)\r
48 X-QM-Body-MD5: d86b7759bc0c9809faaf24781ca6b835 (of first 20000 bytes)\r
49 X-SpamAssassin-Score: -1.8\r
50 X-SpamAssassin-SpamBar: -\r
51 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
52         determine if it is\r
53         spam. We require at least 5.0 points to mark a message as spam.\r
54         This message scored -1.8 points.\r
55         Summary of the scoring: \r
56         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
57         *      medium trust\r
58         *      [138.37.6.40 listed in list.dnswl.org]\r
59         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
60         provider *      (markwalters1009[at]gmail.com)\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: Thu, 22 Nov 2012 19:35:14 -0000\r
76 \r
77 \r
78 Hi\r
79 \r
80 On Thu, 22 Nov 2012, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
81 > On Fri, Nov 09 2012, Mark Walters <markwalters1009@gmail.com> wrote:\r
82 >> This adds a --output=with-ids option which gives similar output to the\r
83 >> normal search summary output but with a list of message ids\r
84 >> too. Currently this is not implemented for text format.\r
85 >\r
86 > Hey, Mark.  Very nit-picky comment here, but I'm not sure "with-ids" is\r
87 > an appropriate name for an output type.  "with-ids" sounds like a\r
88 > modifier, as opposed to a output type unto itself.\r
89 \r
90 Yes that is true: I am very happy for any suggestions. Perhaps\r
91 summary-with-ids?\r
92 \r
93 > But I wonder if this separate output type is really necessary.  Can the\r
94 > emacs interface just make two separate search calls to the binary when\r
95 > constructing the buffer, one with --output=summary and one with\r
96 > --output=messages?  Wouldn't that provide all the needed info?  I guess\r
97 > there would still be a race condition, especially for really long search\r
98 > results, but I wonder if the calls could actually be made in parallel at\r
99 > the same time.  Maybe that would require more work.  Sorry, just\r
100 > thinking out loud here...\r
101 \r
102 As you say this doesn't fully solve the race. But more importantly there\r
103 are two races: one for * (apply tag change to all matching messages) and\r
104 one for tagging singles threads. I don't see how this would help with\r
105 the latter. In my use this is the worrying race: I archive a thread to\r
106 say I have dealt with it but I may archive a reply which arrived after I\r
107 populated the search buffer.\r
108 \r
109 Best wishes\r
110 \r
111 Mark\r
112 \r