From: Gregor Zattler Date: Mon, 30 Jan 2012 19:04:25 +0000 (+0100) Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one containing match... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6dc5ebe83b4f3d2bc849cc7ddec4476279801712;p=notmuch-archives.git Re: Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages --- diff --git a/2a/8e2a56cbcf676e6513a0ed68f7301aa8a29244 b/2a/8e2a56cbcf676e6513a0ed68f7301aa8a29244 new file mode 100644 index 000000000..bf5235fdf --- /dev/null +++ b/2a/8e2a56cbcf676e6513a0ed68f7301aa8a29244 @@ -0,0 +1,114 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 80F67431E64 + for ; Mon, 30 Jan 2012 11:05:16 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] + 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 psjJFLHr5gf3 for ; + Mon, 30 Jan 2012 11:05:16 -0800 (PST) +Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) + by olra.theworths.org (Postfix) with SMTP id 92895431FBC + for ; Mon, 30 Jan 2012 11:05:15 -0800 (PST) +Received: (qmail invoked by alias); 30 Jan 2012 19:05:14 -0000 +Received: from p54BE2F5E.dip.t-dialin.net (EHLO shi.workgroup) [84.190.47.94] + by mail.gmx.net (mp016) with SMTP; 30 Jan 2012 20:05:14 +0100 +X-Authenticated: #19296480 +X-Provags-ID: V01U2FsdGVkX1+RcDY9UWKRaMDZUbEHIvCrDRE+B9PZsNPe7XGgCp + ZflwJpHAz/g0UD +Received: from grfz by shi.workgroup with local (Exim 4.77) + (envelope-from ) + id 1RrwWz-00060i-SK; Mon, 30 Jan 2012 20:04:46 +0100 +Date: Mon, 30 Jan 2012 20:04:25 +0100 +From: Gregor Zattler +To: notmuch +Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one + containing matching messages +Message-ID: <20120130190425.GB13521@shi.workgroup> +Mail-Followup-To: notmuch +References: <20120126004024.GA13704@shi.workgroup> + <20120126011903.GA1176@mit.edu> + <8762fzry7k.fsf@servo.finestructure.net> + <20120126124450.GB30209@shi.workgroup> <87mx9avbc1.fsf@praet.org> + <20120129234213.GB11460@shi.workgroup> <87zkd5655g.fsf@praet.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87zkd5655g.fsf@praet.org> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Y-GMX-Trusted: 0 +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: Mon, 30 Jan 2012 19:05:16 -0000 + +Hi Pieter, +* Pieter Praet [30. Jan. 2012]: +> On Mon, 30 Jan 2012 00:42:14 +0100, Gregor Zattler wrote: +>> * Pieter Praet [26. Jan. 2012]: +>>> On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler wrote: +>>>> |> [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 +>>> +[...] +>>> Also, the '-F' option expects input on stdin, not a filename. +>> +>> No, this is -F instead of -f and means --fixed-strings. +>> +> And as I said, `-F' requires input on stdin, like this: +> +> `grep -F "$(cat really.mid)" rest.mbox' +> +> Otherwise [1] you're grepping for the pattern 'really.mid' instead of +> for the patterns specified *in* 'really.mid', so naturally, you aren't +> getting any results. + +*blush* you're right and I'm wrong. I re-re-did the greps with +with the same results (no hits at all). + +[...] +>>> Here's another couple of threads squashed into a single one: +>>> - [O] [Use Question] Capture and long lines +>>> - id:"BANLkTikoF4tXuNLLufRzNSD6k2ZYs7sUcg@mail.gmail.com" +>>> - [O] Worg update +>>> - id:"m1wrfiz3ch.fsf@tsdye.com" +>>> - [O] Table formula to convert hex to dec +>>> - id:"20110724080054.GB16388@x201" +>>> - [O] ICS import? +>>> - id:"20120125173421.GQ3747@x201" +>>> +>>> +>>> AFAICT, none of them share Message-Id's... +>> +>> Do you consider this a bug? +>> +> +> I do. No idea what causes it or how to fix it though... :) + +First I thougt it' not a severe bug since one see's more not less +messages in notmuch show buffer. But later I realised one also +sees less not more threads in notmuch search buffer and might not +read certain notmuch threads because of "wrong" $Subject: in +notmuch search buffer. + +Ciao, Gregor +-- + -... --- .-. . -.. ..--.. ...-.-