summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-08-19 20:23:45 +0100
committerjao <jao@gnu.org>2021-08-19 21:12:15 +0100
commit414338d66a28eda67c212126731421d7c2eac13a (patch)
treeb4dd9a563edb5bf0b643ecd36d6eeae0313fb661
parent6bd7ccb3fe783021917d029cbdcbfca86229d13e (diff)
downloadelibs-414338d66a28eda67c212126731421d7c2eac13a.tar.gz
elibs-414338d66a28eda67c212126731421d7c2eac13a.tar.bz2
notmuch attachment tag
-rw-r--r--lib/net/jao-notmuch.el2
-rw-r--r--notmuch.org2
2 files changed, 3 insertions, 1 deletions
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 ".")