--- notmuch-new.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/notmuch-new.c b/notmuch-new.c index 511347d..dc33d69 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -99,6 +99,16 @@ tag_inbox_and_unread (notmuch_message_t *message) notmuch_message_add_tag (message, "inbox"); if (! notmuch_message_md_flag(message, 'S')) notmuch_message_add_tag (message, "unread"); + if (notmuch_message_md_flag(message, 'T')) + notmuch_message_add_tag (message, "deleted"); + if (notmuch_message_md_flag(message, 'D')) + notmuch_message_add_tag (message, "draft"); + if (notmuch_message_md_flag(message, 'F')) + notmuch_message_add_tag (message, "flagged"); + if (notmuch_message_md_flag(message, 'P')) + notmuch_message_add_tag (message, "passed"); + if (notmuch_message_md_flag(message, 'R')) + notmuch_message_add_tag (message, "replied"); } static void -- 1.7.0.4 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch