Ian Zimmerman wrote: > From this behavior it is clear that the "second" hook in fact runs > first, and vice versa.
Actually, the folder-hooks are run in the order listed in your .muttrc. However, each invocation of exec or push adds to the *front* of the input buffer. Hence the contents of the second exec/push will be executed before the first one (after all the hooks are evaluated and input starts processing). It's possible to put multiple functions in a single exec, so folder-hook . "exec collapse-all current-bottom" may be clearer. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA http://www.8t8.us/configs/gpg-key-transition-statement.txt
signature.asc
Description: PGP signature