Skip to content

Commit

Permalink
email/mu4e: replace org-mu4e with org-msg
Browse files Browse the repository at this point in the history
Fixes #3663
  • Loading branch information
hlissner committed Aug 1, 2020
1 parent 8a0fd0b commit bfb0410
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion modules/email/mu4e/README.org
Expand Up @@ -38,7 +38,7 @@ via IMAP) and ~mu~ (to index my mail into a format ~mu4e~ can understand).
+ ~+gmail~ Enables gmail-specific configuration.

** Plugins
This module install no plugins.
+ [[https://github.com/jeremy-compostella/org-msg][org-msg]]

* Prerequisites
This module requires:
Expand Down
13 changes: 5 additions & 8 deletions modules/email/mu4e/config.el
Expand Up @@ -108,16 +108,13 @@
:desc "attach" "a" #'mail-add-attachment))


(use-package! org-mu4e
:hook (mu4e-compose-mode . org-mu4e-compose-org-mode)
(use-package! org-msg
:hook (org-load . org-msg-mode)
:config
(setq org-mu4e-convert-to-html t)
(when (version< mu4e-mu-version "1.4")
(setq org-mu4e-link-query-in-headers-mode nil))
(setq org-msg-startup "inlineimages"
org-msg-greeting-name-limit 3
org-msg-text-plain-alternative t))

;; Only render to html once. If the first send fails for whatever reason,
;; org-mu4e would do so each time you try again.
(setq-hook! 'message-send-hook org-mu4e-convert-to-html nil))


;;
Expand Down
1 change: 1 addition & 0 deletions modules/email/mu4e/packages.el
@@ -1,3 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; email/mu4e/packages.el

(package! org-msg :pin "2db6725c4a4f4342a9c61895b7c3c82795b01fee")

0 comments on commit bfb0410

Please sign in to comment.