summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-email.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-email.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-email.el')
-rw-r--r--custom/jao-custom-email.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el
index a315c25..46fdd12 100644
--- a/custom/jao-custom-email.el
+++ b/custom/jao-custom-email.el
@@ -1,10 +1,16 @@
;; -*- lexical-binding: t; -*-
+;;; main email system
+(require 'jao-afio)
+(setq jao-afio-mail-function 'gnus)
+(setq jao-afio-mail-function 'notmuch)
+
+(defvar jao-notmuch-enabled (eq jao-afio-mail-function 'notmuch))
+
;;; personal emails and others
(defvar jao-mails)
(defvar jao-extra-mails)
(defvar jao-mails-regexp (regexp-opt jao-mails))
-(defvar jao-notmuch-enabled (eq jao-afio-mail-function 'notmuch))
;;; gnus
(setq gnus-init-file "~/.emacs.d/gnus.el"
@@ -305,5 +311,7 @@
(jao-consult-add-buffer-source 'jao-mail-consult-source)
+(require 'jao-custom-notmuch)
+
;;; .
(provide 'jao-custom-email)