On Sun, Jun 05, 2022 at 09:33:43AM -0700, "Kevin J. McCarthy" <ke...@8t8.us> 
wrote:

> On Sun, Jun 05, 2022 at 10:24:47AM -0400, Jason Franklin wrote:
> > On Sun, Jun 05, 2022 at 09:26:04AM +0200, Jakub Jindra wrote:
> > > set header_color_partial = yes
> > > color hdrdefault FG  BG
> > > color header     FG  BG  "REGEX"
> > > color header     FG1 BG1 "REGEX1"
> > > 
> > > tune the colors FG, BG and REGEX to your needs.
> > 
> > I came across that option in the manual, but I couldn't make it work at
> > the time. I will have to play around with it a bit.
> 
> See http://www.mutt.org/relnotes/1.9/ for a sample usage.
> 
> Also note, starting with 1.12 you can add attributes before the color name.
> 
> For example, to *only* make the headers bold:
> 
> set header_color_partial
> color header bold default default '^[^[:blank:]:]*:'
> 
> -- 
> Kevin J. McCarthy
> GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

And there's also the "mono" directive for terminals that
don't support colour, e.g.:

  mono header bold ^(Subject|From|To|Cc|Date):

But it doesn't work for me anymore (with TERM=xterm).
I don't know why that is. I think it must have worked in the
past. I just "ignore" the headers I don't want to see so
it's not really a problem.

And it would bold entire headers, not just their names.

cheers,
raf

Reply via email to