On Wed, 26 Jan 2011, Austin Clements wrote: > The one other change is that currently, if notmuch is interrupted > after updating a directory mtime but before processing file removals, > a subsequent notmuch new will miss those removals. This could be > brushed under the rug, since notmuch will notice the removal after any > other change in that directory. Or it could be handled correctly by > giving directories a "removal mtime" in addition to their current > "addition mtime" that is only updated after removals are handled.
Yes, that might be a problem if notmuch new is interrupted by something like SIGKILL or power-off. There is protection against interruption by Ctrl-C. -Michal