From 414338d66a28eda67c212126731421d7c2eac13a Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 19 Aug 2021 20:23:45 +0100 Subject: notmuch attachment tag --- lib/net/jao-notmuch.el | 2 +- notmuch.org | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index 39d8b82..4f9d28a 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -248,7 +248,7 @@ (plist-get (or msg (notmuch-tree-get-message-properties)) :first)) (defun jao-notmuch--unread-counts (&optional thread) - (let ((p) (cnt) (total) (msg)) + (let ((cnt) (total) (msg)) (save-excursion (if thread (while (and (not (jao-notmuch-tree--first-p)) diff --git a/notmuch.org b/notmuch.org index af2ecad..518832b 100644 --- a/notmuch.org +++ b/notmuch.org @@ -185,6 +185,7 @@ ("new" "N") ("replied" "R") ("sent" "S") + ("attachment" "📎") ("deleted" "×××" (propertize tag 'face '(:underline nil ,@e))) ("flagged" "*" (propertize tag 'face ',e)) ("jao" "j") @@ -192,6 +193,7 @@ ("feeds" "f"))) notmuch-tag-deleted-formats '(("unread") + ("new") (".*" (notmuch-apply-face tag 'notmuch-tag-deleted)))) (setq gnus-blocked-images ".") -- cgit v1.2.3