From 4d062704b53a252676017c66e3a3327f0e8c277a Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 14 Mar 2024 05:08:49 +0000 Subject: gnus: separate input directory, to not interfere with notmuch --- custom/jao-custom-gnus.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el index f8bbe31..b679b16 100644 --- a/custom/jao-custom-gnus.el +++ b/custom/jao-custom-gnus.el @@ -186,10 +186,10 @@ ;;;; nnml (setq mail-sources - (when (and jao-gnus-use-nnml (not jao-notmuch-enabled)) + (when jao-gnus-use-nnml ;; (and jao-gnus-use-nnml (not jao-notmuch-enabled)) (let ((fix (regexp-opt '("feeds" "local" "trash" "spam")))) (mapcar (lambda (d) `(maildir :path ,(concat d "/"))) - (directory-files "~/var/mail/" t + (directory-files "~/var/mail/gnus/" t (concat "[^\\.]+\\.[^\\.]+\\|" fix))))) gnus-message-archive-group nil nnml-get-new-mail t -- cgit v1.2.3