--- /dev/null
+Return-Path: <eg@gaute.vetsj.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3C8DB6DE0B26\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Feb 2016 04:59:59 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.498\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.498 tagged_above=-999 required=5 tests=[AWL=0.222,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Ct3TfQdxj_6X for <notmuch@notmuchmail.org>;\r
+ Sun, 28 Feb 2016 04:59:56 -0800 (PST)\r
+Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com\r
+ [209.85.215.49])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 72AA86DE0B4B\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Feb 2016 04:59:56 -0800 (PST)\r
+Received: by mail-lf0-f49.google.com with SMTP id j186so2226916lfg.2\r
+ for <notmuch@notmuchmail.org>; Sun, 28 Feb 2016 04:59:56 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623;\r
+ h=date:from:subject:to:references:in-reply-to:user-agent:message-id\r
+ :mime-version:content-transfer-encoding;\r
+ bh=g1BB3gQjd97r9lVY7QqRNrBw1tOCsbLACfaheNjI3yY=;\r
+ b=hMeCBqVQ55WbCBykMZt7fZoQnB2E6ZCyEUDlDX0n5u9wdAiMtHwTlrqcDznjMByqWQ\r
+ 6B59+siiDkC0n7TIoMKLMDXUbUMdQxZxJo1va4lNg0F32YVbskVsXGguGfRRJL9Gruhw\r
+ OwYWo9aWiq4XvBiAqt/4s3HXXwdMbpK07t5jnAixL5TWfFHT3INVB5ADjk4ilgKZw++J\r
+ qA8rZkss7QpoQdjGT1ydqMDMVjiEMgXy/ghW1mrYnem8kpI653qOGq6hUS4tWY2c7tV+\r
+ 8g99sCaLK77BmklvN9UuOV9v1ijljpqj5oqhNwWTzSNq50etGDlrrD/HqdIRmSyIyXpl\r
+ Hlew==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:date:from:subject:to:references:in-reply-to\r
+ :user-agent:message-id:mime-version:content-transfer-encoding;\r
+ bh=g1BB3gQjd97r9lVY7QqRNrBw1tOCsbLACfaheNjI3yY=;\r
+ b=TR9rRgjYVnzdFdRk5QCcKmB8IscWzcRn72xZzBnNQfNlDbCjaKbBeePAKpsfdPIZEf\r
+ nLbLRuXIzsNAF6fs47O5jJqOzWqrKLSwklSSlmyynW2VhvJySXlWJQJiNSPFU3Xnwxc8\r
+ z35WHgEnm4Fv2dw/E4PMh/55nhj9ncbSaMccFgm3tF+/r4NuhtiuzqZEwiGVMEI20ax9\r
+ KRJQPQZTFaXezwuUySgsSeFweAkTO7sQaqGS7bD+2c65J9LbqLDj0DesoMImiPOXGsFA\r
+ 1dnQIUpl6gE2BDAao0iWtZucEe/fhqov2M8raRvVJHuCs8NxJYH79T6+es7mndONN3H6\r
+ 04bg==\r
+X-Gm-Message-State:\r
+ AD7BkJKIN2mmjB9Dd2XiyOPNMzrpLES82n0T9OIH4BsOQLRP3TH/QJ7AAs8K9So+L53iOw==\r
+X-Received: by 10.25.149.145 with SMTP id x139mr3147103lfd.141.1456664394921; \r
+ Sun, 28 Feb 2016 04:59:54 -0800 (PST)\r
+Received: from localhost (c6878BF51.dhcp.as2116.net. [81.191.120.104])\r
+ by smtp.gmail.com with ESMTPSA id p124sm3142606lfe.31.2016.02.28.04.59.53\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sun, 28 Feb 2016 04:59:53 -0800 (PST)\r
+Date: Sun, 28 Feb 2016 12:59:52 +0000\r
+From: Gaute Hope <eg@gaute.vetsj.com>\r
+Subject: Re: need to call notmuch_threads_get (..) to actually move iterator\r
+To: notmuch@notmuchmail.org\r
+References: <1456315381-astroid-1-8aih8mdal8-11676@strange>\r
+ <1456662798-astroid-2-5i0e2mz9gz-1529@strange>\r
+In-Reply-To: <1456662798-astroid-2-5i0e2mz9gz-1529@strange>\r
+User-Agent: astroid/v0.5-72-gccc46dbb (https://github.com/gauteh/astroid)\r
+Message-Id: <1456664193-astroid-0-qz0ivb5zpk-17424@strange>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8; format=flowed\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 28 Feb 2016 12:59:59 -0000\r
+\r
+Gaute Hope writes on February 28, 2016 13:36:\r
+> Gaute Hope writes on February 24, 2016 13:08:\r
+>> Hi,\r
+>>=20\r
+>> it seems to be necessary to actually call notmuch_threads_get (threads)\r
+>> to move the thread iterator from a query object, just calling\r
+>> notmuch_threads_move_to_next (..) is not enough:\r
+>=20\r
+> A test-case demonstrating this (for the 'astroid' code-base) is located\r
+> here: https://github.com/gauteh/astroid/blob/ti-stateless-query/test/test=\r
+_notmuch.cc#L66\r
+>=20\r
+> At the moment, this test depends on the rest of the astroid test-suite,\r
+> but it may be useful as a demonstration or skeleton for a notmuch\r
+> test-case anyway.\r
+\r
+Disregard that, my test-case was erroneous.=20\r
+\r
+-Gaute\r
+=\r