On Sat, Feb 06, 1999 at 10:42:25AM -0500, Vikas Agnihotri <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 05, 1999 at 04:21:50PM -0500, Ian Peters wrote:
>
> > Say I wanted to delete some old mail in a large mailbox, so I hit
> > 'T', and then ~r -1/1/99. This tags all of the messages before
> > January 1st, like I wanted...except if it is a thread dating from
> > before Jan 1, but with replies from after this date. Is there a way
> > to make it tag these messages as well, so that I can delete them
> > with their thread? I'd rather not have just replies and not the
> > message the thread started from...
>
> Hm. Mutt's pattern language doesnt care what the sorting method is. It
> evaluates each message as per the criteria you specify. I guess what
> you are asking for is to treat the thread as one "atomic" unit and tag
> the entire thread if at least one message in it matches?
How about the following: we make keybindings for thread-set-flag and
thread-clear-flag. This is trivial, because (I think) we already have
code to do it. Then we make sure the tag-prefix applies to these
commands correctly. So you could tag a bunch of messages, and then do
tag-prefix thread-setflag t. Sound OK? This would be more generally
useful, too, for taggin a bunch of messages, and then marking the
threads they were in as new, or whatever.
Another nit that's been bugging me: flag-message doesn't pay attention
to the tag-prefix.
-Daniel
--
Daniel Eisenbud
[EMAIL PROTECTED]