1 Return-Path: <pieter@praet.org>
\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 A112D431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:34:14 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id df-OsUhL7XNt for <notmuch@notmuchmail.org>;
\r
16 Thu, 26 Jan 2012 05:34:12 -0800 (PST)
\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
18 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id BF8C7431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:34:11 -0800 (PST)
\r
22 Received: by wibhi8 with SMTP id hi8so425687wib.26
\r
23 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:34:10 -0800 (PST)
\r
24 Received: by 10.180.104.4 with SMTP id ga4mr4196549wib.17.1327584850539;
\r
25 Thu, 26 Jan 2012 05:34:10 -0800 (PST)
\r
26 Received: from localhost ([109.131.116.159])
\r
27 by mx.google.com with ESMTPS id m8sm12590599wia.11.2012.01.26.05.34.09
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Thu, 26 Jan 2012 05:34:10 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>
\r
32 Subject: Re: Bug?: notmuch-search-show-thread shows several threads;
\r
33 only one containing matching messages
\r
34 In-Reply-To: <20120126124450.GB30209@shi.workgroup>
\r
35 References: <20120126004024.GA13704@shi.workgroup>
\r
36 <20120126011903.GA1176@mit.edu>
\r
37 <8762fzry7k.fsf@servo.finestructure.net>
\r
38 <20120126124450.GB30209@shi.workgroup>
\r
39 User-Agent: Notmuch/0.11+132~ga81001f (http://notmuchmail.org) Emacs/23.3.1
\r
40 (x86_64-unknown-linux-gnu)
\r
41 Date: Thu, 26 Jan 2012 14:32:14 +0100
\r
42 Message-ID: <87mx9avbc1.fsf@praet.org>
\r
44 Content-Type: text/plain; charset=us-ascii
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Thu, 26 Jan 2012 13:34:14 -0000
\r
59 On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler <telegraph@gmx.net> wrote:
\r
61 > * Jameson Graef Rollins <jrollins@finestructure.net> [25. Jan. 2012]:
\r
62 > > On Wed, 25 Jan 2012 20:19:03 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
\r
63 > >> One very common cause of this is someone using "reply" to get an
\r
64 > >> initial set of recipients, but then replacing the entire message and
\r
65 > >> subject (presumably without realizing that the mail is still tracking
\r
66 > >> what it was a reply to). This can also happen if someone
\r
67 > >> intentionally replies to multiple messages (though few mail clients
\r
68 > >> support this), or if there was a message ID collision.
\r
70 > > This is a very common occurrence for me as well. I would put money down
\r
71 > > that this is what you're seeing.
\r
73 > I thought about this too and this is why I checked for any
\r
74 > occurrence of Message-IDs in the other emails:
\r
76 > |> I isolated the thread I was interested in,
\r
77 > |> extracted the message ids of its messages and greped the rest of
\r
78 > |> the messages for this message ids: no matches.[2] Therefore no of
\r
79 > |> the rests messages are part of the thread I was interested in
\r
81 > perhaps there was a logic error in how I did this:
\r
83 > |> [2] grep -I "^Message-Id:" /tmp/thread-I-m-interested-in.mbox |sed -e "s/Message-Id: <//I" -e "s/>$//" >really.mid
\r
84 > |> grep -I -F really.mid rest.mbox
\r
88 Did you mean to do case-insensitive grep? ('-i' instead of '-I').
\r
90 Also, the '-F' option expects input on stdin, not a filename.
\r
93 Try this (with all individual threads split into separate mboxes):
\r
96 for i in $(ls *.mbox) ; do
\r
97 grep -i '^Message-Id:' "${i}" | \
\r
98 sed -e 's/^.\{13\}//' -e 's/>$//' \
\r
101 for i in $(ls *.mids) ; do
\r
102 echo "## Grepping for ${i}'s Message-Ids"
\r
103 grep -i -F "$(cat ${i})" *.mbox
\r
108 Here's another couple of threads squashed into a single one:
\r
109 - [O] [Use Question] Capture and long lines
\r
110 - id:"BANLkTikoF4tXuNLLufRzNSD6k2ZYs7sUcg@mail.gmail.com"
\r
112 - id:"m1wrfiz3ch.fsf@tsdye.com"
\r
113 - [O] Table formula to convert hex to dec
\r
114 - id:"20110724080054.GB16388@x201"
\r
116 - id:"20120125173421.GQ3747@x201"
\r
119 AFAICT, none of them share Message-Id's...
\r
122 > /tmp/thread-I-m-interested-in.mbox is a mbox with messages
\r
123 > I'minterested in, the "real" ones. really.mid is a list of
\r
124 > Message-IDs of these "real" emails. rest.mbox is a mbox with the
\r
125 > other emails, Emacs showed in his notmuch show buffer but are
\r
128 > Since there is no match I concluded, the threads are not linked.
\r
129 > Perhaps I made a mistake. I'l retest it and report again. But
\r
130 > right now I don't have the time to do this.
\r
134 > -... --- .-. . -.. ..--.. ...-.-
\r
135 > _______________________________________________
\r
136 > notmuch mailing list
\r
137 > notmuch@notmuchmail.org
\r
138 > http://notmuchmail.org/mailman/listinfo/notmuch
\r