[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt deletes 1st unread



On Wed, Dec 16, 2009 at 10:55:54AM +0100, Nicolas KOWALSKI wrote:
> freeman <freeman@worldwidehtml.com> writes:
> > I use folder-hooks to archive mail after n weeks. Here is the l-debusr
> > hook:
> >
> > folder-hook l-debusr 'push
> > <tag-pattern>~r>12w!~F<enter><tag-prefix><save-message>+archive/l-debusr<enter>'
> 
> I have the following for archiving old mail (>90d) in my INBOX.
> 
> folder-hook =INBOX 	'push <tag-pattern>~R~r>90d<enter><tag-prefix-cond><save-message>=Archive<enter><end-cond><untag-pattern>~A<enter>'
> 
> The <tag-prefix-cond> is probably what's missing in your hook.
> 
> -- 
> Nicolas

Thanx Nicolas. Initial tests are positive.

And I am signed up with mutt-users which is a pleasure that got undone back
in the past somewhere.  :)

Thanx Sjoerd. Always nice to be among thoughtful people after flame wars on
forums. :\

Interesting that I had part of the tag. I wonder if it has evolved? Or maybe
I got it wrong.  I'll never remember!

Either way the problem didn't occur in all mailboxes for which I copied and
edited the original hook.

-- 
Freeman


Reply to: