aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-05-11 18:52:11 +0800
committerAaron LI <aaronly.me@outlook.com>2017-05-11 18:52:11 +0800
commitda1959fe83f8970b3d7162f8c548007972788432 (patch)
tree16545154fbb994dc9a853446b930e0d8b402096b
parenta9c6f4ec932bdda778dada6473c6b23d2249737e (diff)
downloaddotfiles-da1959fe83f8970b3d7162f8c548007972788432.tar.bz2
spacemacs/mu4e: enable format=flowed and several others
-rw-r--r--_spacemacs.d/config/my-mu4e.el19
1 files changed, 12 insertions, 7 deletions
diff --git a/_spacemacs.d/config/my-mu4e.el b/_spacemacs.d/config/my-mu4e.el
index 7261637..1c2daee 100644
--- a/_spacemacs.d/config/my-mu4e.el
+++ b/_spacemacs.d/config/my-mu4e.el
@@ -196,9 +196,8 @@
;; start with the first (default) context
;; default: `ask-if-none' (ask when there's no context yet, and none match)
(setq mu4e-context-policy 'pick-first)
- ;; compose with the current context if no context matches
- ;; default: `ask'
- ;(setq mu4e-compose-context-policy nil)
+ ;; compose with the current context if no context matches (default: `ask')
+ (setq mu4e-compose-context-policy nil)
;; auto construct addresses list by extracting addresses from contexts
(setq mu4e-user-mail-address-list
@@ -236,11 +235,20 @@
(setq mu4e-change-filenames-when-moving t)
;; kill the buffer after sending a message
- ;(setq message-kill-buffer-on-exit t)
+ (setq message-kill-buffer-on-exit t)
+
+ ;; compose messages in a separate frame
+ (setq mu4e-compose-in-new-frame t)
;; exclude myself when replying to all
(setq mu4e-compose-dont-reply-to-self t)
+ ;; Apply `format=flowed' to outgoing messages, which transform the message
+ ;; into the proper format at the time of sending. (mu4e >= 0.9.17)
+ ;; Then each paragraph should be written as a long line, or use `M-q' to
+ ;; reformat the paragraph into a single line.
+ (setq mu4e-compose-format-flowed t)
+
;; enable inline images
(setq mu4e-view-show-images t)
;; use imagemagick if available
@@ -298,9 +306,6 @@
;; exclude the duplicate messages with the same `Message-ID'
;(setq mu4e-headers-skip-duplicates t)
- ;; compose messages in a separate frame
- (setq mu4e-compose-in-new-frame t)
-
;; customize the reply/quote citation format
(setq message-citation-line-format "On %a, %b %d, %Y at %R, %f wrote:\n")
;; choose to use the above formatted string