unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: notmuchmail.org@leo.gaspard.io
To: notmuch@notmuchmail.org
Subject: [PATCH 0/1] notmuch: be conservative and prefer marking too many messages as unread than too few
Date: Wed, 31 Oct 2018 02:15:57 +0900	[thread overview]
Message-ID: <20181030171558.4226-1-notmuchmail.org@leo.gaspard.io> (raw)
In-Reply-To: <871s87wf9z.fsf@llwynog.ekleog.org>

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

  reply	other threads:[~2018-10-30 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-27 11:48 Mail to self Leo Gaspard
2018-10-27 19:58 ` David Bremner
2018-10-28  7:31   ` Leo Gaspard
2018-10-28 12:04     ` Gregor Zattler
2018-10-28 15:14       ` Leo Gaspard
2018-10-30 16:45       ` Leo Gaspard
2018-10-30 16:49       ` Leo Gaspard
2018-10-30 17:15         ` notmuchmail.org [this message]
2018-10-30 17:15           ` [PATCH 1/1] notmuch: be conservative and prefer marking too many messages as unread than too few notmuchmail.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181030171558.4226-1-notmuchmail.org@leo.gaspard.io \
    --to=notmuchmail.org@leo.gaspard.io \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).