Re: Patterns to set indicator colors?
On Tuesday, 19 December 2006 at 15:19:29 EST,
John - (<JohnRChamplin@xxxxxxxxxxxxxxx>) wrote:
> > 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"'
This is overridden by the indicator color when a message is selected, though.
Basically, what I want to be able to do is:
color index brightgreen blue
color indicator brightgreen blue
color index red black "!~P !~p"
color indicator red blue "!~P !~p"
That last line doesn't work because "color indicator" doesn't accept
patterns, though. Is there any other way to accomplish this beyond
trying to rewrite the "!~P !~p" pattern as a godawful regex? (Part
of my hesitation to go that route is that my $alternates is rather
complex, as I currently have a few dozen addresses through which I
receive email.)
-- Sweth.
--
Sweth Chandramouli - http://EthicalHomes.com/
Need to sell your home in a fixed timeframe? As a Certified Auction
Specialist, I'd be glad to talk to you about how adding a Market
Price Auction listing to your marketing efforts can ensure your home
gets sold on your schedule while still getting you the best possible
price. Read more about Market Price Auctions on my website at
<http://ethicalhomes.com/content/auction-services-for-homeowners/>.