diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-06-10 09:43:30 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-06-10 09:43:30 +0100 |
commit | 09de9ccadc92d819debdaadae80b35560f7e463a (patch) | |
tree | 3360f375a009067502bd1ebb94bbfff518a4931c /.fmail | |
parent | 5db66ef1af7ddac6adeaa574aab022139e01123d (diff) | |
download | dotfiles-09de9ccadc92d819debdaadae80b35560f7e463a.tar.gz |
improve killed thread handling
don't exclude from searches. just mark as read.
Diffstat (limited to '.fmail')
-rwxr-xr-x | .fmail/.notmuch/hooks/post-new | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new index c09c81a1..6d9c76c8 100755 --- a/.fmail/.notmuch/hooks/post-new +++ b/.fmail/.notmuch/hooks/post-new @@ -9,5 +9,5 @@ notmuch tag -unread +draft -- folder:drafts # propagate the 'killed' tag to all messages in the killed message's thread killed_threads=$(notmuch search --output=threads tag:killed) if [ ! -z "$killed_threads" ]; then - notmuch tag +killed -- $killed_threads + notmuch tag -unread -- $killed_threads fi |