Re: [PATCH] TODO: date range queries - check
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 8 Dec 2012 21:16:18 +0000 (13:16 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:50 +0000 (09:51 -0800)
04/b1577684dd0e1be829a7b7a77221e99487d0ea [new file with mode: 0644]

diff --git a/04/b1577684dd0e1be829a7b7a77221e99487d0ea b/04/b1577684dd0e1be829a7b7a77221e99487d0ea
new file mode 100644 (file)
index 0000000..b450174
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <jrollins@finestructure.net>\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 94E56431FAF\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 13:16:31 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\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 4xmC413PkIN5 for <notmuch@notmuchmail.org>;\r
+       Sat,  8 Dec 2012 13:16:31 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 31CAF431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 13:16:31 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id AF57C66E00E3;\r
+       Sat,  8 Dec 2012 13:16:28 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com\r
+       [76.166.145.133]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id A0F2266E00B4;\r
+       Sat,  8 Dec 2012 13:16:20 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 4925F6171E; Sat,  8 Dec 2012 13:16:20 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] TODO: date range queries - check\r
+In-Reply-To: <87r4n0smot.fsf@zancas.localnet>\r
+References: <1354833276-6219-1-git-send-email-jani@nikula.org>\r
+       <877gouine4.fsf@servo.finestructure.net>\r
+       <871uf2ukat.fsf@zancas.localnet>\r
+       <877gothkzw.fsf@servo.finestructure.net>\r
+       <87624dzgso.fsf@nikula.org>\r
+       <87boe5fsdn.fsf@servo.finestructure.net>\r
+       <87r4n0smot.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 08 Dec 2012 13:16:18 -0800\r
+Message-ID: <871uf0fdnh.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; 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: Sat, 08 Dec 2012 21:16:31 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+On Sat, Dec 08 2012, David Bremner <david@tethera.net> wrote:\r
+> Patch? Concrete wording suggestion?\r
+\r
+How about:\r
+\r
+It would be nice to not require both endpoints to be specified in date\r
+searches.  For example it would be nice to be able to say things like\r
+"date:2009-01-1", to specify a search over a particular day, or\r
+"since:'1 month' to specify an open-ended range, and have the other\r
+endpoint be implicit.  To do any of this we're probably going to need to\r
+break down an write our own parser for the query string rather than\r
+using Xapian's QueryParser class.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJQw64iAAoJEO00zqvie6q8x0kP/RHUwQb6zXWTWeHL8E5crK/P\r
+0Slw/HrNVq9MrG+5VasTnxeVH5d0k8cjbrL28VlAdZTI++0g2e4+ICTRZi2Ca7rX\r
+1n3lYD/1A5COEU5a++zBpwZXL1sofOGxPEuhUGa4Z7IRx3kiN+4YwUDrwQCkwR4M\r
+VO7zIC3mIJG1LybLv8HoDL8BWH1q+df42TTM+gKMtJdrUxDjxnorKgIQ9cXrPKdL\r
+oE6uDpBgIcFJ+Q/ZglCi3+c9k/6rx9ZnMtTCvTQBZ8hUPoR0OQICeFE/Zsj9E/H+\r
+TGudBOMV4vhoioNHlKZqv3JLx/cOigbs94IuHy1yUaB8xr/ojyC1clESqilVwjMg\r
+LMN8ftZ8R5QjGbEAQGIQIk3p9tTpFqF6G9Gdo+YV7mjs1Ti0Yuu50itVY1LCyOqG\r
+/6RcH9M1pfqf8ZFMBBJQYu5UB9vFB8cq7Ocux4INz66aiuAhvR+6tAvV6kiTGrqq\r
+B/sLMorOUyCELSNS6xbTM7F8PTc1Lj5LKOiz/0QOuaZw83ja8/jqtaARgwl+XY7X\r
+OYb07bSVBbIt72Ee+JnCiELeLLfYGTqELozTRfQBlTa7N6gSbo/BRKxT2GHI0XQ7\r
+jFx0EvgTfYeDdx2ad0Xt5iZlJFpsxLjvrQVVBbM2Jub5ubgX+xGjQzFfdDT6DfXj\r
+puLnTezmpPSG4jU1l7D1\r
+=87Hu\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r