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 334226DE0BF6 for ; Tue, 8 Aug 2017 09:35:17 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 KdLHjb4nLbfP for ; Tue, 8 Aug 2017 09:35:16 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 5C12F6DE00B4 for ; Tue, 8 Aug 2017 09:35:16 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1df7Q2-00047o-Jq; Tue, 08 Aug 2017 12:31:46 -0400 Received: (nullmailer pid 25722 invoked by uid 1000); Tue, 08 Aug 2017 16:35:13 -0000 From: David Bremner To: notmuch@notmuchmail.org, notmuch@freelists.org Subject: unread flag and maildir syncing Date: Tue, 8 Aug 2017 12:35:06 -0400 Message-Id: <20170808163508.25658-1-david@tethera.net> X-Mailer: git-send-email 2.13.2 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 16:35:17 -0000 1/2 is just a fixup for a typo that I made (and Tomi missed ;)) 2/2 is to help decide the desired behaviour without 'unread' in new.tags The current behaviour is that maildir flags win: | unread in new.tags | ,S on file name | unread tag in db | | Y | Y | N | | N | Y | N | | Y | N | Y | | N | N | Y | This means in particular that files in new/ have unread whether or not the user specifies that in new.tags. That might be the right behaviour (it's certainly easier to impliment). I just want to confirm either way before I update notmuch-new (and potentially drop the "unread is not mandatory in new" test) d