notmuch_query_add_tag_excluded and notmuch_query_search_threads

David Bremner david at tethera.net
Sun Dec 7 05:54:55 PST 2014


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".


More information about the notmuch mailing list