summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-09-25 15:08:34 +0200
committerAlan Pearce2017-09-25 15:08:34 +0200
commitb5ef3b75ca57da6ebeaacc65784c0394cf8d6e37 (patch)
treea5552c713a0bdbfc0c39de488ba87f95b14e7657 /emacs
parent90d4beb6bd40ba7bad020b988e937516139412e7 (diff)
downloadnixfiles-b5ef3b75ca57da6ebeaacc65784c0394cf8d6e37.tar.lz
nixfiles-b5ef3b75ca57da6ebeaacc65784c0394cf8d6e37.tar.zst
nixfiles-b5ef3b75ca57da6ebeaacc65784c0394cf8d6e37.zip
Emacs: Configure mu4e for mbsync compatibility
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 6cab8612..c293e489 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1222,7 +1222,7 @@ With two prefix arguments, write out the day and month name."
                     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/")
@@ -1231,6 +1231,8 @@ With two prefix arguments, write out the day and month name."
                     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 @@ With two prefix arguments, write out the day and month name."
                               (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)