Bug: counting messages twice after excluding tags yields different results

David Bremner david at tethera.net
Mon Sep 5 03:57:43 PDT 2016


Lucas <luc.lists at 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


More information about the notmuch mailing list