summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--custom.el2
-rw-r--r--init.el17
2 files changed, 18 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index 2863dd4..fe62f91 100644
--- a/custom.el
+++ b/custom.el
@@ -9,7 +9,7 @@
'(display-line-numbers-type 'relative t)
'(display-time-mode t)
'(package-selected-packages
- '(ivy calfw-org calfw unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit notmuch magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
+ '(notmuch ivy calfw-org calfw unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
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