diff options
Diffstat (limited to 'notmuch.org')
-rw-r--r-- | notmuch.org | 21 |
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 |