diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-11-21 15:45:22 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-11-21 15:45:22 +0000 |
commit | 0a5df884960fe26bcce8007367cb0dedc8944b48 (patch) | |
tree | 4e9cd03062206be2c65f9ce506647d6546f93f97 | |
parent | 0dec46160bede3c68c9a0603ce3106656102f072 (diff) |
notmuch - first stab at config
Diffstat (limited to '')
-rw-r--r-- | custom.el | 2 | ||||
-rw-r--r-- | init.el | 17 |
2 files changed, 18 insertions, 1 deletions
@@ -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. @@ -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 |