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
This commit is contained in:
TEC 2020-09-23 01:02:40 +08:00
parent 9f044717bd
commit 65d743926b
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

View file

@ -120,6 +120,15 @@ will also be the width of all other printable characters."
(mu4e~initialise-icons) (mu4e~initialise-icons)
(remove-hook #'mu4e~initialise-icons-hook))))) (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 a column to display what email account the email belongs to.
(add-to-list 'mu4e-header-info-custom (add-to-list 'mu4e-header-info-custom
'(:account '(:account