diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-03-17 21:06:29 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-03-17 21:06:29 +0800 |
commit | 7f53a273c138563999fc6780fd60d74a7ac908fd (patch) | |
tree | 17cd25bb049fafe0ac660ef8496921aa75d3f35e /_spacemacs.d | |
parent | 502ba0fd01efb17e52281b4bce8c5c3e97bc5168 (diff) | |
download | dotfiles-7f53a273c138563999fc6780fd60d74a7ac908fd.tar.bz2 |
spacemacs/mu4e: Customize reply/quote citation format
Credit: http://pragmaticemacs.com/emacs/customise-the-reply-quote-string-in-mu4e/
Diffstat (limited to '_spacemacs.d')
-rw-r--r-- | _spacemacs.d/config/my-mu4e.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/_spacemacs.d/config/my-mu4e.el b/_spacemacs.d/config/my-mu4e.el index 6aa2f0d..3819e90 100644 --- a/_spacemacs.d/config/my-mu4e.el +++ b/_spacemacs.d/config/my-mu4e.el @@ -4,7 +4,6 @@ ;; ;; Aaron LI ;; Created: 2016-02-21 -;; Updated: 2016-09-03 ;; ;;; Commentary: @@ -257,6 +256,11 @@ ;; 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 + (setq message-citation-line-function 'message-insert-formatted-citation-line) + ;; confirm before sending (add-hook 'message-send-hook (lambda () @@ -274,12 +278,12 @@ (add-to-list 'mu4e-view-actions '("bView in browser" . mu4e-action-view-in-browser) t) ;; search for messages by the sender of the opened message - (defun search-for-sender (msg) + (defun my/search-for-sender (msg) "Search for messages sent by the sender of the message at point." (mu4e-headers-search (concat "from:" (cdar (mu4e-message-field msg :from))))) (add-to-list 'mu4e-view-actions - '("xSearch for sender" . search-for-sender) t) + '("xSearch for sender" . my/search-for-sender) t) ;; set `mu4e' as emacs' default email program (setq mail-user-agent 'mu4e-user-agent) |