diff options
author | Raul Benencia <id@rbenencia.name> | 2022-07-31 15:56:57 -0700 |
---|---|---|
committer | Raul Benencia <id@rbenencia.name> | 2022-07-31 15:58:42 -0700 |
commit | 12f901918176be62fbe8565f0d5690ee315a5c08 (patch) | |
tree | c22acab0658a4681640751588286cb5dad6a71f4 /.emacs.local.d/mail.el | |
parent | 5193da11b7bd93ce6e4f57555c661e99f5ce4321 (diff) |
mail: notmuch-search
Diffstat (limited to '.emacs.local.d/mail.el')
-rw-r--r-- | .emacs.local.d/mail.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.local.d/mail.el b/.emacs.local.d/mail.el new file mode 100644 index 0000000..da011cd --- /dev/null +++ b/.emacs.local.d/mail.el @@ -0,0 +1,13 @@ +;; Mutt support. +(setq auto-mode-alist (append '((".*tmp/mutt.*" . message-mode)) auto-mode-alist)) +(setq auto-mode-alist (append '((".*tmp/neomutt.*" . message-mode)) auto-mode-alist)) + +;; Hook up `mutt:...` style URLs +(require 'ol-notmuch) +(org-add-link-type "message" 'org-notmuch-open) + +(setq send-mail-function 'sendmail-send-it + sendmail-program "/usr/bin/msmtp" + mail-specify-envelope-from t + message-sendmail-envelope-from 'header + mail-envelope-from 'header) |