1 Return-Path: <bremner@unb.ca>
\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 E2311431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 3 Nov 2012 13:53:24 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 b7o8JPcwyy2j for <notmuch@notmuchmail.org>;
\r
16 Sat, 3 Nov 2012 13:53:24 -0700 (PDT)
\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 61FE7431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 3 Nov 2012 13:53:24 -0700 (PDT)
\r
22 Received: from remotemail by tesseract.cs.unb.ca with local (Exim 4.72)
\r
23 (envelope-from <bremner@unb.ca>)
\r
24 id 1TUkiX-0002nJ-26; Sat, 03 Nov 2012 17:53:21 -0300
\r
25 Received: (nullmailer pid 8528 invoked by uid 1000);
\r
26 Sat, 03 Nov 2012 20:53:19 -0000
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: Eirik Byrkjeflot Anonsen <eirik@eirikba.org>, notmuch@notmuchmail.org
\r
29 Subject: Re: Automatic suppression of non-duplicate messages
\r
30 In-Reply-To: <87mwyz3s9d.fsf@star.eba>
\r
31 References: <87mwyz3s9d.fsf@star.eba>
\r
32 User-Agent: Notmuch/0.14+76~g84a0c52 (http://notmuchmail.org) Emacs/24.1.1
\r
33 (x86_64-pc-linux-gnu)
\r
34 Date: Sat, 03 Nov 2012 16:53:19 -0400
\r
35 Message-ID: <87390qxvb4.fsf@maritornes.cs.unb.ca>
\r
37 Content-Type: text/plain
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Sat, 03 Nov 2012 20:53:25 -0000
\r
52 Eirik Byrkjeflot Anonsen <eirik@eirikba.org> writes:
\r
54 > That's not what I see. If I search for a term that only appears in
\r
55 > one of the "copies", none of the copies are included in the search
\r
58 The offending code is at line 1813 of lib/database.cc; the message is
\r
59 only indexed if the message-id is new.
\r
61 It might be sensible to move _notmuch_message_index_file into the other
\r
62 branch of the if, but even if that works fine, something more
\r
63 sophisticated is needed for the call to
\r
64 __notmuch_message_set_header_values; the invariant that each message has
\r
65 a single subject seems reasonable.
\r
67 Offhand I'm not sure of a good method of automatically deciding what is
\r
68 the same message (with e.g. headers and footer text added by a mailing
\r