Permalink
Browse files

Mutt is in, mu4e is out

  • Loading branch information...
1 parent c231ffa commit 518c9ea68e72187bd085e1516f5a18f5ee91077f @cjohansen cjohansen committed with Dec 19, 2012
View
@@ -151,6 +151,9 @@
(add-hook 'emacs-lisp-mode-hook (lambda () (elisp-slime-nav-mode t)))
(eval-after-load 'elisp-slime-nav '(diminish 'elisp-slime-nav-mode))
+;; Email, baby
+(require 'setup-mu4e)
+
;; Emacs server
(require 'server)
(unless (server-running-p)
View
@@ -0,0 +1,21 @@
+(require 'mu4e)
+(setq mu4e-get-mail-command "offlineimap")
+(setq message-kill-buffer-on-exit t)
+
+;; don't save message to Sent Messages, Gmail/IMAP takes care of this
+(setq mu4e-sent-messages-behavior 'delete)
+
+;; Try to display images in mu4e
+(setq
+ mu4e-view-show-images t
+ mu4e-view-image-max-width 800)
+
+;; use imagemagick, if available
+(when (fboundp 'imagemagick-register-types)
+ (imagemagick-register-types))
+
+(setq mu4e-confirm-quit nil
+ mu4e-headers-date-format "%d/%b/%Y %H:%M" ; date format
+ mu4e-html2text-command "html2text -utf8 -width 72")
+
+(provide 'setup-mu4e)
Oops, something went wrong.

0 comments on commit 518c9ea

Please sign in to comment.