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 372ED6DE023E for ; Thu, 6 Sep 2018 04:23:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[AWL=0.000, RCVD_IN_DNSWL_LOW=-0.7] 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 UNC2sUFfTLvN for ; Thu, 6 Sep 2018 04:23:46 -0700 (PDT) X-Greylist: delayed 1988 seconds by postgrey-1.36 at arlo; Thu, 06 Sep 2018 04:23:46 PDT Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by arlo.cworth.org (Postfix) with ESMTPS id 67AA46DE021C for ; Thu, 6 Sep 2018 04:23:46 -0700 (PDT) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w86AiTuX011277 for ; Thu, 6 Sep 2018 06:50:35 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mb2a51anb-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 06 Sep 2018 06:50:35 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 6 Sep 2018 11:50:33 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 6 Sep 2018 11:50:31 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w86AoUMw45678838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Sep 2018 10:50:30 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B24C1A4051; Thu, 6 Sep 2018 13:50:22 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6AD02A4059; Thu, 6 Sep 2018 13:50:22 +0100 (BST) Received: from localhost (unknown [9.124.35.147]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 6 Sep 2018 13:50:22 +0100 (BST) Date: Thu, 06 Sep 2018 16:20:29 +0530 From: "Naveen N. Rao" Subject: Re: 'notmuch search thread:<>' lists multiple threads To: David Bremner , notmuch@notmuchmail.org References: <1523007700.l8xm6nm6af.naveen@linux.ibm.com> <87sh86v1oc.fsf@tethera.net> <878t9wvbmu.fsf@tethera.net> <1524045467.a0aq8zermb.naveen@linux.ibm.com> <87r2n8m5ky.fsf@tethera.net> <1530181883.fliclpetue.naveen@linux.ibm.com> <87zhzccrwg.fsf@tethera.net> <87d0u0nhiz.fsf@unb.ca> In-Reply-To: <87d0u0nhiz.fsf@unb.ca> User-Agent: astroid/0.13.0 (https://github.com/astroidmail/astroid) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 x-cbid: 18090610-0012-0000-0000-000002A4A783 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18090610-0013-0000-0000-000020D8CEEF Message-Id: <1536230687.efahvzbzyt.naveen@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-06_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=917 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809060111 X-Mailman-Approved-At: Sun, 09 Sep 2018 10:17:08 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Thu, 06 Sep 2018 11:23:47 -0000 David Bremner wrote: > David Bremner writes: >=20 >> "Naveen N. Rao" writes: >> >>> >>> Were you able to look into this again? >>> Using a list of in-reply-to values sounds like a good option, though I=20 >>> clearly have no idea about other consequences from that. If you have a=20 >>> patch, I can help test that. >>> >> >> Sorry I haven't made any progress on this. Thanks for the reminder. >> >> d >=20 > It's not much progress but I did manage to make a test case. >=20 > id:20180730224555.26047-16-david@tethera.net >=20 > As it says in the commit message, its not 100% clear this is your > problem, but it is a bug, and hopefully fixing it will help your issue. Thanks for continuing to look into this! The test is close to what I have -- the only difference in my case is=20 that the Message-ID and References: fields match in the duplicate mail=20 files, but just the In-reply-to headers differ (the gmane one has a=20 meaningless/incorrect, re-written header). Interestingly though, I re-checked the thread I had the original problem=20 with and notmuch seems to be able to cope with it better now. So, some=20 other changes seem to have helped with my original problem. I will keep=20 an eye out to see if any other threads cause problems (I do occasionally=20 see astroid crash, but I haven't seen if it is due to this issue with=20 notmuch or a different problem). [09/06 16:19:19 ~]$ notmuch --version notmuch 0.27 [09/06 16:19:20 ~]$ notmuch search --output=3Dthreads thread:00000000000c= 4d20 thread:00000000000c4d20 [09/06 16:19:22 ~]$ notmuch search --output=3Dthreads thread:00000000000c= 4d1e thread:00000000000c4d1e [09/06 16:19:26 ~]$ notmuch search --output=3Dmessages thread:00000000000= c4d20 id:20180813154910.lzrkd2ivdorge3ro@arbab-laptop.localdomain id:CAKTCnzngahex_sL2raoHFuXqTxgVV7a57R9YmcT1TN-ROsFXnw@mail.gmail.com id:CAOSf1CFy0im+H368Krr2QVteAumq58CRF_Kfatyv7wvj1n4AGw@mail.gmail.com id:20180405071500.22320-4-bsingharora@gmail.com id:20180405071500.22320-3-bsingharora@gmail.com id:20180405071500.22320-2-bsingharora@gmail.com id:20180405071500.22320-1-bsingharora@gmail.com [09/06 16:19:35 ~]$ notmuch search --output=3Dmessages thread:00000000000= c4d1e id:CAKTCnzngahex_sL2raoHFuXqTxgVV7a57R9YmcT1TN-ROsFXnw@mail.gmail.com - Naveen =