1 Return-Path: <jani@nikula.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 1D6EC431FBC
\r
6 for <notmuch@notmuchmail.org>; Wed, 1 Aug 2012 12:28:30 -0700 (PDT)
\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 F+3fk-70rifR for <notmuch@notmuchmail.org>;
\r
16 Wed, 1 Aug 2012 12:28:28 -0700 (PDT)
\r
17 Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com
\r
18 [209.85.217.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 449D0431FAE
\r
21 for <notmuch@notmuchmail.org>; Wed, 1 Aug 2012 12:28:28 -0700 (PDT)
\r
22 Received: by lbbgk8 with SMTP id gk8so599201lbb.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 01 Aug 2012 12:28:26 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type:x-gm-message-state;
\r
28 bh=lrruiLSiq7gsQIbyr/tpU/8iXkcf6Qt+c5MfiitwaKA=;
\r
29 b=VNmFs054GgQ+EGMWm1s8+7zAwLxaoroG5cWb2gt6AioGuiad2ocnaC/kTh5LZRucBZ
\r
30 JF+iwRmXXCjphVNjjqoRaGLQlP6xMOucrC/0Efp8zgNQ78LvPs/nSX94zLcqVUBZikpf
\r
31 ICJwX0PwPKWKiyKF9jhxV1qK2UcnRuBNj67nIf+TC132ObO7Yodf+SJiIDSX07BQMwnR
\r
32 lhOXJB8qDAFYD3oQjPSjAfymr9LMyjNsl3lrMs+e/hrH0BBwWtNMqK2+81d5s/XGWFAS
\r
33 XUFnRWoSsFXTCfub/DLvx02fbLtZ2qrMCCH4uCdQF6+xbI/3bmQg2Ouw7Xt5LAzCf1ff
\r
35 Received: by 10.112.11.38 with SMTP id n6mr8296820lbb.82.1343849306601;
\r
36 Wed, 01 Aug 2012 12:28:26 -0700 (PDT)
\r
37 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPS id hg4sm3715193lab.11.2012.08.01.12.28.24
\r
40 (version=SSLv3 cipher=OTHER); Wed, 01 Aug 2012 12:28:25 -0700 (PDT)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: "Kevin J. McCarthy" <kevin@8t8.us>
\r
43 Subject: Re: notmuch-mutt: support for duplicate message removal
\r
44 In-Reply-To: <20120801175426.GA14470@zaogao.lan>
\r
45 References: <1343808582-9519-1-git-send-email-zack@upsilon.cc>
\r
46 <87pq7aam8n.fsf@nikula.org> <20120801175426.GA14470@zaogao.lan>
\r
47 User-Agent: Notmuch/0.13.2+104~gaee3080 (http://notmuchmail.org) Emacs/23.3.1
\r
49 Date: Wed, 01 Aug 2012 22:28:23 +0300
\r
50 Message-ID: <87a9yev2co.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
54 ALoCoQnnOXS5TdkzxPrz6pKF7FwxFXsNTI8znZHY92KG4UddTBDF23coryEPowYml/KWyt7MgwFB
\r
55 Cc: notmuch@notmuchmail.org, Stefano Zacchiroli <zack@upsilon.cc>
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Wed, 01 Aug 2012 19:28:30 -0000
\r
70 On Wed, 01 Aug 2012, "Kevin J. McCarthy" <kevin@8t8.us> wrote:
\r
71 > Jani Nikula wrote:
\r
72 >> I'm guessing you get the duplicates because you have dupes in the mail
\r
73 >> store, and 'notmuch search --output=files' prints all the filenames
\r
74 >> associated with each matching message, rather than any other reason. The
\r
75 >> presented approach will only remove identical files, and will leave
\r
76 >> behind files that are basically the same message, but have differing
\r
77 >> headers, e.g. due to being received through different channels. Is this
\r
80 > This method was something we felt comfortable enabling by default.
\r
82 > Stefano and I discussed adding a (by default off) option to remove
\r
83 > duplicates by message-id, but wanted to get this patch merged first and
\r
84 > then think about it.
\r
86 Sounds reasonable, especially considering [1]. I have no comments on the
\r
87 patches; I'm not a notmuch-mutt (or perl) user.
\r
89 >> Perhaps an option to 'notmuch search --output=files' to print only one
\r
90 >> filename (even if there are many) per message would be interesting.
\r
92 > This would be useful for the second approach. If it's easy to do, that
\r
95 Apart from [1], the hardest part will be bikeshedding about the option
\r
101 [1] id:"87d33av2sg.fsf@nikula.org"
\r