Dear Francesco,

Thanks!

On Thu Jul13'23 02:10:02PM, Francesco Ariis wrote:
> From: Francesco Ariis <fa...@ariis.it>
> Date: Thu, 13 Jul 2023 14:10:02 +0200
> To: mutt-users@mutt.org
> Subject: Re: unset folder-hook
>
> Hello Ranjan,
>
> Il 13 luglio 2023 alle 07:03 Ranjan Maitra ha scritto:
> > But I have noticed that when I go to another (default) folder (not in the 
> > list above), after one of the folders above (mutt, say), I still have the 
> > modified folder-hook settings go to the new folder.
> >
> > How do I automagically revert back to the default setting when I am done 
> > visiting these special folders with folder hooks (such as mutt in the 
> > example above)?
>
> In my .muttrc I have:
>
>     folder-hook sent "set something foobar"
>     folder-hook !sent "set something something_else"
>
> maybe you can use it too in your setup?
> —F


What if I have three sets of folder hooks in addition to the default? Also, can 
I not just revert the !sent (in your case) to the default, without setting 
everything else? I wonder if there is be a way to do the hooks only for a 
specific set of folders and nothing else.

Many thanks again, and best wishes,
Ranjan

Reply via email to