diff options
| author | jao <jao@gnu.org> | 2025-11-12 02:20:19 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-12 02:20:19 +0000 |
| commit | 2f4caff918d9b5e70419d7bc7a4887e09bdfdb8a (patch) | |
| tree | bcc4aa3de56af2d81e9c9abf581ecc53e3401d2e /custom/jao-custom-notmuch.el | |
| parent | a8901c52ce9bdbaa7c4cc4c988cbf8cbc80af913 (diff) | |
| download | elibs-2f4caff918d9b5e70419d7bc7a4887e09bdfdb8a.tar.gz elibs-2f4caff918d9b5e70419d7bc7a4887e09bdfdb8a.tar.bz2 | |
more notmuch tweaksmain
Diffstat (limited to 'custom/jao-custom-notmuch.el')
| -rw-r--r-- | custom/jao-custom-notmuch.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index a4f486f..4d797c8 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -46,7 +46,9 @@ (defun jao-notmuch-notify-and-update () (jao-notmuch-notify) - (with-current-buffer "*notmuch-hello*" (notmuch-refresh-this-buffer))) + (with-current-buffer "*notmuch-hello*" + (notmuch-hello-update) + (jao-notmuch-hello-first))) (when jao-notmuch-enabled (jao-minibuffer-add-variable 'jao-notmuch-minibuffer-string -20)) @@ -126,7 +128,7 @@ `(,(jao-notmuch--q "inbox" "i") ,(jao-notmuch--q "write" "w") ,(jao-notmuch--q "drivel" "d") - ,(jao-notmuch--q "hacking" "h") + ,(jao-notmuch--q "trove" "t") ,(jao-notmuch--q "local" "x"))) (jao-notmuch-def-searches news @@ -146,6 +148,7 @@ ("le" "emacs") ("lg" "geiser") ("lh" "haskell") + ("ll" "lisp") ("ln" "notmuch") ("lr" "rust") ("ls" "scheme") @@ -165,7 +168,7 @@ t) (jao-notmuch-def-searches nil - `(,(jao-notmuch--q "flagged" "F" nil '("tag:flagged" "tag:jao")))) + `(,(jao-notmuch--q "flagged" "F" nil '("tag:flagged")))) (jao-notmuch-def-searches today `(,(jao-notmuch--q "new" "N" nil (list jao-notmuch--new "not tag:draft")) @@ -529,7 +532,8 @@ (defun jao-notmuch--maybe-notify-and-update (&optional _both) (when (not (derived-mode-p 'notmuch-hello-mode 'notmuch-tree-mode)) - (jao-notmuch-notify-and-update))) + (jao-notmuch-notify-and-update)) + (jao-notmuch-refresh-hello)) (defun jao-notmuch-tree--sentinel (proc) (when (eq (process-status proc) 'exit) |
