From: NeilBrown Date: Fri, 26 May 2023 04:11:33 +0000 (+1000) Subject: notmuch: ensure reply and similar clear unread and new X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=3e0ec2a96d8e2b222df350123d169ae514f1ae42;p=edlib.git notmuch: ensure reply and similar clear unread and new Now that "new" is being cleared less aggressively, make sure we clear it when we reply to a message. Signed-off-by: NeilBrown --- diff --git a/DOC/TODO.md b/DOC/TODO.md index 485f2ecc..fb27b4ce 100644 --- a/DOC/TODO.md +++ b/DOC/TODO.md @@ -56,7 +56,7 @@ Current priorities Bugs to be fixed ---------------- -- [ ] notmuch: "reply" should clear unread/new flags. +- [X] notmuch: "reply" should clear unread/new flags. - [X] transparent images appear in email with horiz lines - [ ] Replying to w3m/html mail results in unsightly markup in reply - [ ] converting email parts with external code should be async diff --git a/python/module-notmuch.py b/python/module-notmuch.py index a06f0e3a..26239a7f 100644 --- a/python/module-notmuch.py +++ b/python/module-notmuch.py @@ -2195,7 +2195,7 @@ class notmuch_master_view(edlib.Pane): hdr_mode = "reply" tag = "replied" v = make_composition(self.list_pane, focus, - tag="tag +%s id:%s" % (tag, self.message_pane['message-id'])) + tag="tag +%s -new -unread id:%s" % (tag, self.message_pane['message-id'])) if v: v.call("compose-email:copy-headers", self.message_pane, hdr_mode) if quote_mode == "inline":