<<< Date Index >>>     <<< Thread Index >>>

Re: trash folder patch?



On Tuesday, 24 August 2010, 13:21:11 -0700,
Omen Wild <omen@xxxxxxxxxxx> wrote:
> Quoting Will Fiveash <will.fiveash@xxxxxxxxxx> on Tue, Aug 24 14:57:
> >
> > On Tue, Aug 24, 2010 at 06:52:15AM -0700, Michael Elkins wrote:
> > > Was there ever any consensus on the trash folder patch.  Some
> > > mutt-users were asking about it, and I note that Debian has been
> > > including it in their package for quite some time.
> > 
> > If it can be done via macro then I would be against complicating the
> > mutt code base.
> 
> The maco approach fails when you change your mind and undelete the
> message as it has already been copied to the trash.  When you delete the
> message later you have 2 copies in the trash.  Perhaps not the end of the
> world, but I like the cleanness the patch brings.

Maybe it could be done with a close-hook, but it seems to me quite
complicated : <untag-pattern>all, <tag-pattern>~D,
<tag-prefix-cond><save-message>=Trash. Haven't tested it. Could it even
work?