mu4e.el 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. (setq mu4e-maildir "~/Maildir" ;; top-level Maildir
  2. mu4e-sent-folder "/sent-to-misc" ;; where do i keep sent mail?
  3. mu4e-drafts-folder "/drafts") ;; where do i keep half-written mail?
  4. ; mu4e-trash-folder "/trash") ;; where do i move deleted mail?
  5. (add-to-list 'load-path "~/programs/mu/mu4e/")
  6. (setq mu4e-mu-binary "/home/cwebber/programs/mu/mu/mu")
  7. (setq mu4e-get-mail-command "offlineimap")
  8. (setq mu4e-html2text-command "html2text -utf8 -width 72")
  9. (require 'mu4e)
  10. (require 'org-mu4e)
  11. (setq mu4e-maildir-shortcuts
  12. '(("/Inbox.General" . ?i)
  13. ("/CC Staff" . ?c)
  14. ("/Spam" . ?s)
  15. ("/sent-to-misc" . ?S)))
  16. (setq smtpmail-queue-mail nil ;; start in non-queuing mode
  17. smtpmail-queue-dir "~/Maildir/queue/cur")
  18. (setq mu4e-bookmarks
  19. '(("flag:unread AND NOT flag:trashed AND NOT maildir:/Spam" "Unread messages" ?u)
  20. ("date:today..now AND NOT maildir:/Spam" "Today's messages" ?t)
  21. ("date:7d..now AND NOT maildir:/Spam" "Last 7 days" ?w)
  22. ("mime:image/* AND NOT maildir:/Spam" "Messages with images" ?p)
  23. ("flag:unread AND NOT flag:trashed AND maildir:/Spam" "Unread spam" ?s)
  24. ("flag:unread AND maildir:/Inbox.General" "Unread general inbox" ?i)
  25. ("flag:unread AND maildir:/Mediagoblin" "MediaGoblin devel" ?m)))
  26. (load-file "~/devel/mu4e-uqueue/mu4e-uqueue.el")
  27. (load-file "~/devel/mu4e-uqueue/uqueue-advice.el")
  28. (add-to-list 'mu4e-view-actions
  29. '("ViewInBrowser" . mu4e-action-view-in-browser) t)
  30. (setq mu4e~main-buffer-name "*mu4e-main*")
  31. (setq mu4e-user-mail-address-list
  32. '("cwebber@dustycloud.org"
  33. "cwebber@mediagoblin.org"))
  34. (setq mu4e-compose-dont-reply-to-self t)