From 09210c1ed9100ad242fda4311f686f84a7e3fdc3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 19 Dec 2014 15:23:42 -0800 Subject: [PATCH] support mu4e_update_mail in emacs. --- init.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 2836ceb5..ffdaa7dc 100644 --- a/init.el +++ b/init.el @@ -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)