notmuch_query_add_tag_excluded and notmuch_query_search_threads
Gaute Hope
eg at gaute.vetsj.com
Sun Dec 7 06:29:21 PST 2014
Excerpts from David Bremner's message of December 7, 2014 14:54:
> Gaute Hope <eg at gaute.vetsj.com> writes:
>
>>
>> I also did an notmuch_query_count_threads (query) as illustrated
>> above, this returns 0 and also results in the erroneous behavior
>> below. Your code works as expected without the _count_threads() call.
>
> I think there's a documentation error; notmuch_query_count_threads is
> destructive. As to why your's returns 0 that's still a mystery to me. I
> get 84, which matches the output from "notmuch search".
>
Ok, that explains it. You are right - I mixed up, the count is correct.
regards, gaute
More information about the notmuch
mailing list