> I beleive the color used depends on the *last* matching color
> index statement, so you might have to include the ~D, ~F, and ~T
> ones in your folder-hook *after* the ~f one.

No amount of reordering seemed to solve the problem, I've tried N
different combinations (likely missing the right one of course :)

However, I have run across something that does seem to work well.

The 5 commands:
folder-hook . 'color index blue black "!((! ~f jishac)|~T|~F|~D)"'
folder-hook =sent 'color index white black "!((! ~f jishac)|~T|~F|~D)"'
color index black red ~D
color index red black ~F
color index magenta black ~T

produce the desired effect.  Mind you I didn't know how to AND things
together (and a simple A & B wasn't working) so I simply applied good
ol' DeMorgan's Law to "((~f jishac)&(! ~T)&(! ~F)&(! ~D))"

If there is a more elegant solution, feel free to share ;)

Now if only the command:
color indicator red white ~F

would actually be possible ...

-Joseph

Reply via email to