Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 3FAD9431FAF for ; Mon, 28 May 2012 10:03:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EQSL14F2s5lR for ; Mon, 28 May 2012 10:03:44 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 3A345431FBC for ; Mon, 28 May 2012 10:03:44 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 87C182E50D64; Mon, 28 May 2012 10:03:41 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (unknown [76.89.192.57]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id C0DA22E50C6E; Mon, 28 May 2012 10:03:38 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 6FBB4102; Mon, 28 May 2012 10:03:38 -0700 (PDT) From: Jameson Graef Rollins To: Peter Wang , notmuch@notmuchmail.org Subject: Re: search summary and exclusions In-Reply-To: <20120529000012.GF2331@hili.localdomain> References: <20120529000012.GF2331@hili.localdomain> User-Agent: Notmuch/0.13+24~g16915cd (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Mon, 28 May 2012 10:03:35 -0700 Message-ID: <87mx4sp79z.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 17:03:46 -0000 --=-=-= On Mon, May 28 2012, Peter Wang wrote: > Exclusions don't work the way I expected with the search command and > --output=summary. I would like messages with excluded tags to be > treated as if they don't exist at all, but currently: > > * excluded messages are counted towards the "total" > * excluded tags are included in the "tags" set > > Are these deliberate? Especially the second point seems to conflict > with search --output=tags, which doesn't show excluded tags. Hi, Peter. Can you explain more what you mean? I'm not sure what your two bullets have to do with --output=summary. Messages are counted with the count subcommand, and tags are shown with search --output=tags, neither of which have anything to do with --output=summary, and both of which accept the exclude flag: notmuch count --exclude=true '*' notmuch search --output=tags --exclude=true '*' Maybe you can give a clearer explanation of what your issue is. Examples help. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPw6/oAAoJEO00zqvie6q84aIQAJtDoux9K+6acYm4DAGDsRLw /cmdDg8byK2Wc6nNpKAlD3A0hbql1cjU+VVTOTSYbBuiuLENA0CY9ITBBsCneEOP FEdW/4vcMLeKzFaLYkXKGDdF4Zr3AprCRRqRTQtwzIfONsVkyhG5YEEPoX6aLLH5 qpYzaQBO83QlNxCA5xGvT9gsVQPg1Bz2lLfRuKvZGy7jp0hRo3361cVFeCX8cwg9 efzufBAjlMDlWhHcz7vqlS/BvKGDkMDmeq5ojFpRwai5i+fdy1wEixUiauLvO4Dc v8YO14Hi3kSOEUy7t6ptjPNiZlhB7PG+Zn5RwnNDvllAsdnQEV4v5q3jaVsZ4F3k qvTmoY2RbOncbzyRoR9WXtoRp6O3HuYJoTyLxVSCLXqLzsttDyw/HiE5tyQfcylE DPFY+9RsmYGIW3gczbNf4rpcy26ur1X2p4pclWaprwUZrgodJqFHH7frhCjecrhr J37u3rGmB2OfZtW49IA+4+Flu006+uYfsjslZmJF/g0mGTG3xxfKF/XSG4KVJ86z C3oCBcEWavQzl2yii55RoWtzqJ0B6meGRnpVfO+XPhGlnx7lSt5RD/zAQoADdRfw BZGPCgzQjtypicN4PbGaehWrZI+HBxzD4lguHjj7ggMlTT+cUOeGUPtu/1/HPGhh IwBnbwRiF96gDvxTBA7s =ZH4o -----END PGP SIGNATURE----- --=-=-=--