have _notmuch_thread_create mark which messages matched the query
authorBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 04:28:39 +0000 (23:28 -0500)
committerBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 05:46:44 +0000 (00:46 -0500)
commit62878f71c2f2f1f8aabc6eeb3cab116bd38522db
tree37498d9359f920717a66b546744a7cbc69808ee9
parent7e02b448e7684a0b5619ccc1d9144441b909b618
have _notmuch_thread_create mark which messages matched the query

When _notmuch_thread_create() is given a query string, it can return more
messages than just those matching the query.  To distinguish those that
matched the query expression, the MATCHING_SEARCH flag is set
appropriately.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
lib/notmuch.h
lib/thread.cc