summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-25 15:08:54 +0200
committerAlan Pearce2017-09-25 15:08:54 +0200
commit1b4d97aa1b1f80effa0c205b8bf6ba70dbef9fa7 (patch)
treeea0f7d3ee436efa5c647cb4fae12505ab381907d
parentb5ef3b75ca57da6ebeaacc65784c0394cf8d6e37 (diff)
downloadnixfiles-1b4d97aa1b1f80effa0c205b8bf6ba70dbef9fa7.tar.lz
nixfiles-1b4d97aa1b1f80effa0c205b8bf6ba70dbef9fa7.tar.zst
nixfiles-1b4d97aa1b1f80effa0c205b8bf6ba70dbef9fa7.zip
Emacs: Get email per-context directly in mu4e
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index c293e489..c82f5e3d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1249,6 +1249,7 @@ With two prefix arguments, write out the day and month name."
                               (mu4e-maildir . ,(expand-file-name "~/mail/personal/alanpearce"))
                               (mu4e-mu-home . ,(expand-file-name "~/.cache/mu/alanpearce.eu"))
                               (mu4e-sent-messages-behavior . sent)
+                              (mu4e-get-mail-command . "mbsync personal")
                               (mu4e-sent-folder . "/Sent")
                               (mu4e-drafts-folder . "/Drafts")
                               (mu4e-refile-folder . "/Archive")
@@ -1263,6 +1264,7 @@ With two prefix arguments, write out the day and month name."
                               (mu4e-maildir . ,(expand-file-name "~/mail/personal/riseup"))
                               (mu4e-mu-home . ,(expand-file-name "~/.cache/mu/riseup.net"))
                               (mu4e-sent-messages-behavior . sent)
+                              (mu4e-get-mail-command . "mbsync riseup")
                               (mu4e-sent-folder . "/Sent")
                               (mu4e-drafts-folder . "/Drafts")
                               (mu4e-refile-folder . "/Archive")
@@ -1277,6 +1279,7 @@ 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-get-mail-command . "mbsync satoshipay")
                               (mu4e-drafts-folder . "/[Gmail]/.Drafts")
                               (mu4e-sent-folder .   "/[Gmail]/.Sent Mail")
                               (mu4e-refile-folder . "/[Gmail]/.All Mail")