forked from colonelpanic/dotfiles
support mu4e_update_mail in emacs.
This commit is contained in:
parent
3c1a95877e
commit
09210c1ed9
10
init.el
10
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")))
|
(add-to-list 'load-path (s-trim (shell-command-to-string "mu4e_directory")))
|
||||||
|
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:commands mu4e
|
:commands (mu4e mu4e~proc-view-path)
|
||||||
:bind ("C-c 0" . mu4e~headers-jump-to-maildir)
|
:bind ("C-c 0" . mu4e~headers-jump-to-maildir)
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
@ -806,7 +806,6 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
;; use imagemagick, if available
|
;; use imagemagick, if available
|
||||||
(when (fboundp 'imagemagick-register-types)
|
(when (fboundp 'imagemagick-register-types)
|
||||||
(imagemagick-register-types))
|
(imagemagick-register-types))
|
||||||
(setq sauron-dbus-cookie t)
|
|
||||||
(setq mail-user-agent 'mu4e-user-agent)
|
(setq mail-user-agent 'mu4e-user-agent)
|
||||||
(require 'org-mu4e)
|
(require 'org-mu4e)
|
||||||
(setq mu4e-compose-complete-only-after nil)
|
(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-sent-folder "/[Gmail].Sent Mail")
|
||||||
(setq mu4e-trash-folder "/[Gmail].Trash")
|
(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-sent-messages-behavior 'delete)
|
||||||
(setq mu4e-update-interval (* 60 20))
|
(setq mu4e-update-interval (* 60 20))
|
||||||
(setq message-kill-buffer-on-exit t)
|
(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-server "smtp.gmail.com"
|
||||||
smtpmail-smtp-service 587)))
|
smtpmail-smtp-service 587)))
|
||||||
|
|
||||||
|
(use-package gmail-message-mode :ensure t)
|
||||||
|
|
||||||
(use-package alert
|
(use-package alert
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
@ -866,6 +871,7 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq sauron-min-priority 3)
|
(setq sauron-min-priority 3)
|
||||||
|
(setq sauron-dbus-cookie t)
|
||||||
(setq sauron-separate-frame nil)
|
(setq sauron-separate-frame nil)
|
||||||
(setq sauron-nick-insensitivity 1)
|
(setq sauron-nick-insensitivity 1)
|
||||||
(defun sauron:jabber-notify (origin priority message &optional properties)
|
(defun sauron:jabber-notify (origin priority message &optional properties)
|
||||||
|
Loading…
Reference in New Issue
Block a user