Re: Bug: counting messages twice after excluding tags yields different results

Subject: Re: Bug: counting messages twice after excluding tags yields different results

Date: Mon, 05 Sep 2016 07:57:43 -0300

To: Lucas, notmuch@notmuchmail.org

Cc:

From: David Bremner


Lucas <luc.lists@gmail.com> writes:

> Dear list members,
>
> I think I found a bug or at least undocumented behaviour in the notmuch
> library.  I would like to report this here.  Originally I found the bug
> in the python library but I attached a c program that shows the same
> behaviour.  I am running notmuch version 0.22.1 from the Arch Linux
> repositories.

I noticed that notmuch-reply.c actually uses a query in this way
(calling search after calling count on the same query). So this is a
bug, either in the query routines, or in notmuch-reply.

d

Thread: