On Fri, 14 Aug 2015 18:47 +0200, David Bremner wrote: > + ``--lastmod`` > + Append lastmod (counter for number of database updates) and UUID > + to the output. lastmod values are only comparable between databases > + with the same UUID. Sorry to keep harping on this, but I'm not entirely happy with the way we handle notmuch-compact here (and in the other commit that mentions compacting explicitly). Given that lastmod values (and pretty much everything else) aren't affected by compacting, would it perhaps make sense to copy the previous UUID to the newly compacted database? Given that a compacted database is "indistinguishable" from the previous non-compacted database, we may want to signal that it's still the "same database". Is there a case where compacting actually makes a difference to anything making use of lastmod values? Best regards, Daniel