Re: howto mark a mbox as read?
Adeodato Simó (2004-11-06, 03:34):
> > macro index y
> > <tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>~A<enter>
>
> two small remarks:
>
> 1. s/tag-prefix/tag-prefix-cond/ will make the macro not fail when
> there are no tagged messages. yes, in this case it probably won't
> make much of a difference since you probably won't call the macro
> unless you *see* there are some new messages.
<tag-prefix-cond> is better, but AFAIS still undocumented. (@Rene
you wanted to update the documentation? -> 20040721143111.GR6640@xxxxxxxx)
> 2. IIRC, I once discussed with Myon on irc that in this case ~T
> makes a better <untag-pattern> that ~A. we were surprised but the
> time needed to perform the untaggin was significantly smaller for ~T.
ACK.
For the sake of completeness:
macro index y
<tag-pattern>~N<enter><tag-prefix-cond><clear-flag>N<untag-pattern>~T<enter>
Hendrik