On Sat, Jun 06, 2020 at 11:17:19AM +0200, Vincent Lefevre wrote:
I have a problem with this message. I think that until now, one did not have a notion of a connection to a mailbox. So this is a bit confusing. In the source:
Hi Vincent,This is a new feature added in commit 44711a24. Previously, if any error occurred while connected to an IMAP mailbox, Mutt would disconnect and close the mailbox. This caused unsync'ed changes to be lost.
The new feature automatically tries to reconnect, re-download headers, and merge unsynced changes back in.
What's the difference between MUTT_REOPENED and MUTT_RECONNECTED? And what about the MUTT_FLAGS case?
A MUTT_REOPENED occurs if messages were deleted on the server side, or if flag changes (that conflict with local changes) occurred on the server side. Mutt rescans the mailbox to see what has disappeared or changed. The connection to IMAP is not lost.
MUTT_RECONNECTED means the connection to the IMAP server was lost, and Mutt had to reconnect, redownload all headers, and merge state changes back in.
MUTT_FLAGS means that message flags (read, flagged, etc) occurred on the server side, but they didn't conflict with any local changes.
BTW, I did not find anything covering that in the manual.
I'll mention it in the UPDATING file, but there currently aren't any user-facing configuration options. I wasn't sure it merited mentioning in the manual.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature