support mu4e_update_mail in emacs.

This commit is contained in:
Ivan Malison 2014-12-19 15:23:42 -08:00
parent 17babb027e
commit 9a5c3c9be3

View File

@ -778,7 +778,7 @@ The current directory is assumed to be the project's root otherwise."
(add-to-list 'load-path (s-trim (shell-command-to-string "mu4e_directory")))
(use-package mu4e
:commands mu4e
:commands (mu4e mu4e~proc-view-path)
:bind ("C-c 0" . mu4e~headers-jump-to-maildir)
:config
(progn
@ -806,7 +806,6 @@ The current directory is assumed to be the project's root otherwise."
;; use imagemagick, if available
(when (fboundp 'imagemagick-register-types)
(imagemagick-register-types))
(setq sauron-dbus-cookie t)
(setq mail-user-agent 'mu4e-user-agent)
(require 'org-mu4e)
(setq mu4e-compose-complete-only-after nil)
@ -816,6 +815,10 @@ The current directory is assumed to be the project's root otherwise."
(setq mu4e-sent-folder "/[Gmail].Sent Mail")
(setq mu4e-trash-folder "/[Gmail].Trash")
(defun mu4e-update-index-view-message-with-msgid (msgid)
(message "Recieved request to display %s" msgid)
(mu4e-view-message-with-msgid msgid))
(setq mu4e-sent-messages-behavior 'delete)
(setq mu4e-update-interval (* 60 20))
(setq message-kill-buffer-on-exit t)
@ -838,6 +841,8 @@ The current directory is assumed to be the project's root otherwise."
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)))
(use-package gmail-message-mode :ensure t)
(use-package alert
:ensure t
:config
@ -866,6 +871,7 @@ The current directory is assumed to be the project's root otherwise."
:config
(progn
(setq sauron-min-priority 3)
(setq sauron-dbus-cookie t)
(setq sauron-separate-frame nil)
(setq sauron-nick-insensitivity 1)
(defun sauron:jabber-notify (origin priority message &optional properties)