On Jan 29, [EMAIL PROTECTED] [[EMAIL PROTECTED]] wrote:
> On Mon, Jan 28, 2002 at 08:38:45PM -0600, Jeremy Blosser wrote:
> > Yeah, you can do some great stuff with that.  My own settings do the
> > following:
> 
> Sounds great, maybe you could send part of your muttrc responsible for
> such colors?

Heh, here.  There are some comments at the top about the verbosity of the
way it's done.

Also, if you pay attention to the colors specified you'll notice the bright
ones aren't in the same format as the others... this is because I changed
the behaviour on mine to use inverse for bold background so that I can get
some more colors than I could otherwise.
### Index coloring.  These are all much more specific than they need to be
### since only the last matching will have an affect, but hopefully that will
### get fixed at some point.  Being able to have attributes cascade would
### also make this all easier in general.

# regular new messages
color index black white "~N !~T !~F !~p !~P"
# regular tagged messages
color index default white "~T !~F !~p !~P"
# regular flagged messages
color index default red "~F !~p !~P"
# messages to me
color index yellow default "~p !~N !~T !~F !~P"
color index default yellow "~p ~N !~T !~F !~P"
color index yellow white "~p ~T !~F !~P"
color index yellow red "~p ~F !~P"
# messages from me
color index green default "~P !~N !~T !~F"
color index default green "~P ~N !~T !~F"
color index green white "~P ~T !~F"
color index green red "~P ~F"
# messages which mention my name in the body
color index yellow default "~b \"[Bb]losser[ @]\" !~N !~T !~F !~p !~P"
color index default yellow "~b \"[Bb]losser[ @]\" ~N !~T !~F !~p !~P"
color index yellow white "~b \"[Bb]losser[ @]\" ~T !~F !~p !~P"
color index yellow red "~b \"[Bb]losser[ @]\" ~F !~p !~P"
# messages which are in reference to my mails
color index magenta default "~x shade.firinn.org !~N !~T !~F !~p !~P"
color index default magenta "~x shade.firinn.org ~N !~T !~F !~p !~P"
color index magenta white "~x shade.firinn.org ~T !~F !~p !~P"
color index magenta red "~x shade.firinn.org ~F !~p !~P"
# messages to root, etc.
color index blue default "~C \"(root|postmaster|abuse|mailer-daemon)@\" !~N !~P !~p"
color index default blue  "~C \"(root|postmaster|abuse|mailer-daemon)@\" ~N !~P !~p"
# messages from known aliases (requires dgc.isalias)
color index cyan default "@~f . !~N !~T !~F !~P"
color index default cyan "@~f . ~N !~T !~F !~P"
color index cyan white "@~f . ~T !~F !~P"
color index cyan red "@~f . ~F !~P"
# messages from my wife
color index brightblue default "~f <mywifesemail> !~N !~T !~F"
color index brightblue brightwhite "~f <mywifesemail> ~N !~T !~F"
color index brightblue white "~f <mywifesemail> ~T !~F"
color index brightblue red "~f <mywifesemail> ~F"

# bigass messages
color index red default "!~N ~z 10240-"

# deleted messages
color index brightblack default "~D"

Attachment: msg23952/pgp00000.pgp
Description: PGP signature

Reply via email to