On 11Aug2014 19:36, Erik Christiansen <dva...@internode.on.net> 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

Cheers,
Cameron Simpson <c...@zip.com.au>

color attachment white default
# color body yellow default regexp
color bold yellow default
color error red yellow
color header white default "^(from|subject):"
color header magenta default "^(x-spam-status):"
color hdrdefault green default
color index cyan default   "~N !~D"
color body red default "(FAIL|ERROR|CRITICAL|DOWN)"
color index red default    '(~s "(FAIL|ERROR|CRITICAL|DOWN|Fail event on |SMART error )" 
!~D) | (~v ~(~s "(FAIL|ERROR|CRITICAL|DOWN|Fail event on |SMART error )" !~D))'
color index white default  "(~P !~D) | (~v ~(~P !~D))"
color index yellow default "(~F !~D) | (~v ~(~F !~D))"
color index blue black "~D"
color indicator white blue
color markers yellow default
color message green default
color normal green default
color quoted cyan default
color search yellow default
color signature green default
color status magenta default
color tilde white default
color tree green default
color underline cyan default

Reply via email to