Kill Thread

2010-06-20 Thread Michal Sojka
On Fri, 18 Jun 2010, Arvid Picciani wrote:
> Anyone got an idea how to add a kill-thread feature? I get a few dozens
> of emails a day, of which most are just responses to threads i dont care
> about anyway.

Hi, this functionality is not (yet) directly available in notmuch
however you can use a script like this:

threads_to_kill=$(notmuch search tag:inbox|grep '\([^(]*kill[^)]*\)$'|cut -d ' 
' -f 1)
notmuch tag -inbox $threads_to_kill

Once you tag a message by the "kill" tag this script removes all
messages in the same thread from your inbox.

-Michal


Re: Kill Thread

2010-06-20 Thread Michal Sojka
On Fri, 18 Jun 2010, Arvid Picciani wrote:
> Anyone got an idea how to add a kill-thread feature? I get a few dozens
> of emails a day, of which most are just responses to threads i dont care
> about anyway.

Hi, this functionality is not (yet) directly available in notmuch
however you can use a script like this:

threads_to_kill=$(notmuch search tag:inbox|grep '\([^(]*kill[^)]*\)$'|cut -d ' 
' -f 1)
notmuch tag -inbox $threads_to_kill

Once you tag a message by the "kill" tag this script removes all
messages in the same thread from your inbox.

-Michal
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Kill Thread

2010-06-18 Thread Arvid Picciani
Anyone got an idea how to add a kill-thread feature? I get a few dozens
of emails a day, of which most are just responses to threads i dont care
about anyway.


Kill Thread

2010-06-18 Thread Arvid Picciani
Anyone got an idea how to add a kill-thread feature? I get a few dozens
of emails a day, of which most are just responses to threads i dont care
about anyway.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch