On 2014-08-12, Cameron Simpson wrote:
> On 11Aug2014 19:36, Erik Christiansen wrote:
> >On 11.08.14 09:33, Cameron Simpson wrote:
> >>I colour deleted messages in dark blue (and my terminal has a black
> >>background) so that at least makes such accidents visually obvious.
> >
> >That looks useful. I tried a quick:
> >
> >:color index black default ^[0-9]+..D
> >
> >but that coloured neither the pre-existing deleted messages, nor one
> >subsequently deleted. Is your working solution very different?
> 
> I use:
> 
>   color index blue black "~D"
> 
> I see someone's already mentioned "Patterns" to you instead of regexps:-)
> 
> In case anyone cares, I list my colour scheme below. Bear in mind I
> work in green-on-black terminals.
> 
> The main points of interest are:
> 
>   - "new" messages get cyan index lines - more visible than "read" messages
> 
>   - serious warning messages from monitoring systems get red index lines
> 
>   - message bodies colour "(FAIL|ERROR|CRITICAL|DOWN)" in red also

Something else worth mentioning is that the effect of these rules
depends on the order in which they are defined.  Later rules
supersede earlier rules.

Regards,
Gary

Reply via email to