From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8C4BC431FAF for ; Thu, 26 Jan 2012 05:16:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.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=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J3HEG4D9F+BR for ; Thu, 26 Jan 2012 05:16:57 -0800 (PST) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id EAB85431FAE for ; Thu, 26 Jan 2012 05:16:56 -0800 (PST) Received: by qcpx40 with SMTP id x40so327225qcp.26 for ; Thu, 26 Jan 2012 05:16:56 -0800 (PST) Received: by 10.229.106.151 with SMTP id x23mr667982qco.111.1327583816331; Thu, 26 Jan 2012 05:16:56 -0800 (PST) Received: from localhost (nikula.org. [92.243.24.172]) by mx.google.com with ESMTPS id s18sm8475663qaz.15.2012.01.26.05.16.54 (version=SSLv3 cipher=OTHER); Thu, 26 Jan 2012 05:16:55 -0800 (PST) From: Jani Nikula To: Gregor Zattler , notmuch Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages In-Reply-To: <20120126124450.GB30209@shi.workgroup> References: <20120126004024.GA13704@shi.workgroup> <20120126011903.GA1176@mit.edu> <8762fzry7k.fsf@servo.finestructure.net> <20120126124450.GB30209@shi.workgroup> User-Agent: Notmuch/0.10.2+187~g43d4f26 (http://notmuchmail.org) Emacs/23.1.1 (i686-pc-linux-gnu) Date: Thu, 26 Jan 2012 13:16:53 +0000 Message-ID: <87mx9aioxm.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 26 Jan 2012 13:16:57 -0000 On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler wrote: > Hi Jamie, Austin, > * Jameson Graef Rollins [25. Jan. 2012]: > > On Wed, 25 Jan 2012 20:19:03 -0500, Austin Clements wrote: > >> One very common cause of this is someone using "reply" to get an > >> initial set of recipients, but then replacing the entire message and > >> subject (presumably without realizing that the mail is still tracking > >> what it was a reply to). This can also happen if someone > >> intentionally replies to multiple messages (though few mail clients > >> support this), or if there was a message ID collision. > > > > This is a very common occurrence for me as well. I would put money down > > that this is what you're seeing. > > I thought about this too and this is why I checked for any > occurrence of Message-IDs in the other emails: > > |> I isolated the thread I was interested in, > |> extracted the message ids of its messages and greped the rest of > |> the messages for this message ids: no matches.[2] Therefore no of > |> the rests messages are part of the thread I was interested in > > perhaps there was a logic error in how I did this: > > |> [2] grep -I "^Message-Id:" /tmp/thread-I-m-interested-in.mbox |sed -e "s/Message-Id: $//" >really.mid > |> grep -I -F really.mid rest.mbox > |> --> no match > > /tmp/thread-I-m-interested-in.mbox is a mbox with messages > I'minterested in, the "real" ones. really.mid is a list of > Message-IDs of these "real" emails. rest.mbox is a mbox with the > other emails, Emacs showed in his notmuch show buffer but are > other threads. > > Since there is no match I concluded, the threads are not linked. > Perhaps I made a mistake. I'l retest it and report again. But > right now I don't have the time to do this. Do you have an mbox file in the maildir indexed by notmuch? That seems like the issue. Jani.