You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have a local Maildir that is synced using mbsync. If I only sync after a timeout, then the timeout-hook is fine. On the other hand, suppose that I use imapnotify to sync emails on demand (when they are received) on INBOX only. I would like to set timeout to as low as possible, so that the e-mail is received almost instantly. However, it is also good to perform a full sync (all folders) from time to time because of the possible modifications I am doing to my Maildir directory inside NeoMutt. In this case, it will be very nice to have a hook that is run periodically separated from timeout.
What needs to change in NeoMutt?
I think we just need a periodic-hook to add as many periodic hooks as we want. The syntax can be:
periodic-hook <NAME> <timeout> <command>
Have you tried any alternative methods?
Currently, I am firing a script using startup-hook that is doing this periodic task.
The text was updated successfully, but these errors were encountered:
What would you like to be able to do?
Let's say I have a local Maildir that is synced using
mbsync
. If I only sync after a timeout, then thetimeout-hook
is fine. On the other hand, suppose that I useimapnotify
to sync emails on demand (when they are received) on INBOX only. I would like to settimeout
to as low as possible, so that the e-mail is received almost instantly. However, it is also good to perform a full sync (all folders) from time to time because of the possible modifications I am doing to my Maildir directory inside NeoMutt. In this case, it will be very nice to have a hook that is run periodically separated fromtimeout
.What needs to change in NeoMutt?
I think we just need a
periodic-hook
to add as many periodic hooks as we want. The syntax can be:Have you tried any alternative methods?
Currently, I am firing a script using
startup-hook
that is doing this periodic task.The text was updated successfully, but these errors were encountered: