[PATCH v5 6/7] emacs/mua: Let user specify which parts get a header in citations.
[notmuch-archives.git] / b4 / bf43c9a4abd0bbdeeaadc4ec0b89ca44181b21
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 A6FC5431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Aug 2012 04:24:32 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 6m+lYwtRDyfm for <notmuch@notmuchmail.org>;\r
16         Wed,  1 Aug 2012 04:24:31 -0700 (PDT)\r
17 Received: from mail-gh0-f181.google.com (mail-gh0-f181.google.com\r
18         [209.85.160.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 41A0C431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  1 Aug 2012 04:24:31 -0700 (PDT)\r
22 Received: by ghbz13 with SMTP id z13so8683758ghb.26\r
23         for <notmuch@notmuchmail.org>; Wed, 01 Aug 2012 04:24:30 -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=XofFv/v9L9uT2UJvtpUM9UZfx0x7rC5CTxyOVrQvbv8=;\r
29         b=RFRKpANnNw8PAq1gHUw9/AgYZ0SYCdU4lgQsN0tSj45u5Vgg19fN+4HDi9Ufn2nDum\r
30         IOWkIQAsohQD35NDAbUiPY0iwqr2uTql+/va0PHWj/krMxLhCYFq9nzWTTkhqPJ6JO04\r
31         xwQ8hFO51JCJHSrrA1OebfxQytbvNlFa7SyCv0pP1YThGl24gymZYngWaXH93InF/rqh\r
32         hU/l6ObOhngB392rs1FAfKphhId5Pj7OnWR1k9dfBUFV47uwJNZbtpOponkIum6vY8+C\r
33         LYeyj1aqfcFQg8iFy27cQNcVC4ZBKgzUgOrMNvlRS1dmgGSO4awXGiupKAq+AS7OtHMK\r
34         GcqQ==\r
35 Received: by 10.236.191.69 with SMTP id f45mr17026250yhn.8.1343820270188;\r
36         Wed, 01 Aug 2012 04:24:30 -0700 (PDT)\r
37 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
38         by mx.google.com with ESMTPS id e24sm5077919yhh.4.2012.08.01.04.24.28\r
39         (version=SSLv3 cipher=OTHER); Wed, 01 Aug 2012 04:24:29 -0700 (PDT)\r
40 From: Jani Nikula <jani@nikula.org>\r
41 To: Stefano Zacchiroli <zack@upsilon.cc>, notmuch@notmuchmail.org\r
42 Subject: Re: notmuch-mutt: support for duplicate message removal\r
43 In-Reply-To: <1343808582-9519-1-git-send-email-zack@upsilon.cc>\r
44 References: <1343808582-9519-1-git-send-email-zack@upsilon.cc>\r
45 User-Agent: Notmuch/0.13.2+106~gb810aee (http://notmuchmail.org) Emacs/23.2.1\r
46         (x86_64-pc-linux-gnu)\r
47 Date: Wed, 01 Aug 2012 13:24:24 +0200\r
48 Message-ID: <87pq7aam8n.fsf@nikula.org>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 X-Gm-Message-State:\r
52  ALoCoQly4gMwrJiDfAxK9OXC+rc3d6VUSRzh1eTZkMWMIM14UhtmSfcXOObjI4hMtl9HMqIB/Do/\r
53 Cc: "Kevin J. McCarthy" <kevin@8t8.us>\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Wed, 01 Aug 2012 11:24:32 -0000\r
67 \r
68 On Wed, 01 Aug 2012, Stefano Zacchiroli <zack@upsilon.cc> wrote:\r
69 > Heya,\r
70 >   here is a patchset originating from a feature contributed by Kevin\r
71 > J. McCarthy: duplicate message removal for notmuch-mutt searches.\r
72 >\r
73 > I've reviewed the main patch and gone through various iterations of it\r
74 > with Kevin. I consider it suitable for application in its present\r
75 > form, and I've added a subsequent patch to fix the Debian packaging\r
76 > accordingly.\r
77 >\r
78 > Can someone with commit access be so kind of applying this patchset to\r
79 > the master branch?\r
80 >\r
81 > Also, if you've further comments on the patch, do not hesitate!\r
82 \r
83 I'm guessing you get the duplicates because you have dupes in the mail\r
84 store, and 'notmuch search --output=files' prints all the filenames\r
85 associated with each matching message, rather than any other reason. The\r
86 presented approach will only remove identical files, and will leave\r
87 behind files that are basically the same message, but have differing\r
88 headers, e.g. due to being received through different channels. Is this\r
89 what you want?\r
90 \r
91 Perhaps an option to 'notmuch search --output=files' to print only one\r
92 filename (even if there are many) per message would be interesting. IIRC\r
93 the first filename is used by 'notmuch show' to display the message\r
94 anyway. At a glance, this should be trivial to implement, but would it\r
95 cover your needs?\r
96 \r
97 \r
98 BR,\r
99 Jani.\r