Mutt losing folders with new mails with additional session

Kevin J. McCarthy kevin at 8t8.us
Tue Jul 7 16:44:53 UTC 2020


On Mon, Jul 06, 2020 at 08:39:49PM -0700, Kevin J. McCarthy wrote:
>Also, I wonder if you would mind trying a vanilla mutt 1.14.5 release.
>
>A quick test on my side wasn't able to duplicate this, so it would be 
>nice to make sure it isn't a Gentoo patch causing the problem.

After taking a closer look, I do have one theory about this, but it 
would be hard to trigger reliably.

Do you have $mail_check_stats set?

The sidebar code (merged back in 1.7.0) introduced a race condition for 
$mail_check_stats, because it resets the atime after scanning the mbox 
for message counts.  That works fine with just one Mutt running, but not 
so well if there are more than one.

I think the only way around it is to lock the mailbox, but I'll ponder 
it a bit more.  It would be nice to know if that's your problem though.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20200707/3fa52d43/attachment.asc>


More information about the Mutt-users mailing list