diff options
author | Case Duckworth | 2022-02-07 13:14:29 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-07 13:14:29 -0600 |
commit | c9211323307950475730eb52d6406e9ca783e315 (patch) | |
tree | b48a2b090025e2657d85a3b3df4419e9d20d7f5a | |
parent | Unglobify user-save-mode (diff) | |
download | emacs-c9211323307950475730eb52d6406e9ca783e315.tar.gz emacs-c9211323307950475730eb52d6406e9ca783e315.zip |
Add notmuch
-rw-r--r-- | init.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init.el b/init.el index 90c6b9b..b204e8e 100644 --- a/init.el +++ b/init.el | |||
@@ -444,6 +444,24 @@ | |||
444 | (:option finger-X.500-host-regexps '(".") ; only send username | 444 | (:option finger-X.500-host-regexps '(".") ; only send username |
445 | )) | 445 | )) |
446 | 446 | ||
447 | (setup notmuch | ||
448 | (:load-from "/usr/share/emacs/site-lisp/elpa-src/notmuch-0.31.4/") | ||
449 | (:require notmuch) | ||
450 | (:option notmuch-address-save-filename (.etc "notmuch/addresses" t) | ||
451 | notmuch-address-use-company (featurep 'company) | ||
452 | notmuch-fcc-dirs (list (cons chd/email (concat "\"" chd/sent-dir "\"" | ||
453 | " +sent +work -inbox")) | ||
454 | (cons ".*" "\"fastmail/Sent\" +sent +personal -inbox")) | ||
455 | notmuch-search-oldest-first nil) | ||
456 | ;; Composing mail | ||
457 | (:option message-kill-buffer-on-exit t) | ||
458 | ;; Sending mail | ||
459 | (:option send-mail-function #'sendmail-send-it | ||
460 | sendmail-program (executable-find "msmtp") | ||
461 | mail-specify-envelope-from t | ||
462 | message-sendmail-envelope-from 'header | ||
463 | mail-envelope-from 'header)) | ||
464 | |||
447 | (setup org | 465 | (setup org |
448 | ;; Plain org with the `setup' form for sorting, but I install with straight. | 466 | ;; Plain org with the `setup' form for sorting, but I install with straight. |
449 | (:straight (org | 467 | (:straight (org |