Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / eb / 4395c059ee1c1548f6f2186b190638ccc9c710
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 91F87431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 12 Mar 2012 04:32:00 -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: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 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         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 RsF9eFsjADKi for <notmuch@notmuchmail.org>;\r
18         Mon, 12 Mar 2012 04:32:00 -0700 (PDT)\r
19 Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com\r
20         [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id E88BE431FAF\r
23         for <notmuch@notmuchmail.org>; Mon, 12 Mar 2012 04:31:59 -0700 (PDT)\r
24 Received: by wibhq7 with SMTP id hq7so2904632wib.2\r
25         for <notmuch@notmuchmail.org>; Mon, 12 Mar 2012 04:31:57 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=7YwI1ObKT+bhsuMwaWW/z5wczxWJB2fdSIWS755T4Iw=;\r
29         b=NnWjT7j04+0BwUSGTCNrNA0Pbf+ukQx10DhVAc11GONSw7p8N4g9kxY3SGVlRu/oCy\r
30         +niQjPbcskxU9D682H1Kp2mCSgBdr2rXqsJM5/yV0tFNELC50FEM1hlZ8JfGglG9Sqig\r
31         q9l/3Vk94VEZ7H1eZVkP/9fuihPi6EmjeQMAR9IuLy7uYh7fI1epAuuoiVlfNj56ppzM\r
32         919a0zztfQDg8Gy2nM7sYpr3u2w5WkL3B7o13CjMRqWDPRaX2n7z+frSoO7BSnaP36RB\r
33         qcvE3TGnDmK0WfmhbrEu/UZrZzBEPARvaeMTuON0GUFta4+dXaLtWs1I7p6R5SGbjCCB\r
34         tgwQ==\r
35 Received: by 10.180.79.231 with SMTP id m7mr26349093wix.11.1331551917441;\r
36         Mon, 12 Mar 2012 04:31:57 -0700 (PDT)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  t20sm57024857wiv.0.2012.03.12.04.31.55 (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Mon, 12 Mar 2012 04:31:56 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/2] A bug in the exclude code\r
44 Date: Mon, 12 Mar 2012 11:31:52 +0000\r
45 Message-Id: <1331551914-28323-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Mon, 12 Mar 2012 11:32:00 -0000\r
60 \r
61 There is a bug in the exclude code (found by jrollins in the\r
62 --with-excluded series) but also present in master.  None of the\r
63 current tests were finding it so the first patch adds two tests.\r
64 \r
65 The bug (and test failure) do not appear in all configuations: on my\r
66 main test machine (an oldish debian testing 32bit userspace with a\r
67 64bit kernel and xapian 1.2.7) all tests pass. On my laptop (a recent\r
68 debian testing 64bit userspace and xapian 1.2.8) one of the new tests\r
69 fails.\r
70 \r
71 The second patch fixes the behaviour for me but I don't see why it\r
72 should make a difference: searches for A and not B should give the\r
73 same results as A and not (A and B). It could be a bug in xapian, it\r
74 could be that I am not allowed to reuse queries as I do (is query1 =\r
75 query1 and query2 allowed?) or it could be some memory use bug on my\r
76 part.\r
77 \r
78 Anyway the "fix" is small which should help narrow down the actual\r
79 cause.\r
80 \r
81 Best wishes\r
82 \r
83 Mark \r
84 \r
85 Mark Walters (2):\r
86   test: add tests for message only search\r
87   lib: fix an exclude bug\r
88 \r
89  lib/query.cc |    5 +++--\r
90  test/search  |   11 +++++++++++\r
91  2 files changed, 14 insertions(+), 2 deletions(-)\r
92 \r
93 -- \r
94 1.7.9.1\r
95 \r