Re: Hi all
[notmuch-archives.git] / 36 / f3d5370bbfdbee47e3b1b068691b9850243f6e
1 Return-Path: <error4me@gmx.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 58FB3429E59\r
6         for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 15:42:59 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id zWIrcwNb9gwl for <notmuch@notmuchmail.org>;\r
17         Sun, 29 Jan 2012 15:42:58 -0800 (PST)\r
18 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])\r
19         by olra.theworths.org (Postfix) with SMTP id 69011431E64\r
20         for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 15:42:58 -0800 (PST)\r
21 Received: (qmail invoked by alias); 29 Jan 2012 23:42:57 -0000\r
22 Received: from p54BE4D91.dip.t-dialin.net (EHLO shi.workgroup) [84.190.77.145]\r
23         by mail.gmx.net (mp032) with SMTP; 30 Jan 2012 00:42:57 +0100\r
24 X-Authenticated: #19296480\r
25 X-Provags-ID: V01U2FsdGVkX19+bJNiFKx+HOa+3xENs+ZuzD/vNisTe7gYvMlEmp\r
26         hsIsudanTFQKoV\r
27 Received: from grfz by shi.workgroup with local (Exim 4.77)\r
28         (envelope-from <error4me@gmx.de>)\r
29         id 1RreOI-0008Nj-1t; Mon, 30 Jan 2012 00:42:35 +0100\r
30 Date: Mon, 30 Jan 2012 00:42:14 +0100\r
31 From: Gregor Zattler <telegraph@gmx.net>\r
32 To: notmuch <notmuch@notmuchmail.org>\r
33 Subject: Re: Bug?: notmuch-search-show-thread shows several threads; only one\r
34         containing matching messages\r
35 Message-ID: <20120129234213.GB11460@shi.workgroup>\r
36 Mail-Followup-To: notmuch <notmuch@notmuchmail.org>\r
37 References: <20120126004024.GA13704@shi.workgroup>\r
38         <20120126011903.GA1176@mit.edu>\r
39         <8762fzry7k.fsf@servo.finestructure.net>\r
40         <20120126124450.GB30209@shi.workgroup> <87mx9avbc1.fsf@praet.org>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 Content-Disposition: inline\r
44 In-Reply-To: <87mx9avbc1.fsf@praet.org>\r
45 User-Agent: Mutt/1.5.21 (2010-09-15)\r
46 X-Y-GMX-Trusted: 0\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sun, 29 Jan 2012 23:42:59 -0000\r
60 \r
61 Hi Pieter, notmuch developers\r
62 * Pieter Praet <pieter@praet.org> [26. Jan. 2012]:\r
63 > On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler <telegraph@gmx.net> wrote:\r
64 >>    |> [2] grep -I "^Message-Id:" /tmp/thread-I-m-interested-in.mbox |sed -e "s/Message-Id: <//I" -e "s/>$//" >really.mid\r
65 >>    |>     grep -I -F really.mid rest.mbox\r
66 >>    |>     --> no match\r
67 >> \r
68\r
69 > Did you mean to do case-insensitive grep? ('-i' instead of '-I').\r
70 \r
71 Yes I did mean case-insensitive search and the `-I' is the result\r
72 of a misguided abbrev... Sorry about this.\r
73 \r
74 > Also, the '-F' option expects input on stdin, not a filename.\r
75 \r
76 No, this is -F instead of -f and means --fixed-strings.\r
77 \r
78 > Try this (with all individual threads split into separate mboxes):\r
79\r
80 >   #+begin_src sh\r
81 >     for i in $(ls *.mbox) ; do\r
82 >         grep -i '^Message-Id:' "${i}" | \\r
83 >             sed -e 's/^.\{13\}//' -e 's/>$//' \\r
84 >             > "${i}.mids"\r
85 >     done\r
86 >     for i in $(ls *.mids) ; do\r
87 >         echo "## Grepping for ${i}'s Message-Ids"\r
88 >         grep -i -F "$(cat ${i})" *.mbox\r
89 >     done\r
90 >   #+end_src\r
91 \r
92 Thanks I did it "manual".\r
93 \r
94 > Here's another couple of threads squashed into a single one:\r
95 > - [O] [Use Question] Capture and long lines\r
96 >   - id:"BANLkTikoF4tXuNLLufRzNSD6k2ZYs7sUcg@mail.gmail.com"\r
97 > - [O] Worg update\r
98 >   - id:"m1wrfiz3ch.fsf@tsdye.com"\r
99 > - [O] Table formula to convert hex to dec\r
100 >   - id:"20110724080054.GB16388@x201"\r
101 > - [O] ICS import?\r
102 >   - id:"20120125173421.GQ3747@x201"\r
103\r
104\r
105 > AFAICT, none of them share Message-Id's...\r
106 \r
107 Do you consider this a bug?\r
108 \r
109 Ciao, Gregor\r
110 -- \r
111  -... --- .-. . -.. ..--.. ...-.-\r