summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-12-21 12:15:15 +0100
committerAlan Pearce2018-12-21 12:15:48 +0100
commit836d8e51603a7420086d65c79c746e4cdaee0291 (patch)
tree9f3606bbaa9c99d7058f5a7652039c885632389c /emacs
parent4006db42beee009e99edd76cdcf9bf7114ac6682 (diff)
downloadnixfiles-836d8e51603a7420086d65c79c746e4cdaee0291.tar.lz
nixfiles-836d8e51603a7420086d65c79c746e4cdaee0291.tar.zst
nixfiles-836d8e51603a7420086d65c79c746e4cdaee0291.zip
mbsync: Improve gmail folder layout
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 9421e855..6313a5d9 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1224,15 +1224,15 @@ With two prefix arguments, write out the day and month name."
                                     (mu4e-message-contact-field-matches
                                      msg :to "alan@satoshipay.io")))
                     :vars `((user-mail-address . "alan@satoshipay.io")
-                            (mu4e-sent-messages-behavior . sent)
-                            (mu4e-drafts-folder . "/satoshipay/[Gmail]/Drafts")
-                            (mu4e-sent-folder .   "/satoshipay/[Gmail]/Sent Mail")
-                            (mu4e-refile-folder . "/satoshipay/[Gmail]/All Mail")
-                            (mu4e-trash-folder .  "/satoshipay/[Gmail]/Bin")
+                            (mu4e-sent-messages-behavior . 'delete)
+                            (mu4e-drafts-folder . "/satoshipay/Drafts")
+                            (mu4e-sent-folder .   "/satoshipay/Sent Mail")
+                            (mu4e-refile-folder . "/satoshipay/All Mail")
+                            (mu4e-trash-folder .  "/satoshipay/Bin")
                             (mu4e-maildir-shortcuts . (("/satoshipay/INBOX" . ?i)
-                                                       ("/satoshipay/[Gmail]/All Mail" . ?a)
-                                                       ("/satoshipay/[Gmail]/Sent Mail" . ?s)
-                                                       ("/satoshipay/[Gmail]/Spam" . ?p)))))))
+                                                       ("/satoshipay/All Mail" . ?a)
+                                                       ("/satoshipay/Sent Mail" . ?s)
+                                                       ("/satoshipay/Spam" . ?p)))))))
             (define-hook-helper mu4e-view-mode ()
               ;; try to emulate some of the eww key-bindings
               (local-set-key (kbd "<tab>") 'shr-next-link)