unset folder-hook
Ranjan Maitra
mlmaitra at gmx.com
Sun Jul 16 15:53:32 UTC 2023
Hi,
Any more suggestions on this?
Many thanks and best wishes,
Ranjan
On Thu Jul13'23 09:44:30AM, Ranjan Maitra wrote:
> From: Ranjan Maitra <mlmaitra at gmx.com>
> Date: Thu, 13 Jul 2023 09:44:30 -0500
> To: mutt-users at mutt.org
> Subject: Re: unset folder-hook
>
> Dear Francesco,
>
> Thanks!
>
> On Thu Jul13'23 02:10:02PM, Francesco Ariis wrote:
> > From: Francesco Ariis <fa-ml at ariis.it>
> > Date: Thu, 13 Jul 2023 14:10:02 +0200
> > To: mutt-users at 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
>
More information about the Mutt-users
mailing list