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

Re: hook conflicts...



On Sat, May 29, 2004 at 09:39:52AM +0200, Nicolas Rachinsky wrote:
> * Matt Price <matt.price@xxxxxxxxxxx> [2004-05-28 16:40 -0400]:
> > ok, so the big question is solved.  How about this problem though:  
> > 
> > send-hook "~C^sugar\.pop@utoronto\.ca" 'set 
> > signature=.mutt/sigs/signature_sweetie ; my_hdr From: Matt 
> > <matt.price@utoronto.\ ca>'
> > 
> > 
> > what's wrong with this hook?  From the manual, I would think it would
> > only match a message with sugar.pop@xxxxxxxxxxx as the ONLY recipient
> > (because of the ^).
> 
> ~C^foo matches when any reciipient starts with 'foo'.
> ^~Cfoo should do what you want (match when all recipients contain
> 'foo').

got it, thanks!
matt