unset folder-hook

Francesco Ariis fa-ml at ariis.it
Thu Jul 13 12:10:02 UTC 2023


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



More information about the Mutt-users mailing list