From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 641B46DE0240 for ; Tue, 30 Oct 2018 10:16:27 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.339 X-Spam-Level: X-Spam-Status: No, score=-0.339 tagged_above=-999 required=5 tests=[AWL=-0.240, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XV6w9MlMqvXA for ; Tue, 30 Oct 2018 10:16:25 -0700 (PDT) Received: from smtp.gaspard.ninja (grym.ekleog.org [94.23.42.210]) by arlo.cworth.org (Postfix) with ESMTPS id 6E0FB6DE0223 for ; Tue, 30 Oct 2018 10:16:25 -0700 (PDT) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 2cd67a4c for ; Tue, 30 Oct 2018 17:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=leo.gaspard.io; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= grym-20170528; bh=gWsXpRb1ebm/LNKT4uBEZsbO92w=; b=SAYE1q+wIvj/8N g1Q9kNxqZV3V3cHxfVk/VrhN3HSO3R/tkJZ0iBbb/lXO0jMoOU+n2GFiJJI1TRXB lYny6863UM9TYc+DY4ljtvrNKYnp+ZLII2u/xRi2iH8IMJtOPo5cBTmt/QWH+Y4z 3D5mXtGyEAN38QJ3ROTTQpDDA9Z4I= Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 61e06b7b; Tue, 30 Oct 2018 17:16:19 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 46d7d02e; Tue, 30 Oct 2018 17:16:17 +0000 (UTC) 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 Message-Id: <20181030171558.4226-1-notmuchmail.org@leo.gaspard.io> X-Mailer: git-send-email 2.18.1 In-Reply-To: <871s87wf9z.fsf@llwynog.ekleog.org> References: <871s87wf9z.fsf@llwynog.ekleog.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2018 17:16:27 -0000 From: Léo Gaspard 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