Commit 93acec6181eb

Vincent Demeester <vincent@sbr.pm>
2026-01-30 11:08:37
feat(emacs): improve mu4e compose and reply workflow
- Don't include own addresses in reply-all - Better citation format ("On date, person wrote:") - Fix improperly formatted sender addresses in replies - Enable format=flowed for better plain text on mobile - Open compose in new frame Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fce2344
Changed files (1)
dots
.config
emacs
dots/.config/emacs/init.el
@@ -2388,6 +2388,25 @@ with quoted lines and signatures removed."
 
   (setopt mu4e-completing-read-function completing-read-function)
   (setq mu4e-refile-folder 'vde-mu4e--refile)
+
+  ;; === Compose & Reply Settings ===
+  ;; Don't include own addresses in reply-all
+  (setq mu4e-compose-reply-ignore-address
+        '("no-?reply" "vincent@demeester.fr" "vdemeest@redhat.com"))
+
+  ;; Better citation format for replies
+  (setq message-citation-line-format "On %a %d %b %Y at %R, %f wrote:\n"
+        message-citation-line-function 'message-insert-formatted-citation-line)
+
+  ;; Fix improperly formatted sender addresses in replies
+  (setq rfc2047-quote-decoded-words-containing-tspecials t)
+
+  ;; Enable format=flowed for better plain text display on mobile/other clients
+  (setq mu4e-compose-format-flowed t)
+
+  ;; Open compose in a new frame
+  (setq mu4e-compose-switch 'frame)
+
   (setq mu4e-contexts `( ,(make-mu4e-context
 			   :name "icloud"
 			   :match-func (lambda (msg) (when msg