summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-08-19 02:45:22 +0100
committerjao <jao@gnu.org>2021-08-19 02:45:22 +0100
commit1b95c4700e9faa33835bdb9138d26208cf211bf0 (patch)
treea138dac4fcf3f3f390d6f9602834ed48b5036e8c
parent551d5547ede275fac483cfdcbc442976d8f9b7d4 (diff)
downloadelibs-1b95c4700e9faa33835bdb9138d26208cf211bf0.tar.gz
elibs-1b95c4700e9faa33835bdb9138d26208cf211bf0.tar.bz2
notmuch: tag formats
-rw-r--r--lib/themes/jao-themes.el4
-rw-r--r--notmuch.org15
2 files changed, 12 insertions, 7 deletions
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el
index 5637325..ec6dcea 100644
--- a/lib/themes/jao-themes.el
+++ b/lib/themes/jao-themes.el
@@ -884,10 +884,12 @@
(notmuch-search-flagged-face (p warn))
(notmuch-search-matching-authors (p f02))
(notmuch-search-subject (~ default))
+ (notmuch-tag-added bf)
+ (notmuch-tag-deleted (p dimm) st)
(notmuch-tag-face (p f00) it)
(notmuch-tag-unread (p warn))
(notmuch-tree-match-author-face (p f00))
- (notmuch-tree-match-tag-face ul)
+ (notmuch-tree-match-tag-face (~ default))
(notmuch-tree-no-match-face (p dimm))
(notmuch-tree-no-match-date-face (p dimm))
(notmuch-tree-no-match-subject-face (p dimm))
diff --git a/notmuch.org b/notmuch.org
index caa5838..af2ecad 100644
--- a/notmuch.org
+++ b/notmuch.org
@@ -180,16 +180,19 @@
notmuch-tag-formats
(let ((d `(:foreground ,(face-attribute 'jao-themes-dimm :foreground)))
(e `(:foreground ,(face-attribute 'jao-themes-error :foreground))))
- `(("unread" "U")
+ `(("unread")
+ ("signed")
("new" "N")
("replied" "R")
("sent" "S")
- ("deleted" "×××"
- (propertize tag 'face '(:underline nil ,@e)))
+ ("deleted" "×××" (propertize tag 'face '(:underline nil ,@e)))
("flagged" "*" (propertize tag 'face ',e))
- ("jao" "j" (propertize tag 'face ',d))
- ("bigml" "b" (propertize tag 'face ',d))
- ("feeds" "f" (propertize tag 'face ',d)))))
+ ("jao" "j")
+ ("bigml" "b")
+ ("feeds" "f")))
+ notmuch-tag-deleted-formats
+ '(("unread")
+ (".*" (notmuch-apply-face tag 'notmuch-tag-deleted))))
(setq gnus-blocked-images ".")
(setq notmuch-show-text/html-blocked-images ".")