summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-10-05 00:30:07 +0100
committerjao <jao@gnu.org>2025-10-05 00:30:07 +0100
commit71673beec07a5e2c23fee99a63176e50a8e3e9b2 (patch)
treebe68e44a8ea3155efb5262b73736506a7c4173e4
parent9d0f2e5109c2bacb010cb9e2989bb26bca37d629 (diff)
downloadelibs-71673beec07a5e2c23fee99a63176e50a8e3e9b2.tar.gz
elibs-71673beec07a5e2c23fee99a63176e50a8e3e9b2.tar.bz2
nits
-rw-r--r--custom/jao-custom-gnus.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 2cd2499..125b4ca 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -123,7 +123,7 @@
;;; search
(setq gnus-search-use-parsed-queries nil
- gnus-search-notmuch-raw-queries-p nil
+ gnus-search-notmuch-raw-queries-p t
gnus-permanently-visible-groups "^nnselect:.*"
gnus-search-ignored-newsgroups "nndraft.*\\|nnselect.*")
@@ -212,13 +212,12 @@
(append jao-local-mail-sources ims)))
(when jao-gnus-use-nnml
- (add-to-list
- ;; `(nnml "" ,(jao-recoll-gnus-search-engine (jao-gnus-dir "Mail/")))
- 'gnus-secondary-select-methods
- `(nnml ""
- (gnus-search-engine gnus-search-notmuch
- (remove-prefix
- ,(expand-file-name "gnus" jao-maildir))))))
+ (let ((prefix (expand-file-name "gnus/" jao-maildir)))
+ (add-to-list
+ ;; `(nnml "" ,(jao-recoll-gnus-search-engine (jao-gnus-dir "Mail/")))
+ 'gnus-secondary-select-methods
+ `(nnml "" (gnus-search-engine gnus-search-notmuch
+ (remove-prefix ,prefix))))))
(when jao-gnus-use-nnml
(dolist (p jao-gnus-nnml-group-params)
@@ -764,6 +763,7 @@
;;;; afio
(defun jao-gnus--on-afio-switch ()
(when (derived-mode-p 'gnus-group-mode)
+ (jao-gnus--notify)
(let ((no (or (gnus-group-unread (gnus-group-group-name)) 0)))
(unless (> no 0) (gnus-group-first-unread-group)))))