Tim Landscheidt writes:

> Hi,
>
> often in a group, I want to handle a subset of articles as
> auto-expirable and the rest as not.  For example, all my
> mail from Amazon gets split into a group.  I want to keep
> mails referring to an actual order forever, while I want to
> set "we noticed you bought a toilet seat last week, do you
> fancy another one?" mails as expirable.
>
> Therefore, since time immemorial, I wanted to extend the
> auto-expire group parameter by a third option, an (anony-
> mous/named) function that looks at the current article and
> then decides whether to mark it as expirable.
>
> This would also allow to spell out an "archive policy" in
> the form of an interactive function that would ask me "is
> this article referring to an actual order?", thus implying
> that articles that fulfill this criteria are kept (or not).
>
> Has anyone ever implemented something like this?

Why not, say, '& body <RET> some.*string <RET> E'?

--

Reply via email to