From 0a5df884960fe26bcce8007367cb0dedc8944b48 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 21 Nov 2022 15:45:22 +0000 Subject: notmuch - first stab at config --- init.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 1234cd4..08c54ff 100644 --- a/init.el +++ b/init.el @@ -20,6 +20,9 @@ (setq use-package-always-ensure t) (require 'use-package) +;; notmuch is apparently already installed with notmuch from arch +(require 'notmuch) + ;; set custom file (setq custom-file (concat user-emacs-directory "custom.el")) (load custom-file 'noerror) @@ -166,6 +169,20 @@ (setq coding-system-for-read 'utf-8) (setq coding-system-for-write 'utf-8) +;; PACKAGES + +(use-package notmuch + :defer t + :config + (setq send-mail-function 'sendmail-send-it + sendmail-program "/usr/bin/msmtp" + message-kill-buffer-on-exit t + notmuch-fcc-dirs "fastmail/Sent +sent -unread -inbox" + notmuch-search-oldest-first t + mail-specify-envelope-from t + message-sendmail-envelope-from 'header + mail-envelope-from 'header)) + ;; calfw (use-package calfw-org :ensure t -- cgit v1.2.3