On Sun, May 06, 2001 at 05:33:51PM -0400, Mr. Wade wrote:
> Brian Nelson wrote:
> > I would like mutt to delete messages older than a certain date when
> > entering my mailing list folders, in other words executing the
> > function:
> > 
> > delete-pattern ~d >2w
> > 
> > Is there a way to use folder hooks to execute a function?  It seems as
> > though hooks only run commands, and only macros use functions.  Is
> > this true, or am I just confused?
> 
> Try using this as the command portion of the folder-hook:
> 
>         push "<delete-pattern>~d >2w<enter>"
> 
> Good luck!

Yup, that does it.  Thanks.

-- 
Brian Nelson <[EMAIL PROTECTED]>

Reply via email to