From af7837b198adc312e40ecd16487c0c01ac130e05 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 9 Nov 2025 02:06:40 +0000 Subject: more notmuch wee fixes --- custom/jao-custom-notmuch.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index f32094f..a4f486f 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -103,8 +103,8 @@ (defun jao-notmuch-add-saved-searches (searches) (dolist (s searches) - (jao-notmuch--replace 'notmuch-saved-searches s) - (jao-notmuch--replace 'jao-notmuch-widened-searches s))) + (jao-notmuch--replace 'jao-notmuch-widened-searches (jao-notmuch--widen s)) + (jao-notmuch--replace 'notmuch-saved-searches s))) (defmacro jao-notmuch-def-searches (name searches &optional no-save) (declare (indent 1)) @@ -118,7 +118,9 @@ (defvar jao-notmuch-widened-searches nil) -(setq notmuch-hello-sections nil notmuch-saved-searches nil) +(setq notmuch-hello-sections nil + notmuch-saved-searches nil + jao-notmuch-widened-searches nil) (jao-notmuch-def-searches inbox `(,(jao-notmuch--q "inbox" "i") @@ -290,7 +292,7 @@ (when (display-graphic-p) (add-to-list 'notmuch-hello-sections 'jao-notmuch-hello--header)) -(add-to-list 'notmuch-hello-sections 'notmuch-hello-insert-alltags t) +;; (add-to-list 'notmuch-hello-sections 'notmuch-hello-insert-alltags t) (defun jao-notmuch-refresh-agenda () (interactive) -- cgit v1.2.3