From 65d743926bd519284dd8744ef3333ee7fb9aa218 Mon Sep 17 00:00:00 2001 From: TEC Date: Wed, 23 Sep 2020 01:02:40 +0800 Subject: [PATCH] Mu4e: Set header fields to opinionated set - account is useful if you have multiple accounts ... which is most people as far as I can tell - the date is pretty important IMO - flags 2-wide due to the extra space, so 6 fits 3 flags - hey, the subject - that could be of interest Oh, and since :flags is 6 wide there's no good reason to abbreviate it The initial space is to make the icon alignment work nicer visually --- modules/email/mu4e/config.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index c48b48699..93c7f8d45 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -120,6 +120,15 @@ will also be the width of all other printable characters." (mu4e~initialise-icons) (remove-hook #'mu4e~initialise-icons-hook))))) + (setq mu4e-headers-fields + '((:account . 12) + (:human-date . 8) + (:flags . 6) ; 3 icon flags + (:from . 25) + (:subject)) + + (plist-put (cdr (assoc :flags mu4e-header-info)) :shortname " Flags") ; default=Flgs + ;; Add a column to display what email account the email belongs to. (add-to-list 'mu4e-header-info-custom '(:account