Re: Order of hook execution

2015-06-26 Thread Kevin J. McCarthy
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 s

Re: Order of hook execution

2015-06-26 Thread Patrick Shanahan
* Ian Zimmerman [06-26-15 12:05]: > It seems when multiple hooks exist for the same context (in particular, > multiple folder-hooks matching on ".*"), they're executed in reverse > order of appearance in .muttrc. > > >From the 1st day I started using mutt seriously I had this in .muttrc: > > fol

Order of hook execution

2015-06-26 Thread Ian Zimmerman
It seems when multiple hooks exist for the same context (in particular, multiple folder-hooks matching on ".*"), they're executed in reverse order of appearance in .muttrc. >From the 1st day I started using mutt seriously I had this in .muttrc: folder-hook .* "exec collapse-all" But, this result