summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-gnus.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-10-29 00:41:30 +0000
committerjao <jao@gnu.org>2024-10-29 00:41:30 +0000
commita7c09173974e4f4a1bb94c2eae4de0b47e5eb966 (patch)
tree534955462b23058d2663c1344b3b8261a27617fe /custom/jao-custom-gnus.el
parent6675c7b46425bdd00a07bf3aaaffc8680b1aef42 (diff)
downloadelibs-a7c09173974e4f4a1bb94c2eae4de0b47e5eb966.tar.gz
elibs-a7c09173974e4f4a1bb94c2eae4de0b47e5eb966.tar.bz2
gnus/notmuch interaction recovered
Diffstat (limited to 'custom/jao-custom-gnus.el')
-rw-r--r--custom/jao-custom-gnus.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 440a44f..70823ef 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -614,6 +614,7 @@
(jao-gnus--notify)))
(defun jao-gnus-add-demon ()
+ (interactive)
(gnus-demon-add-handler 'jao-gnus--scan 5 1))
(jao-gnus-add-demon)
@@ -637,7 +638,7 @@
("nnml:jao\\.\\(inbox\\|trove\\)" "I" jao-themes-f01)
("nnml:bigml\\.[^aibs]" "W" jao-themes-dimm)
("nnml:jao.hacking" "H" jao-themes-dimm)
- ("nnml:jao.write" "W" jao-themes-error)
+ ("nnml:jao.write" "W" jao-themes-warning)
("nnml:jao.[^isthw]" "J" jao-themes-dimm)
(,(format "^nnml:%s" (regexp-opt feeds)) "F" jao-themes-dimm)
("feeds\\.e" "E" jao-themes-dimm)
@@ -762,6 +763,15 @@
(with-eval-after-load "consult-recoll"
(add-to-list 'consult-recoll-open-fns
'("message/rfc822" . jao-gnus-goto-file))))
+;;;; notmuch
+(use-package jao-notmuch-gnus
+ :demand t)
+
+(jao-load-path "consult-notmuch")
+
+(use-package consult-notmuch
+ :bind (:map gnus-group-mode-map ("S" . #'jao-gnus-consult-notmuch)))
+
;;; keyboard shortcuts
(define-key gnus-article-mode-map "i" 'jao-gnus-show-images)
(define-key gnus-summary-mode-map "i" 'jao-gnus-show-images)