From: Léo Gaspard <notmuchmail.org@leo.gaspard.io> Here a patch that does what I want, hopefully this makes what I expected from notmuch to be more explicit. Note: it is not ready for integration yet, as the “Removing info from filename leaves tags unchanged” test should likely not add “unread” back. If I hear something positive about it that makes me think it has a chance of going upstream I will try to adapt it, otherwise I will just continue running my local notmuch instance with it applied. Cheers :) Leo Léo Gaspard (1): notmuch: be conservative and prefer marking too many messages as unread than too few lib/message.cc | 18 +++++++++++++++++- test/T340-maildir-sync.sh | 29 +++++++++++++++++++---------- 2 files changed, 36 insertions(+), 11 deletions(-) -- 2.18.1 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch