summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--init.el17
1 files changed, 17 insertions, 0 deletions
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