1 Return-Path: <jrollins@finestructure.net>
\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 3FAD9431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 28 May 2012 10:03:46 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 EQSL14F2s5lR for <notmuch@notmuchmail.org>;
\r
16 Mon, 28 May 2012 10:03:44 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 3A345431FBC
\r
20 for <notmuch@notmuchmail.org>; Mon, 28 May 2012 10:03:44 -0700 (PDT)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 87C182E50D64;
\r
23 Mon, 28 May 2012 10:03:41 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (unknown [76.89.192.57])
\r
26 (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id C0DA22E50C6E;
\r
28 Mon, 28 May 2012 10:03:38 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 6FBB4102; Mon, 28 May 2012 10:03:38 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Peter Wang <novalazy@gmail.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: search summary and exclusions
\r
34 In-Reply-To: <20120529000012.GF2331@hili.localdomain>
\r
35 References: <20120529000012.GF2331@hili.localdomain>
\r
36 User-Agent: Notmuch/0.13+24~g16915cd (http://notmuchmail.org) Emacs/23.4.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Mon, 28 May 2012 10:03:35 -0700
\r
39 Message-ID: <87mx4sp79z.fsf@servo.finestructure.net>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Mon, 28 May 2012 17:03:46 -0000
\r
59 On Mon, May 28 2012, Peter Wang <novalazy@gmail.com> wrote:
\r
60 > Exclusions don't work the way I expected with the search command and
\r
61 > --output=summary. I would like messages with excluded tags to be
\r
62 > treated as if they don't exist at all, but currently:
\r
64 > * excluded messages are counted towards the "total"
\r
65 > * excluded tags are included in the "tags" set
\r
67 > Are these deliberate? Especially the second point seems to conflict
\r
68 > with search --output=tags, which doesn't show excluded tags.
\r
70 Hi, Peter. Can you explain more what you mean? I'm not sure what your
\r
71 two bullets have to do with --output=summary. Messages are counted with
\r
72 the count subcommand, and tags are shown with search --output=tags,
\r
73 neither of which have anything to do with --output=summary, and both of
\r
74 which accept the exclude flag:
\r
76 notmuch count --exclude=true '*'
\r
77 notmuch search --output=tags --exclude=true '*'
\r
79 Maybe you can give a clearer explanation of what your issue is.
\r
85 Content-Type: application/pgp-signature
\r
87 -----BEGIN PGP SIGNATURE-----
\r
88 Version: GnuPG v1.4.12 (GNU/Linux)
\r
90 iQIcBAEBCAAGBQJPw6/oAAoJEO00zqvie6q84aIQAJtDoux9K+6acYm4DAGDsRLw
\r
91 /cmdDg8byK2Wc6nNpKAlD3A0hbql1cjU+VVTOTSYbBuiuLENA0CY9ITBBsCneEOP
\r
92 FEdW/4vcMLeKzFaLYkXKGDdF4Zr3AprCRRqRTQtwzIfONsVkyhG5YEEPoX6aLLH5
\r
93 qpYzaQBO83QlNxCA5xGvT9gsVQPg1Bz2lLfRuKvZGy7jp0hRo3361cVFeCX8cwg9
\r
94 efzufBAjlMDlWhHcz7vqlS/BvKGDkMDmeq5ojFpRwai5i+fdy1wEixUiauLvO4Dc
\r
95 v8YO14Hi3kSOEUy7t6ptjPNiZlhB7PG+Zn5RwnNDvllAsdnQEV4v5q3jaVsZ4F3k
\r
96 qvTmoY2RbOncbzyRoR9WXtoRp6O3HuYJoTyLxVSCLXqLzsttDyw/HiE5tyQfcylE
\r
97 DPFY+9RsmYGIW3gczbNf4rpcy26ur1X2p4pclWaprwUZrgodJqFHH7frhCjecrhr
\r
98 J37u3rGmB2OfZtW49IA+4+Flu006+uYfsjslZmJF/g0mGTG3xxfKF/XSG4KVJ86z
\r
99 C3oCBcEWavQzl2yii55RoWtzqJ0B6meGRnpVfO+XPhGlnx7lSt5RD/zAQoADdRfw
\r
100 BZGPCgzQjtypicN4PbGaehWrZI+HBxzD4lguHjj7ggMlTT+cUOeGUPtu/1/HPGhh
\r
101 IwBnbwRiF96gDvxTBA7s
\r
103 -----END PGP SIGNATURE-----
\r