* 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/

Reply via email to