From 7781a059b3d06a9bc5bb86473686103ebfad6d5f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 12 Jun 2018 09:11:52 +0200 Subject: fix(mail): Fix setup of drafts & cache folder --- init/mail-setup.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'init') diff --git a/init/mail-setup.el b/init/mail-setup.el index cec8b7a3f336..98ad17fed805 100644 --- a/init/mail-setup.el +++ b/init/mail-setup.el @@ -3,17 +3,17 @@ (global-set-key (kbd "C-c m") 'notmuch-hello) (global-set-key (kbd "C-c C-e n") 'notmuch-mua-new-mail) -(setq notmuch-cache-dir "~/.cache/notmuch") +(setq notmuch-cache-dir (format "%s/.cache/notmuch" (getenv "HOME"))) (make-directory notmuch-cache-dir t) -;; Mark things as read when archiving them: -(setq notmuch-archive-tags '("-inbox" "-unread" "+archive")) - ;; Cache addresses for completion: (setq notmuch-address-save-filename (concat notmuch-cache-dir "/addresses")) ;; Don't spam my home folder with drafts: -(setq notmuch-draft-folder notmuch-cache-dir) +(setq notmuch-draft-folder "drafts") ;; relative to notmuch database + +;; Mark things as read when archiving them: +(setq notmuch-archive-tags '("-inbox" "-unread" "+archive")) ;; Show me saved searches that I care about: (setq notmuch-saved-searches -- cgit 1.4.1