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