Re: Bug?: notmuch-search-show-thread shows several threads; only one containing match...
authorGregor Zattler <telegraph@gmx.net>
Sun, 29 Jan 2012 23:42:14 +0000 (00:42 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:43:32 +0000 (09:43 -0800)
36/f3d5370bbfdbee47e3b1b068691b9850243f6e [new file with mode: 0644]

diff --git a/36/f3d5370bbfdbee47e3b1b068691b9850243f6e b/36/f3d5370bbfdbee47e3b1b068691b9850243f6e
new file mode 100644 (file)
index 0000000..53e9403
--- /dev/null
@@ -0,0 +1,111 @@
+Return-Path: <error4me@gmx.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 58FB3429E59\r
+       for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 15:42:59 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id zWIrcwNb9gwl for <notmuch@notmuchmail.org>;\r
+       Sun, 29 Jan 2012 15:42:58 -0800 (PST)\r
+Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])\r
+       by olra.theworths.org (Postfix) with SMTP id 69011431E64\r
+       for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 15:42:58 -0800 (PST)\r
+Received: (qmail invoked by alias); 29 Jan 2012 23:42:57 -0000\r
+Received: from p54BE4D91.dip.t-dialin.net (EHLO shi.workgroup) [84.190.77.145]\r
+       by mail.gmx.net (mp032) with SMTP; 30 Jan 2012 00:42:57 +0100\r
+X-Authenticated: #19296480\r
+X-Provags-ID: V01U2FsdGVkX19+bJNiFKx+HOa+3xENs+ZuzD/vNisTe7gYvMlEmp\r
+       hsIsudanTFQKoV\r
+Received: from grfz by shi.workgroup with local (Exim 4.77)\r
+       (envelope-from <error4me@gmx.de>)\r
+       id 1RreOI-0008Nj-1t; Mon, 30 Jan 2012 00:42:35 +0100\r
+Date: Mon, 30 Jan 2012 00:42:14 +0100\r
+From: Gregor Zattler <telegraph@gmx.net>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one\r
+       containing matching messages\r
+Message-ID: <20120129234213.GB11460@shi.workgroup>\r
+Mail-Followup-To: notmuch <notmuch@notmuchmail.org>\r
+References: <20120126004024.GA13704@shi.workgroup>\r
+       <20120126011903.GA1176@mit.edu>\r
+       <8762fzry7k.fsf@servo.finestructure.net>\r
+       <20120126124450.GB30209@shi.workgroup> <87mx9avbc1.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87mx9avbc1.fsf@praet.org>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Y-GMX-Trusted: 0\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 29 Jan 2012 23:42:59 -0000\r
+\r
+Hi Pieter, notmuch developers\r
+* Pieter Praet <pieter@praet.org> [26. Jan. 2012]:\r
+> On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler <telegraph@gmx.net> wrote:\r
+>>    |> [2] grep -I "^Message-Id:" /tmp/thread-I-m-interested-in.mbox |sed -e "s/Message-Id: <//I" -e "s/>$//" >really.mid\r
+>>    |>     grep -I -F really.mid rest.mbox\r
+>>    |>     --> no match\r
+>> \r
+> \r
+> Did you mean to do case-insensitive grep? ('-i' instead of '-I').\r
+\r
+Yes I did mean case-insensitive search and the `-I' is the result\r
+of a misguided abbrev... Sorry about this.\r
+\r
+> Also, the '-F' option expects input on stdin, not a filename.\r
+\r
+No, this is -F instead of -f and means --fixed-strings.\r
+\r
+> Try this (with all individual threads split into separate mboxes):\r
+> \r
+>   #+begin_src sh\r
+>     for i in $(ls *.mbox) ; do\r
+>         grep -i '^Message-Id:' "${i}" | \\r
+>             sed -e 's/^.\{13\}//' -e 's/>$//' \\r
+>             > "${i}.mids"\r
+>     done\r
+>     for i in $(ls *.mids) ; do\r
+>         echo "## Grepping for ${i}'s Message-Ids"\r
+>         grep -i -F "$(cat ${i})" *.mbox\r
+>     done\r
+>   #+end_src\r
+\r
+Thanks I did it "manual".\r
+\r
+> Here's another couple of threads squashed into a single one:\r
+> - [O] [Use Question] Capture and long lines\r
+>   - id:"BANLkTikoF4tXuNLLufRzNSD6k2ZYs7sUcg@mail.gmail.com"\r
+> - [O] Worg update\r
+>   - id:"m1wrfiz3ch.fsf@tsdye.com"\r
+> - [O] Table formula to convert hex to dec\r
+>   - id:"20110724080054.GB16388@x201"\r
+> - [O] ICS import?\r
+>   - id:"20120125173421.GQ3747@x201"\r
+> \r
+> \r
+> AFAICT, none of them share Message-Id's...\r
+\r
+Do you consider this a bug?\r
+\r
+Ciao, Gregor\r
+-- \r
+ -... --- .-. . -.. ..--.. ...-.-\r