]> git.notmuchmail.org Git - notmuch/commitdiff
search-tags: Add support for search-terms.
authorJan Janak <jan@ryngle.com>
Wed, 25 Nov 2009 03:30:22 +0000 (04:30 +0100)
committerCarl Worth <cworth@cworth.org>
Thu, 26 Nov 2009 15:06:41 +0000 (07:06 -0800)
This patch adds support for search-terms to 'notmuch search-tags'. If
no search-term is provided then the command returns a list of all tags
from the database.

If the user provides one or more search-terms as arguments then the
command collects tags from matching messages only.

This could be used by functions in the Emacs mode to further limit the
list of tags offered for completion. For example, functions that remove
tags from message(s) could offer only tags present in the message(s).

Signed-off-by: Jan Janak <jan@ryngle.com>

No differences found