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

color precedence



This is really pedantic, but I just can't get this to work the way I
want.  I have some folder-hooks that set colors for mails from me,
and depending on what address the mail was sent to etc.

Just spent some time tidying up some settings so that flagged
emails, new items etc weren't overridden by these folder-hooks
though, because no matter what the folder-hook color I want flagged
to be the correct color, new, deleted, and tagged similarly.

~/.muttrc :

source ~/.mutt/color.mutt
source ~/.mutt/user.mutt

~/.mutt/color.mutt :

color index brightgreen default "~F"
color index black yellow "~T"
color index brightcyan default "~N"
color index cyan default "~O"
color index blue default "~D"

~/.mutt/user.mutt :

folder-hook . 'color index brightwhite default "~f troy@xxxxxxxxx"'
# there are others here that are similar
uncolor index ~N ~F ~T ~D ~O
folder-hook . 'push ":source ~/.mutt/color.mutt"\n'

Those last 2 lines I found necessary because mail from me, even if
flagged or tagged, was showing up as the brightwhite.  Now they
appear as I intend.

My (pedantic) frustration is that if I try to tag a flagged or new
mail, it won't change to the black/yellow.

What am I missing?

-- 
Troy Piggins - Been a novice linux user since 1998
             - When do I become an expert?
RedHat 9: mutt 1.5.9i, procmail 3.22, postfix 2.2.4, slrn 0.9.8.1,
          vim 6.1, kernel 2.4.20-31.9