Re: Color headers in pager based on message patterns

2018-02-07 Thread Cameron Simpson
On 07Feb2018 20:35, Scott Kostyshak wrote: Example (untested): message-hook . 'set my_hdr_colour=green' message-hook ~p!~l 'set my_hdr_colour=yellow' message-hook . 'color header $my_hdr_colour default' so that a colour is chosen per message, then applied to your settings. I think that do

Re: Color headers in pager based on message patterns

2018-02-07 Thread Scott Kostyshak
On Wed, Feb 07, 2018 at 10:00:33PM +, Cameron Simpson wrote: > On 07Feb2018 01:05, Scott Kostyshak wrote: > > I would like to color all header lines in the pager if a message pattern > > matches. > > > > As an example, I can use the following to color the index if a message > > was sent to me

Re: Color headers in pager based on message patterns

2018-02-07 Thread Cameron Simpson
On 07Feb2018 01:05, Scott Kostyshak wrote: I would like to color all header lines in the pager if a message pattern matches. As an example, I can use the following to color the index if a message was sent to me and not sent to a list: color index yellow black ~p!~l But I cannot do the follow

Color headers in pager based on message patterns

2018-02-06 Thread Scott Kostyshak
I would like to color all header lines in the pager if a message pattern matches. As an example, I can use the following to color the index if a message was sent to me and not sent to a list: color index yellow black ~p!~l But I cannot do the following: color header yellow black ~p!~l to c