On Fri, 2016-11-04 at 20:47 +0200, Jani Nikula wrote: > Do you have some other software modifying your mail store while > you're running notmuch new?
The folder in question has my laptop's exim4 service writing to it when my cron jobs generate email. On Fri, 2016-11-04 at 13:26 -0300, David Bremner wrote: > inotify sounds a bit overcomplicated and perhaps non-portable? There are similar APIs on non-Linux OSes but there is indeed no common API or library to abstract away this sort of feature AFAIK. > It should probably just tolerate disappearing files better, consider > that a warning. That sounds like the correct solution indeed. Probably if the code notices that a file disappeared, it should also rescan the nearby folders to see if the file was moved instead of deleted. > As a workaround, if you can replace background use of notmuch-new > with notmuch-insert (and I understand this doesn't work for > everyone), you will eliminate this kind of race condition. Hmm, I don't think that will work for me. -- bye, pabs https://wiki.debian.org/PaulWise
Description: This is a digitally signed message part
_______________________________________________ notmuch mailing list firstname.lastname@example.org https://notmuchmail.org/mailman/listinfo/notmuch