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

Re: Highlighting mails from myself



On Mon, Dec 08, 2003 at 06:56:17PM -0500, Patrick Shanahan wrote:
> * User Zhouska <zhouska@xxxxxxxxxxxxxxxxxx> [12-08-03 16:03]:

> > I would appreciate to highlight mail coming from myself through mailing
> > lists. I have following in .muttrc:
> > color index red green 'From: Zbynek Houska'
> > but nothing happens.
> 
> 4.2.  Patterns
> ~p      message is addressed to you (consults $alternates)
> 
> color index red green '~p'

You mean ~P for mail addressed from him, right?

> Be sure that you have all your addresses listed in:
> 
> 
> 6.3.7.  alternates
>   
> Type: regular expression
> Default: ""
>       
> A regexp that allows you to specify alternate addresses where you receive
> mail.  This affects Mutt's idea about messages from you and addressed to
> you.

...and one more tiny comment: if you've only got one addy, you don't need no 
stinkin' $alternates ;-/

...and finally, a little example of the contrary, JFF [1]:

$ cat ~/.mutt/alternatesrc
set 
alternates=(dummy@addy|dave@(.+\.)?dave\.tj|dave@(.+\.)?bigfatdave\.com|lists([+].*)?@dave\.tj|lists([+].*)?@bigfatdave\.com|paypal@dave\.tj|paypal@bigfatdave\.com|.+-abuse@dave\.tj|.+-abuse@bigfatdave\.com|bigfatdave@optonline\.net)

...autogenerated from the far simpler:

$ cat /home/dave/.mutt/my_addys
#me:
dave@(.+\.)?dave\.tj
dave@(.+\.)?bigfatdave\.com
#me for lists:
lists([+].*)?@dave\.tj
lists([+].*)?@bigfatdave\.com
#me by paypal:
paypal@dave\.tj
paypal@bigfatdave\.com
#various QA addys:
.+-abuse@dave\.tj
.+-abuse@bigfatdave\.com
#me on OOL:
bigfatdave@optonline\.net

Enjoy,
 - Dave

[1]
Just For Fun

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpzIatkySxzw.pgp
Description: PGP signature