On Sun, Oct 17, 2010 at 12:29:25AM -0500, Brian Ryans wrote: > > However, in these cases listed below, the folder-hook works correctly: > > 1)First launch a terminal, then type"mutt" in it to launch mutt. In this > > case, the folder-hook also works for default mailbox. > > > 2)Using keyboard shortcut to launch mutt, then enter any folder. In this > > case, the folder-hook doesn't work for default mailbox. > > Start mutt by each method and type: > > ---- > !pwd && false > ---- I tried it, but in both method, 'pwd' returned '/home/user'
> You should see mutt's current working directory. false is not needed if > you have mutt var $wait_key set (the default). This is just a shot in > the dark (I lack the ability to install urvxt at this time) but maybe a > regular will lead us in the right direction until then. > > With my _current_ setup though (using 1.5.20), exec collapse-all does > not work on the default folder, whereas push <collapse-all> works as > expected. > > Hope this helps! > I found another factor may related to the problem. If I change launch command to 'urxvt -e sh cd ~ && mutt', It's likely to work(4/5), But not always. Maybe I should stop using that keyboard shortcut. It's not so convenient. :) Thanks.