Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / a5 / e007f8198764b00296b451618cb123b4f51006
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 0C65F431FBD\r
6         for <notmuch@notmuchmail.org>; Mon, 13 May 2013 11:27:13 -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 RsI5FwdqR6u1 for <notmuch@notmuchmail.org>;\r
16         Mon, 13 May 2013 11:27:07 -0700 (PDT)\r
17 Received: from mail-la0-f50.google.com (mail-la0-f50.google.com\r
18         [209.85.215.50]) (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 549F1431FAE\r
21         for <notmuch@notmuchmail.org>; Mon, 13 May 2013 11:27:07 -0700 (PDT)\r
22 Received: by mail-la0-f50.google.com with SMTP id dz20so2602264lab.37\r
23         for <notmuch@notmuchmail.org>; Mon, 13 May 2013 11:27:04 -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=x-received:from:to:subject:date:message-id:x-mailer\r
27         :x-gm-message-state;\r
28         bh=1/1Tv66P7zq+O5D4q+V6l1miYoOZWKV+nyOR633I/5E=;\r
29         b=INdigKLvXTQFnEvOWRIkOgBlvTE/cKiRy1T+L3KNt24e5m1ABc8hXe3AR0Ea8BXDml\r
30         L5kQhozdu28Kn7RpHdFrs/J1ZONdb+v4u/mAu/TLdmKKB8HqL4HBPlQFPhT/6BkUT1dF\r
31         3CgV5dIfMAMI6fsi4/7XUYijrZRqLGPvKNM/D0jeubHDDxnOqeJzc+O0/RV6GVsjjaJH\r
32         QlYMX3WNkWs18Z6n34hRWoFuc6khNpCWc6wo1RXbzboEJkQOl7DAk18xZaCwganA7X6M\r
33         JZIrGBuUFBlKzhyEFtrCxTi2GW1R+yj6cDU18HPUy5uz5ed0WL6cJn024lxE2rAOsSqx\r
34         UOrQ==\r
35 X-Received: by 10.112.3.99 with SMTP id b3mr7873858lbb.52.1368469624406;\r
36         Mon, 13 May 2013 11:27:04 -0700 (PDT)\r
37 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.\r
38         [88.195.118.211])\r
39         by mx.google.com with ESMTPSA id t4sm5922297lbe.7.2013.05.13.11.27.02\r
40         for <notmuch@notmuchmail.org>\r
41         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
42         Mon, 13 May 2013 11:27:03 -0700 (PDT)\r
43 From: Jani Nikula <jani@nikula.org>\r
44 To: notmuch@notmuchmail.org\r
45 Subject: [PATCH 0/6] cli: better tooling support for duplicate messages\r
46 Date: Mon, 13 May 2013 21:26:55 +0300\r
47 Message-Id: <cover.1368467532.git.jani@nikula.org>\r
48 X-Mailer: git-send-email 1.7.10.4\r
49 X-Gm-Message-State:\r
50  ALoCoQkFtKxySa/9WylXRJggYjGNFsVCPkpA05Nn2KU9hcVMH16v5K5KSf7H7xZGGaelorpmtAMR\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Mon, 13 May 2013 18:27:13 -0000\r
64 \r
65 Patches 1-3 are an answer to a question on IRC:\r
66 \r
67 <ccxCZ> is there a way for notmuch search --output=files to only output\r
68         one file for Message-ID instead of all?\r
69 \r
70 Yes, use --duplicate=0 on the command line. ;)\r
71 \r
72 I suggest this interface (instead of, say, --output=file1 which was also\r
73 contemplated) for two reasons: it allows one to choose also other files\r
74 than the first one, and the same interface could be used later on in\r
75 notmuch show to display the duplicates.\r
76 \r
77 An alternative could be something like --duplicates=(all|first|rest)\r
78 which would lack the possibility to pick a specific duplicate, but would\r
79 allow one to list all the "redundant" files with --duplicates=rest (this\r
80 would correspond to a number of invocations with --duplicate=1,\r
81 --duplicate=2, etc.)\r
82 \r
83 Patches 4-6 add support for querying the file counts in notmuch\r
84 count. Most useful with a single id:<message-id> query I presume.\r
85 \r
86 \r
87 BR,\r
88 Jani.\r
89 \r
90 \r
91 Jani Nikula (6):\r
92   cli: add --duplicate=N option to notmuch search\r
93   test: test notmuch search --duplicate=N\r
94   man: document notmuch search --duplicate=N\r
95   cli: add --output=files option to notmuch count\r
96   test: test notmuch count --output=files\r
97   man: document notmuch count --output=files\r
98 \r
99  man/man1/notmuch-count.1  |   10 ++++++-\r
100  man/man1/notmuch-search.1 |   11 ++++++++\r
101  notmuch-count.c           |   37 ++++++++++++++++++++++++++\r
102  notmuch-search.c          |   18 ++++++++-----\r
103  test/count                |   10 +++++++\r
104  test/search-output        |   65 +++++++++++++++++++++++++++++++++++++++++++++\r
105  6 files changed, 144 insertions(+), 7 deletions(-)\r
106 \r
107 -- \r
108 1.7.10.4\r
109 \r