[notmuch] [PATCH 2/2] notmuch list: A new command to produce various lists.
Bart Trojanowski
bart at jukie.net
Sat Nov 21 19:45:30 PST 2009
* Carl Worth <cworth at cworth.org> [091121 18:08]:
> Another option would be to just call this "notmuch search" and have an
> option to control what is output:
>
> notmuch search # for threads, as currently
> notmuch search --output=tags
> notmuch search --output=messages
>
> Actually, I kind of like that. For one thing, it makes it easy to
> eliminate the redundancy I made with the option-parsing in both
> notmuch-search.c and notmuch-search-message.c.
I too prefer this option. It keeps the interface and code simpler.
Moreover, it might also eliminate the need for 'notmuch count'. Simply
pass --count-only to the search command.
-Bart
--
WebSig: http://www.jukie.net/~bart/sig/
More information about the notmuch
mailing list