]> git.notmuchmail.org Git - notmuch/commit
cli: omit excluded messages in results where appropriate.
authorMark Walters <markwalters1009@gmail.com>
Thu, 1 Mar 2012 22:30:43 +0000 (22:30 +0000)
committerDavid Bremner <bremner@debian.org>
Fri, 2 Mar 2012 12:37:32 +0000 (08:37 -0400)
commit7a1beb9e7c7fdf8971a60d810ae24e58c2d09673
tree1870498180b61ce2bc26142e4d264f8db0ee7219
parent99c318cae464159ca5b4ec86643ccf3c8b98c1b3
cli: omit excluded messages in results where appropriate.

In all cases of notmuch count/search/show where the results returned
cannot reflect the exclude flag return just the matched not-excluded
results. If the caller wishes to have all the matched results (i.e.,
including the excluded ones) they should call with the
--no-exclude option.

The relevant cases are
    count: both threads and messages
    search: all cases except the summary view
    show: mbox format
notmuch-count.c
notmuch-search.c
notmuch-show.c