Skip to content

Commit

Permalink
Mutt is in, mu4e is out
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohansen authored and magnars committed Dec 20, 2012
1 parent c231ffa commit 518c9ea
Show file tree
Hide file tree
Showing 33 changed files with 26,665 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
21 changes: 21 additions & 0 deletions setup-mu4e.el
Original file line number Diff line number Diff line change
@@ -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)
Loading

0 comments on commit 518c9ea

Please sign in to comment.