> On Tue, Jul 13, 2010 at 04:24:53PM +1000, Adam Bolte wrote:
> > > Does anyone have any idea how I can trigger a hook *only* when writing a 
> > > new
> > > message? Maybe there's a patch floating around that I should know about?
> > In case this was not clear, by "new message", I mean a fresh e-mail that is
> > not a reply.
> 
> How about 'message-hook !~x . command' .
> 
> Check the archives for a thread titled 'match messages without a reply
> from anyone?' around September 16, 2009.  There are some additional
> patterns found there.
> 
Thanks Monte. Interesting idea. I haven't had any luck finding a combination
that works perfectly using '! ~x .' in a message-hook yet (probably due to
execution order) but I'll report back if/when I find a working setup.

-Adam

Reply via email to