summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-gnus.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-11-10 21:33:14 +0000
committerjao <jao@gnu.org>2022-11-10 21:34:11 +0000
commit5300330a27ce64f43b0ed36a9fa0a49158d19c6a (patch)
tree7a39c7b3efe155bfc5263d993a3c1dd6a95867a7 /custom/jao-custom-gnus.el
parent1de3153eee916b18a069ad08519a067000e35c2e (diff)
downloadelibs-5300330a27ce64f43b0ed36a9fa0a49158d19c6a.tar.gz
elibs-5300330a27ce64f43b0ed36a9fa0a49158d19c6a.tar.bz2
email adjustments, and fcc in notmuch based on current folder
Diffstat (limited to 'custom/jao-custom-gnus.el')
-rw-r--r--custom/jao-custom-gnus.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 2d074b5..f5f0c10 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -183,7 +183,7 @@
;;;; nnml
(setq mail-sources
- (when jao-gnus-use-nnml
+ (when (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
@@ -733,10 +733,12 @@
(define-key gnus-summary-save-map "-" 'gnus/randomsig-summary-read-sig)))
;;;; recoll
-(with-eval-after-load "org"
- (org-link-set-parameters "message" :follow #'jao-gnus-goto-file))
-(with-eval-after-load "consult-recoll"
- (add-to-list 'consult-recoll-open-fns '("message/rfc822" . jao-gnus-goto-file)))
+(unless jao-notmuch-enabled
+ (with-eval-after-load "org"
+ (org-link-set-parameters "message" :follow #'jao-gnus-goto-file))
+ (with-eval-after-load "consult-recoll"
+ (add-to-list 'consult-recoll-open-fns
+ '("message/rfc822" . jao-gnus-goto-file))))
;;; Keyboard shortcuts
(define-key gnus-article-mode-map "i" 'jao-gnus-show-images)
(define-key gnus-summary-mode-map "i" 'jao-gnus-show-images)