1 Return-Path: <david@tethera.net>
\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 arlo.cworth.org (Postfix) with ESMTP id E33B16DE17BE
\r
6 for <notmuch@notmuchmail.org>; Sun, 28 Feb 2016 07:46:34 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.035 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.024, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 9qjSNIVaiz6M for <notmuch@notmuchmail.org>;
\r
17 Sun, 28 Feb 2016 07:46:32 -0800 (PST)
\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id 39F056DE14D9
\r
20 for <notmuch@notmuchmail.org>; Sun, 28 Feb 2016 07:46:31 -0800 (PST)
\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
22 (envelope-from <david@tethera.net>)
\r
23 id 1aa3Yr-0000bA-RY; Sun, 28 Feb 2016 10:47:09 -0500
\r
24 Received: (nullmailer pid 5270 invoked by uid 1000);
\r
25 Sun, 28 Feb 2016 15:46:28 -0000
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: Gaute Hope <eg@gaute.vetsj.com>, notmuch@notmuchmail.org
\r
28 Subject: Re: need to call notmuch_threads_get (..) to actually move iterator
\r
29 In-Reply-To: <1456315381-astroid-1-8aih8mdal8-11676@strange>
\r
30 References: <1456315381-astroid-1-8aih8mdal8-11676@strange>
\r
31 User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1
\r
32 (x86_64-pc-linux-gnu)
\r
33 Date: Sun, 28 Feb 2016 11:46:28 -0400
\r
34 Message-ID: <87d1rg4z3f.fsf@zancas.localnet>
\r
36 Content-Type: text/plain
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.20
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Sun, 28 Feb 2016 15:46:35 -0000
\r
51 Gaute Hope <eg@gaute.vetsj.com> writes:
\r
55 > it seems to be necessary to actually call notmuch_threads_get (threads)
\r
56 > to move the thread iterator from a query object, just calling
\r
57 > notmuch_threads_move_to_next (..) is not enough:
\r
60 I'm not sure of all the details, but it is true that the
\r
61 notmuch_threads_get has side effects in the database. In particular it
\r
62 allocates new thread-ids. So I can easily imagine things failing if you
\r