summaryrefslogtreecommitdiffhomepage
path: root/notmuch.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-08-18 22:18:16 +0100
committerjao <jao@gnu.org>2021-08-18 22:18:16 +0100
commitc660e50a71e98a63a49f51dccb967ced347d8f3d (patch)
tree18a0ec40b31497f99aa063e7ca4e50c03d81a42d /notmuch.org
parent23f65b1d7b7bf07364d7e5c3016dfc6cbc202dbd (diff)
downloadelibs-c660e50a71e98a63a49f51dccb967ced347d8f3d.tar.gz
elibs-c660e50a71e98a63a49f51dccb967ced347d8f3d.tar.bz2
notmuch-tag-formats
Diffstat (limited to 'notmuch.org')
-rw-r--r--notmuch.org21
1 files changed, 15 insertions, 6 deletions
diff --git a/notmuch.org b/notmuch.org
index 11358f2..e6b14fa 100644
--- a/notmuch.org
+++ b/notmuch.org
@@ -176,7 +176,20 @@
notmuch-wash-signature-lines-max 0
notmuch-wash-wrap-lines-length 80
notmuch-wash-citation-lines-prefix 10
- notmuch-wash-citation-lines-suffix 20)
+ notmuch-wash-citation-lines-suffix 20
+ notmuch-tag-formats
+ (let ((d `(:foreground ,(face-attribute 'jao-themes-dimm :foreground)))
+ (e `(:foreground ,(face-attribute 'jao-themes-error :foreground))))
+ `(("unread" "U")
+ ("new" "N")
+ ("replied" "R")
+ ("sent" "S")
+ ("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)))))
(setq gnus-blocked-images ".")
(setq notmuch-show-text/html-blocked-images ".")
@@ -281,11 +294,7 @@
(add-hook 'notmuch-show-hook #'jao-notmuch-show-setup)
(jao-notmuch-show-prefer-html)
- (defun jao-notmuch-tree-setup ()
- (setq-local scroll-preserve-screen-position nil
- scroll-margin 2
- scroll-step 1))
-
+ (jao-notmuch-tree-setup)
(define-key notmuch-tree-mode-map (kbd "T") notmuch-tree-thread-map)
:bind (:map notmuch-tree-mode-map