diff options
author | Jan Janak <jan@ryngle.com> | 2009-11-23 01:10:55 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-26 07:02:48 -0800 |
commit | f8baa023353e8d45a1a2bb90ab12d4ad38765ad9 (patch) | |
tree | 6af2d0512c01d022eeb437120fb683b32ad24277 /notmuch.c | |
parent | c3c52e464b8b0e024a01feacfeb34cc4ce1f3d62 (diff) |
notmuch: New command 'search-tags'.
This is a new notmuch command that can be used to search for all tags
found in the database. The resulting list is alphabetically sorted.
The primary use-case for this new command is to provide the tag
completion feature in Emacs (and other interfaces).
Signed-off-by: Jan Janak <jan@ryngle.com>
Diffstat (limited to 'notmuch.c')
-rw-r--r-- | notmuch.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -254,6 +254,12 @@ command_t commands[] = { "\t\tSo if you've previously been using sup for mail, then the\n" "\t\t\"notmuch restore\" command provides you a way to import\n" "\t\tall of your tags (or labels as sup calls them)." }, + { "search-tags", notmuch_search_tags_command, + NULL, + "List all tags found in the database.", + "\t\tThis command returns an alphabetically sorted list of all tags\n" + "\t\tthat are present in the database. In other words, the resulting\n" + "\t\tlist is a collection of all tags from all messages." }, { "help", notmuch_help_command, "[<command>]", "\t\tThis message, or more detailed help for the named command.", |