I'm having some trouble removing all color patterns in a
folder-hook; this procedure is documented in the manual but I must be
tripping over something trying to follow the directions. The object here
is to set a default folder-hook that removes all body color patterns
(because I want different strings colored depending on folder, etc.). I
would also like to do the same thing for index and header, but I assume
the answer to the first question is also the answer to those two. Anyway,
here's the relevant passage from the book of mutt(1), section 3.7:
Note: The uncolor command can be applied to the index object only. It
removes entries from the list. You must specify the same pattern specified
in the color command for it to be removed. The pattern ``*'' is a special
token which means to clear the color index list of all entries.
And now, the relevant passage from ~/.mutt/rc.folderhook
folder-hook . uncolor body *
#folder-hook . uncolor header *
#folder-hook . uncolor index *
The other two lines are commented out on purpose, I only like to have
one thing broken at a time. :)
And, finally, the relevant passage from the Tome Of Mutt Errors(tm):
uncolor: command valid only for index object
Just to head off effort duplication, these are the other permutations
I've tried, with identical results:
folder-hook . uncolor body
folder-hook . uncolor body "*"
folder-hook . uncolor body \*
folder-hook . uncolor body "\*"
Any ideas?