Re: Determining if any messages where tagged in a macro?
* David Champion <dgc@xxxxxxxxxxxx> [2004-01-19 00:22 -0600]:
> * On 2004.01.18, in <20040119053923.GQ16674@xxxxxxx>,
> * "David Yitzchak Cohen" <lists+mutt_users@xxxxxxxxxxxxxx> wrote:
> > On Sun, Jan 18, 2004 at 11:50:47PM EST, William Reardon wrote:
> >
> > > E.g., if you have something like:
> > >
> > > macro index .f "T~f foo@xxxxxxx\n;s=foo\n$"
> > >
> > > It works if you have messages from foo, but if you don't, it will move
> > > the
> > > current message (which isn't from foo).
> >
> > Isn't that a bug?
>
> So far, no: it's the design. Nicholas Rachinsky's
> tag-pattern-conditional patch amends that.
patch-1.5.4.nr.tag_prefix_cond, but if you're using a new enough
(since 1.5.5) version of mutt, it's already included. Just use
<tag-prefix-cond> instead of <tag-prefix>. For more information look
on my homepage.
Nicolas