mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user