[ale] mutt and advanced features?

Jason Day jasonday at worldnet.att.net
Fri Dec 13 11:04:31 EST 2002


On Thu, Dec 12, 2002 at 03:14:45PM -0500, Robert L. Harris wrote:
> I'm kinda looking at the syntax of the colors, I've got them pretty
> customized but I'm just hiting some odd things.  How would you do the
> color line for something like:

I don't use these myself, so they may not be entirely accurate.  But
this should get you started.  The syntax of the color command is:
  color index <foreground> <background> [pattern]

Replace the foreground and background colors with whatever you want.
Also see the man page for mutt and muttrc for more details on colors and
patterns.

Try putting these commands in your ~/.muttrc :

> new, to me, from dad at hisisp.com 
color index magenta default "~N ~p ~f dad at hisisp.com"

The ~p pattern means "addressed to you", and assumes that you have set a
variable in your .muttrc called "alternates", which contains all your
email addresses.  If you haven't set that, you can use
"~C Robert.L.Harris at rdlg.net" instead.

> new, not to me, from jane at aol.com (spam marker)
color index red default "~N !~p ~f jane at aol.com"

> new, not to me directly but from list at one_of_my_lists.com
color index blue default "~N !~p ~f list at one_of_my_lists.com"

You'll probably have to play with this last one a bit, because if you're
Cc'd (like this message is) the !~p test will probably fail.

Hope this helps,
Jason
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list