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 33BDB6DE01D8 for ; Sun, 28 Oct 2018 00:31:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.34 X-Spam-Level: X-Spam-Status: No, score=-0.34 tagged_above=-999 required=5 tests=[AWL=-0.240, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, 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 L26jGLHHB-E2 for ; Sun, 28 Oct 2018 00:31:28 -0700 (PDT) Received: from smtp.gaspard.ninja (grym.ekleog.org [94.23.42.210]) by arlo.cworth.org (Postfix) with ESMTPS id 395036DE00EF for ; Sun, 28 Oct 2018 00:31:27 -0700 (PDT) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 39d4d8e4; Sun, 28 Oct 2018 07:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=leo.gaspard.io; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s= grym-20170528; bh=osAVuBlJR1BvcQgBzSyvzJgw8rk=; b=F8Pt45zI133cDB n7TRuNdA0a1rRUetuDXY5iuLyGgySID3ToaaF4oseM/i/wpugnA+VIpeyv2PNE/Y VPHynBoOmFD0Af0GOGRqmAmMX3sGA9qHjxTjyVE4iNt86TtWGu7mg6l8BcXvNnjM DbjVYlJZheTcA7SxFXN6p3vRYhMuc= Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 2e3cf6ab; Sun, 28 Oct 2018 07:31:22 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 7ed3e989; Sun, 28 Oct 2018 07:31:20 +0000 (UTC) From: Leo Gaspard To: David Bremner , notmuch@notmuchmail.org Subject: Re: Mail to self In-Reply-To: <87r2gbqhz8.fsf@tethera.net> References: <87y3ajboev.fsf@llwynog.ekleog.org> <87r2gbqhz8.fsf@tethera.net> Date: Sun, 28 Oct 2018 16:31:20 +0900 Message-ID: <87va5ma5o7.fsf@llwynog.ekleog.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Sun, 28 Oct 2018 07:31:30 -0000 > After a discussion on IRC, my understanding is the following. The > underlying behaviour that Leo is objecting to is that if any one file > with a given message-id has the ,S maildir flag, then when notmuch syncs > maildir flags to tags, it will remove the unread tag from that > message-id. After some back and forth and thinking about it, I think > notmuch's current behaviour is actually correct (given the constraint > that tags attach to message-ids). You could argue for different ways of > resolving conflicts for maildir flags in general, but the ",S" or "seen" > flag has fairly natural common sense semantics. I can confirm this is my issue. My thinking is that if any file does not have the ,S maildir flag, then I would prefer the mail to be marked as unread, as a read mail that is spuriously marked as unread is a small inconvenience, while an unread mail that is spuriously marked as read can have huge consequences. Actually, I just noticed while writing this mail that I had setup a sieve filter for duplicate email that put them in a =E2=80=9CDuplicate=E2= =80=9D folder and automatically marks them as =E2=80=9Cread=E2=80=9D, so that at the same= time they wouldn't bother me in the thunderbird interface but I could still check dovecot's duplicate detection didn't have false positives. This behaviour of notmuch thus made me miss 9 emails in the 2 weeks I've been using it, the oldest being 12 days ago, without any warning. Well, now I know about it and can try to change my setup (except I can't really touch this sieve filter as other people rely on it), but=E2=80=A6 If this is a willing choice, I'd be glad were it revisited :)