-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, February 13 at 09:37 PM, quoth Javier Rojas:
> however, this doesn't catch all the messages of the threads of the
> matched messages (the idea behind the addition of ~() ). I think
> this is caused because I also have another folder hook to collapse
> automatically all the threads
That would do it.
> so now I'm working around this with this new version of the hook
>
> 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 has the obvious problem when there are no tagged messages. :)
I've wrestled with the same problem.
> Any ideas on how to solve this?
Yes! Here's the key observation that allows us to solve the problem:
tagged messages will get moved, even if they're collapsed, but
collapsed messages don't get tagged.
So, the workaround is all about ordering; you have to work in the
following order:
1. make sure everything is uncollapsed
2. tag the messages you want
3. collapse things
4. use tag-prefix-cond to operate on the tagged messages
Don't worry, it took me a while to figure that one out too.
~Kyle
- --
Science has proof without any certainty. Creationists have certainty
without any proof.
-- Ashley Montague
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkmWORgACgkQBkIOoMqOI1729wCg2NpPq1tkwEkd3ikdO6W33L6y
HBUAnRcbo3T5w2eusNLyufy90lmOpsy7
=HOAr
-----END PGP SIGNATURE-----