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!

        -- Mr. Wade

-- 
Linux: The Choice of the GNU Generation


Reply via email to