1 Return-Path: <eg@gaute.vetsj.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 40801431FC7
\r
6 for <notmuch@notmuchmail.org>; Sun, 7 Dec 2014 06:28:52 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id jqcZT9dFdj-f for <notmuch@notmuchmail.org>;
\r
16 Sun, 7 Dec 2014 06:28:47 -0800 (PST)
\r
17 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com
\r
18 [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 19E68431FC0 for <notmuch@notmuchmail.org>; Sun, 7 Dec 2014 06:28:42 -0800
\r
22 Received: by mail-wg0-f41.google.com with SMTP id y19so4339609wgg.14
\r
23 for <notmuch@notmuchmail.org>; Sun, 07 Dec 2014 06:28:40 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:date:from:subject:to:references:in-reply-to
\r
27 :user-agent:message-id:mime-version:content-type
\r
28 :content-transfer-encoding;
\r
29 bh=gqbkvg1YMy84hdXxt0TIGCy9WSu7h0fN2w9eqckxmNw=;
\r
30 b=K6nMgxsqm8o3CPHE7ueDkeU8QOAqtt6s40ORojRKdjwUwtd1/gf2mm/9kxNeYoZf6h
\r
31 Phvp+Ue7p/kG1Abw692oigCEUSEpMzQoaw1Y+ycn+isjLLU6CquMN5fBhPtBgblshFak
\r
32 PHFonzgtOQBpXvS8mRXfC7SKt7DilZkjReId7u3P+jdvPnURanWXYesTL2y19w5b7hHK
\r
33 LoU7wR+iqI4S+wNQC0ZA/N9FKRErteWHKO/LPw61vCcTk0hGGLQy8IgUYWSZ50JEexv8
\r
34 vI7Xl9j1jv62aCUSUN3LR+p/7qvWfdfRAHdOk+kORHWzHAtFWsFwM21UBmcbed/tt7o1
\r
37 ALoCoQnBOqjhtgWlOhlM/orixDLQPR/wtybhaVlDUXlxnuHRSNGILZ8nwZ9YALgzFMmUr8EHnznR
\r
38 X-Received: by 10.194.83.42 with SMTP id n10mr37313111wjy.133.1417962520854;
\r
39 Sun, 07 Dec 2014 06:28:40 -0800 (PST)
\r
40 Received: from localhost (216.89-20-249.enivest.net. [89.20.249.216])
\r
41 by mx.google.com with ESMTPSA id
\r
42 eu15sm5944242wid.18.2014.12.07.06.28.39 for <multiple recipients>
\r
43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
44 Sun, 07 Dec 2014 06:28:40 -0800 (PST)
\r
45 Date: Sun, 07 Dec 2014 14:29:21 +0000
\r
46 From: Gaute Hope <eg@gaute.vetsj.com>
\r
47 Subject: Re: notmuch_query_add_tag_excluded and notmuch_query_search_threads
\r
48 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
49 References: <1417905319-astroid-0-i86er7iwg5-10728@strange>
\r
50 <87388rfzhw.fsf@maritornes.cs.unb.ca>
\r
51 <1417958519-astroid-0-ydniq6pte2-8575@strange>
\r
52 <87wq63ef9s.fsf@maritornes.cs.unb.ca>
\r
53 In-Reply-To: <87wq63ef9s.fsf@maritornes.cs.unb.ca>
\r
54 User-Agent: astroid/vv0.1-10-g39dd8180 (https://github.com/gauteh/astroid)
\r
55 Message-Id: <1417962498-astroid-0-zqj7j2s0ov-9575@strange>
\r
57 Content-Type: text/plain; charset=utf-8; format=flowed
\r
58 Content-Transfer-Encoding: quoted-printable
\r
59 X-BeenThere: notmuch@notmuchmail.org
\r
60 X-Mailman-Version: 2.1.13
\r
62 List-Id: "Use and development of the notmuch mail system."
\r
63 <notmuch.notmuchmail.org>
\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
67 List-Post: <mailto:notmuch@notmuchmail.org>
\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
71 X-List-Received-Date: Sun, 07 Dec 2014 14:28:53 -0000
\r
73 Excerpts from David Bremner's message of December 7, 2014 14:54:
\r
74 > Gaute Hope <eg@gaute.vetsj.com> writes:
\r
77 >> I also did an notmuch_query_count_threads (query) as illustrated
\r
78 >> above, this returns 0 and also results in the erroneous behavior
\r
79 >> below. Your code works as expected without the _count_threads() call.
\r
81 > I think there's a documentation error; notmuch_query_count_threads is
\r
82 > destructive. As to why your's returns 0 that's still a mystery to me. I
\r
83 > get 84, which matches the output from "notmuch search".
\r
86 Ok, that explains it. You are right - I mixed up, the count is correct.
\r