[PATCH] notmuch new --new-tags=tags...

Dirk Hohndel hohndel at infradead.org
Sat Apr 10 09:11:11 PDT 2010


On Sun, 11 Apr 2010 01:03:04 +1000, Anthony Towns <aj at erisian.com.au> wrote:
> Hi *,
> 
> The attached patch makes "notmuch new --new-tags=unread,new" set the
> "unread" and "new" tags on any new mail it finds rather than "unread"
> and "inbox". Or whatever other tags you happen to specify.

I really like this - I have a similar patch that hardcodes a +new tag
that I use to figure out which emails were imported during the last run
of notmuch new - and that I then clear as the final step in my initial
tagging script.  

But this is much cleaner and more generic.

/D

-- 
Dirk Hohndel
Intel Open Source Technology Center


More information about the notmuch mailing list