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 D6B8C6DE10B7 for ; Sat, 19 Aug 2017 16:29:03 -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 gkoR5wB8r_W0 for ; Sat, 19 Aug 2017 16:29:02 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 85DF06DE1016 for ; Sat, 19 Aug 2017 16:29:02 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1djD7N-0004GY-A3; Sat, 19 Aug 2017 19:25:25 -0400 Received: (nullmailer pid 4140 invoked by uid 1000); Sat, 19 Aug 2017 23:28:56 -0000 From: David Bremner To: Sean Whitton , notmuch@notmuchmail.org Subject: Re: Maildir sync of seen flag confusing with multiple copies In-Reply-To: <87zib8yw8w.fsf@iris.silentflame.com> References: <87zib8yw8w.fsf@iris.silentflame.com> Date: Sat, 19 Aug 2017 20:28:56 -0300 Message-ID: <87r2w7rvbb.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain 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: Sat, 19 Aug 2017 23:29:03 -0000 Sean Whitton writes: > Hello, > > If I have multiple copies of a message (e.g. in different subdirectories > of my mail store), notmuch conveniently only shows me one of them. Once > I've read that, though, it seems that only one of the messages in my > Maildir gets marked as read. > > This seems to defeat syncing Maildir flags, because then the message > will keep showing as unread in other clients. > The following (passing) test case is supposed to test exactly that situation: test_begin_subtest "Tag changes modify flags of multiple files" notmuch tag -replied subject:"Duplicated message" (cd $MAIL_DIR/cur/; ls duplicated*) > actual test_expect_equal "$(< actual)" "duplicated-message-another-copy:2,S duplicated-message-copy:2,S duplicated-message:2,S" I wonder what is different about your situation. d