Re: relation between folder-hook and push

2010-03-19 Thread Toby Cubitt
On Fri, March 19, 2010 3:02 am, rog...@sdf.org wrote: On 2010-03-18, peng shao shallp...@gmail.com wrote: Folder hooks are processed as the manual says. However, the push command pushes its arguments onto a stack and mutt's input parser later pops those arguments off the stack to parse and

relation between folder-hook and push

2010-03-18 Thread peng shao
I recently found the following interesting phenomenon: I included the following lines in my muttrc mailboxes ~/.MuttMail/inbox set spoolfile=~/.MuttMail/inbox folder-hook . 'push :default' folder-hook inbox 'push :inbox' This is the only four lines in the muttrc because I want to do a clean

Re: relation between folder-hook and push

2010-03-18 Thread Gary Johnson
On 2010-03-18, peng shao shallp...@gmail.com wrote: I recently found the following interesting phenomenon: I included the following lines in my muttrc mailboxes ~/.MuttMail/inbox set spoolfile=~/.MuttMail/inbox folder-hook . 'push :default' folder-hook inbox 'push :inbox' This is the

Re: relation between folder-hook and push

2010-03-18 Thread Peng Shao
On 08:47 Thu 18 Mar , Gary Johnson wrote: It's the way it's supposed to work, but it is confusing. Folder hooks are processed as the manual says. However, the push command pushes its arguments onto a stack and mutt's input parser later pops those arguments off the stack to parse and

Re: relation between folder-hook and push

2010-03-18 Thread rogerx
On 2010-03-18, peng shao shallp...@gmail.com wrote: It's the way it's supposed to work, but it is confusing. Folder hooks are processed as the manual says. However, the push command pushes its arguments onto a stack and mutt's input parser later pops those arguments off the stack to parse and