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 58FB3429E59 for ; Sun, 29 Jan 2012 15:42:59 -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 zWIrcwNb9gwl for ; Sun, 29 Jan 2012 15:42:58 -0800 (PST) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by olra.theworths.org (Postfix) with SMTP id 69011431E64 for ; Sun, 29 Jan 2012 15:42:58 -0800 (PST) Received: (qmail invoked by alias); 29 Jan 2012 23:42:57 -0000 Received: from p54BE4D91.dip.t-dialin.net (EHLO shi.workgroup) [84.190.77.145] by mail.gmx.net (mp032) with SMTP; 30 Jan 2012 00:42:57 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX19+bJNiFKx+HOa+3xENs+ZuzD/vNisTe7gYvMlEmp hsIsudanTFQKoV Received: from grfz by shi.workgroup with local (Exim 4.77) (envelope-from ) id 1RreOI-0008Nj-1t; Mon, 30 Jan 2012 00:42:35 +0100 Date: Mon, 30 Jan 2012 00:42:14 +0100 From: Gregor Zattler To: notmuch Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages Message-ID: <20120129234213.GB11460@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mx9avbc1.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: Sun, 29 Jan 2012 23:42:59 -0000 Hi Pieter, notmuch developers * 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 >> > > Did you mean to do case-insensitive grep? ('-i' instead of '-I'). Yes I did mean case-insensitive search and the `-I' is the result of a misguided abbrev... Sorry about this. > Also, the '-F' option expects input on stdin, not a filename. No, this is -F instead of -f and means --fixed-strings. > Try this (with all individual threads split into separate mboxes): > > #+begin_src sh > for i in $(ls *.mbox) ; do > grep -i '^Message-Id:' "${i}" | \ > sed -e 's/^.\{13\}//' -e 's/>$//' \ > > "${i}.mids" > done > for i in $(ls *.mids) ; do > echo "## Grepping for ${i}'s Message-Ids" > grep -i -F "$(cat ${i})" *.mbox > done > #+end_src Thanks I did it "manual". > 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? Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-