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 8B1574196F2 for ; Fri, 9 Apr 2010 09:29:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 LHnRrPUgqwPe; Fri, 9 Apr 2010 09:29:20 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CA82C431FC1; Fri, 9 Apr 2010 09:29:20 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 79FFB568E07; Fri, 9 Apr 2010 09:29:20 -0700 (PDT) From: Carl Worth To: notmuch@notmuchmail.org Subject: Re: Initial attempt at a "merge window" for notmuch In-Reply-To: <87hbnktx1c.fsf@yoom.home.cworth.org> References: <87hbnktx1c.fsf@yoom.home.cworth.org> Date: Fri, 09 Apr 2010 09:29:20 -0700 Message-ID: <87fx34twrj.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; 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: Fri, 09 Apr 2010 16:29:21 -0000 --=-=-= On Fri, 09 Apr 2010 09:23:27 -0700, Carl Worth wrote: > For my merge window, I also want something that can't be obtained > today. I want to see all threads that contain at least one message > that matches my date range and at least one message that doesn't > have the "merged" or "postponed" tag. ... > I'm not sure how to best provide the ability to express the result > I want here. Of course, it's the same set-theoretic operation I described earlier. I want the set of threads having messages matching: tag:notmuch and intersected with the set of threads having messages matching: tag:notmuch and not ("merged" or "postponed") So I've got uses cases for set-difference and intersection already. Now we just need some search syntax to express that. -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLv1Xg6JDdNq8qSWgRAqeaAJ9Pf2mbCXEHPfEkVyvteOsjsBi7bACdHgfY f//qyzLTtTlT40ULcH9btmE= =OkVy -----END PGP SIGNATURE----- --=-=-=--