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 5EC906DE0FBD for ; Thu, 14 Dec 2017 17:23:29 -0800 (PST) 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 4JcO9N3naTLK for ; Thu, 14 Dec 2017 17:23:28 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 5F0FB6DE0C45 for ; Thu, 14 Dec 2017 17:23:28 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1ePeii-0002a1-Rh; Thu, 14 Dec 2017 20:23:24 -0500 Received: (nullmailer pid 3196 invoked by uid 1000); Fri, 15 Dec 2017 01:23:23 -0000 From: David Bremner To: Daniel Kahn Gillmor , notmuch@notmuchmail.org Subject: Re: subjects and duplicated message id's In-Reply-To: <871sjxtfgk.fsf@fifthhorseman.net> References: <87vah94db3.fsf@tethera.net> <871sjxtfgk.fsf@fifthhorseman.net> Date: Thu, 14 Dec 2017 21:23:23 -0400 Message-ID: <87h8ss2390.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: Fri, 15 Dec 2017 01:23:29 -0000 >> - we could also force the value slot to have the lexico first files' >> subject during indexing. This would be a bit fiddly, but localized. >> It would have the surprising effect of having the subject updated >> when new messages arrived. > > This is a bit weird, unless we also force "notmuch show" to always show > the lexicographically-first file as well, no? AFAIU, this is the current behaviour, see the second test in T670-duplicate-mid. > Obviously, i'd prefer the original subject, so that it's searchable. > I'd also like it if "notmuch show" displayed the original subject when > showing the encrypted message. > > However, if someone does "notmuch show --decrypt=false" i'd want it to > display the as-delivered header. > > Does this help push you toward any specific decision? I'm also not sure > what the correct solution is right now. I don't think it really pushes one way or the other. The --decrypt=false case could just look at the file instead of the database (that's what notmuch-show does now.