<<< Date Index >>>     <<< Thread Index >>>

Re: Patterns to set indicator colors?



On (19/12/06 14:02), Sweth Chandramouli wrote:
>    Rado S (<rado@xxxxxxxxxxxxxxxxxxx>) wrote:
> > =- Sweth Chandramouli wrote on Tue 19.Dec'06 at 13:18:26 -0500 -=
> > 
> > > Am I missing something, or is it impossible to, say, have all
> > > emails that are to/from me be shown with green text and all
> > > other emails shown w/ red text, regardless of whether or not
> > > they are highlighted by the indicator bar?
> > 
> > If you don't want the indicator bar (to mess around with your
> > colors), disable it and use the "arrow" instead.
> 
> I do want the indicator bar, though.  I just want to be able to
> have its foreground colors change using the same criteria that
> the rest of the index uses.  Is there any way to do that?

If I understand what you want, the following addition to .muttrc
should do it:
color index red default ~A
color index green default '~L "Sweth"'
The general formula is
# color thisthing foregroundcolor backgroundcolor [arguments]

HTH.

-- 
JohnRChamplin@xxxxxxxxxxxxxxx
====================================================
PGP key 1024D/99421A63 2005-01-05
EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63
gpg --keyserver subkeys.pgp.net --recv-keys 99421A63

Attachment: signature.asc
Description: Digital signature