summaryrefslogtreecommitdiff
path: root/.fmail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-19 22:15:02 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-19 22:15:02 -0700
commit5d4c4bb46ee4267c053f82ec875cdfdb84eb7044 (patch)
tree52eea49ecd7b66e2fc69bdeb5f5a134a560a0fee /.fmail
parent79d391033ed68b87c8b26670ab32b303a3535149 (diff)
downloaddotfiles-5d4c4bb46ee4267c053f82ec875cdfdb84eb7044.tar.gz
attempt to get Seen added to sent mail more consistently
Diffstat (limited to '.fmail')
-rwxr-xr-x.fmail/.notmuch/hooks/post-new5
1 files changed, 4 insertions, 1 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new
index 0c6f79e9..564b1de7 100755
--- a/.fmail/.notmuch/hooks/post-new
+++ b/.fmail/.notmuch/hooks/post-new
@@ -2,7 +2,10 @@
. $HOME/.shenv
-# mark all sent mail as read
+# mark all sent mail as read. mark it as unread first to ensure that
+# copies of the mail in other folders actually get their maildir Seen
+# flag added
+notmuch tag +unread -- folder:sent
notmuch tag -unread -- folder:sent
# mark all drafts as drafts, and as read