unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Gaute Hope <eg@gaute.vetsj.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: notmuch_query_add_tag_excluded and notmuch_query_search_threads
Date: Sun, 07 Dec 2014 14:29:21 +0000	[thread overview]
Message-ID: <1417962498-astroid-0-zqj7j2s0ov-9575@strange> (raw)
In-Reply-To: <87wq63ef9s.fsf@maritornes.cs.unb.ca>

Excerpts from David Bremner's message of December 7, 2014 14:54:
> Gaute Hope <eg@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


  reply	other threads:[~2014-12-07 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-06 22:39 notmuch_query_add_tag_excluded and notmuch_query_search_threads Gaute Hope
2014-12-07 11:52 ` David Bremner
2014-12-07 13:24   ` Gaute Hope
2014-12-07 13:54     ` David Bremner
2014-12-07 14:29       ` Gaute Hope [this message]
2014-12-07 17:41         ` David Bremner
2014-12-08 17:17           ` Mark Walters

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=1417962498-astroid-0-zqj7j2s0ov-9575@strange \
    --to=eg@gaute.vetsj.com \
    --cc=david@tethera.net \
    --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).