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

Re: Archiving



* Javier Rojas <jerojasro@xxxxxxxxxx> [2009-02-13 21:37 -0500]:
> folder-hook =inbox 'push 
> "<collapse-all><tag-pattern>~(~r>3m)<enter><tag-prefix-cond><save-message>=archivos/inbox<enter><untag-pattern>~A<enter><collapse-all>"'
> 
> which uncollapses, archives, and the collapses back the mailbox
> 
> This, however, creates another problem: when there is nothing to
> archive, the mailbox ends up uncollapsed.
> 
> Any ideas on how to solve this?

<end-cond> in front of the second <collapse-all> should solve this.

Nicolas

-- 
http://www.rachinsky.de/nicolas