Emacs: Configure mu4e for mbsync compatibility
Alan Pearce alan@alanpearce.eu
Mon, 25 Sep 2017 15:08:34 +0200
1 files changed, 7 insertions(+), 5 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -1222,7 +1222,7 @@ (setq mu4e-use-fancy-chars nil mu4e-attachment-dir "~/Downloads/" mu4e-view-show-images t mu4e-headers-date-format "%Y-%m-%d %H:%M" - mu4e-update-interval 300 + mu4e-update-interval 1800 mu4e-mu-home (expand-file-name "~/.cache/mu/alanpearce.eu") mu4e-maildir (expand-file-name "~/mail/personal/alanpearce/") @@ -1230,6 +1230,8 @@ mu4e-sent-folder "/Sent" mu4e-drafts-folder "/Drafts" mu4e-refile-folder "/Archive" mu4e-trash-folder "/Trash" + + mu4e-change-filenames-when-moving t message-send-mail-function #'message-send-mail-with-sendmail sendmail-program "msmtp" @@ -1275,10 +1277,10 @@ :vars `((user-mail-address . "alan@satoshipay.io") (mu4e-maildir . ,(expand-file-name "~/mail/satoshipay")) (mu4e-mu-home . ,(expand-file-name "~/.cache/mu/satoshipay.io")) (mu4e-sent-messages-behavior . sent) - (mu4e-drafts-folder . "/[Gmail].Drafts") - (mu4e-sent-folder . "/[Gmail].Sent Mail") - (mu4e-refile-folder . "/[Gmail].All Mail") - (mu4e-trash-folder . "/[Gmail].Bin")))) + (mu4e-drafts-folder . "/[Gmail]/.Drafts") + (mu4e-sent-folder . "/[Gmail]/.Sent Mail") + (mu4e-refile-folder . "/[Gmail]/.All Mail") + (mu4e-trash-folder . "/[Gmail]/.Bin")))) mu4e-user-mail-address-list (append (delq nil (mapcar (lambda (context)