unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Gaute Hope <eg@gaute.vetsj.com>
To: notmuch@notmuchmail.org
Subject: Re: need to call notmuch_threads_get (..) to actually move iterator
Date: Sun, 28 Feb 2016 12:59:52 +0000	[thread overview]
Message-ID: <1456664193-astroid-0-qz0ivb5zpk-17424@strange> (raw)
In-Reply-To: <1456662798-astroid-2-5i0e2mz9gz-1529@strange>

Gaute Hope writes on February 28, 2016 13:36:
> Gaute Hope writes on February 24, 2016 13:08:
>> Hi,
>> 
>> it seems to be necessary to actually call notmuch_threads_get (threads)
>> to move the thread iterator from a query object, just calling
>> notmuch_threads_move_to_next (..) is not enough:
> 
> A test-case demonstrating this (for the 'astroid' code-base) is located
> here: https://github.com/gauteh/astroid/blob/ti-stateless-query/test/test_notmuch.cc#L66
> 
> At the moment, this test depends on the rest of the astroid test-suite,
> but it may be useful as a demonstration or skeleton for a notmuch
> test-case anyway.

Disregard that, my test-case was erroneous. 

-Gaute

  reply	other threads:[~2016-02-28 12:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 12:08 need to call notmuch_threads_get (..) to actually move iterator Gaute Hope
2016-02-28 12:36 ` Gaute Hope
2016-02-28 12:59   ` Gaute Hope [this message]
2016-02-28 14:26 ` Franz Fellner
2016-02-28 14:46   ` Franz Fellner
2016-02-28 15:46 ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456664193-astroid-0-qz0ivb5zpk-17424@strange \
    --to=eg@gaute.vetsj.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).