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

Re: 'score "~d <2w" 50' in folder-hook weirdness



[old thread, I've been _too_ busy...]

* John Iverson <johni@xxxxxxxxx> [20030702 02:16]:
> On Tue 01 Jul 2003 at 04:56pm -0700, John Iverson wrote:
> > On Wed 02 Jul 2003 at 12:20am +0200, Joan Picanyol i Puig wrote:
> > > Hi,
> > > 
> > > I want to automatically delete old messages from mailing lists folders,
> > > so I have the following sourced from .muttrc:
> > > 
> > > folder-hook =lists*  set score_threshold_delete=1
> > > folder-hook =lists*  set score
> > > folder-hook =lists*  unscore *
> > > folder-hook =lists*  score ~F 50
> > > folder-hook =lists*  'score "~d <2w" 50'
> > > folder-hook =lists*  set delete=yes
> > 
> > Why not just do something like:
> > 
> >    folder-hook =lists* 'push <delete-pattern>~r>2w<enter>'
> > 
> > To delete messages received more than 2 weeks ago.
The problem was that mutt wouldn't tag the messages from deletion until
the *second* time I enter the folder, which is rather incovinient. I
still have the same problem with your approach, is there any workaround?

qvb
-- 
pica