notmuch-show: identify which messages printed matched the query string
authorBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 04:34:15 +0000 (23:34 -0500)
committerBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 05:46:44 +0000 (00:46 -0500)
commitb9e96ccb0d5242033704ff81fee0c720772a312f
treefb62aeca96b55327d9f365d56f64cd30aff2f787
parent62878f71c2f2f1f8aabc6eeb3cab116bd38522db
notmuch-show: identify which messages printed matched the query string

The show command outputs all messages in the threads that match the
search-terms.  This patch introduces a 'match:[01]' entry to the 'message{'
line output by the show command.  Value of 1 indicates that the message is
matching the search expression.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
notmuch-show.c