On Mon, Feb 03, 2014 at 10:40:24AM -0800, Gary Johnson wrote: > On 2014-02-03, glphvgacs wrote: > > On Mon, Feb 03, 2014 at 11:09:42AM -0500, glphvgacs wrote: > > > alright, i saw the unhook, let me think if and how i can use it here. > > > > > > > cann't unhook from within a hook : > > folder-hook . "unhook *" > > > > this has no effect, or not the effect i want it to have: > > unhook * > > Sure you can. At least you can unhook specific hook types and I see > no reason that you couldn't unhook all hooks, although that might > kill the execution of other folder-hooks until they are redefined. > As an example from my muttrc: > > folder-hook . 'unhook message-hook' > > Regards, > Gary >
true, i don't know what i was doing earlier. it works for both folder-hook and (*). however changing folders now happen in slow-motion. i haven't test the effect either.