From: Jameson Graef Rollins Date: Fri, 7 Dec 2012 16:42:27 +0000 (+1600) Subject: Re: [PATCH] TODO: date range queries - check X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=75ce926ede9d31ef8d2dd22884c340ba61859553;p=notmuch-archives.git Re: [PATCH] TODO: date range queries - check --- diff --git a/61/45739b40e3514c217f7f5d4367bca47984bbc5 b/61/45739b40e3514c217f7f5d4367bca47984bbc5 new file mode 100644 index 000000000..feec555db --- /dev/null +++ b/61/45739b40e3514c217f7f5d4367bca47984bbc5 @@ -0,0 +1,103 @@ +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 D72D0431FAE + for ; Fri, 7 Dec 2012 08:42:37 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 P8EasVbGsjsp for ; + Fri, 7 Dec 2012 08:42:37 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 45239431FBC + for ; Fri, 7 Dec 2012 08:42:37 -0800 (PST) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id A1B8266E00AF; + Fri, 7 Dec 2012 08:42:32 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com + [76.166.145.133]) (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id 8B35866E00AD; + Fri, 7 Dec 2012 08:42:28 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id 3CE66616EF; Fri, 7 Dec 2012 08:42:28 -0800 (PST) +From: Jameson Graef Rollins +To: David Bremner , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [PATCH] TODO: date range queries - check +In-Reply-To: <871uf2ukat.fsf@zancas.localnet> +References: <1354833276-6219-1-git-send-email-jani@nikula.org> + <877gouine4.fsf@servo.finestructure.net> + <871uf2ukat.fsf@zancas.localnet> +User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Fri, 07 Dec 2012 08:42:27 -0800 +Message-ID: <877gothkzw.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: Fri, 07 Dec 2012 16:42:38 -0000 + +--=-=-= +Content-Type: text/plain + +On Fri, Dec 07 2012, David Bremner wrote: +> Jameson Graef Rollins writes: +>> Has this TODO really been resolved? Do searches like "since:2009-01-1" +>> or "until:2009-01-1" really now work? As far as I can tell they don't. +>> Nor are they documented if they do. +> +> For specifying one-ended ranges, I find the current syntax OK-ish. It +> would be reasonable to formulate a seperate TODO for supporting +> things like date:2012-12-07 + +Yeah, I think this is reasonable. I still think it would be nice to +have the requested functionality. I'm probably having a visceral +reaction to the fact that I initially thought the new parser *did* +support these kinds of searches, and was really confused when I got +errors. Austin's custom query parser from way back did support this, so +it is possible. It doesn't hurt anything to continue to list it as a +desired feature. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQwhx0AAoJEO00zqvie6q8AKgP/i3cdeWhRzzk/86d3b/uWtCR +rW4w5dFjVZyjUnThQntrlGn9OLAcfcZzvkZ9Bj3Ecaui1IjGB1FdBqRNW7L4FysR +0By7/Y0KFUIO3ac+mWEO9PHAvcZ0wyCF8hn8aiJzSEdrvTaxOVeb5msnV+Ru4/d7 +JoefKEn8ij96A5UIj2JR8RupsXk3n7+QnfQiSmR4wkF4E2HdoZ0Bh5XVepCmOkgQ +cyeQmmcu6AG7ILo5dN+MxHNtS9OIKCUxRI9Koxrh8kUWWv9dhlLpqvykySohkHge +kOKuQeRwBs5S1f32wjQUfiDwpAGncS8/w6gXzwE9lRFaZAx18rH2FHe2J5SDkH8R +CI66yaj0aqij5ntm5OlzIvBhspIo/qKlQM7c6iB281fJuECDstP+cbJJ8lUv6Gu9 +Im6Gq7QZnRJhSuu3I18sBdTeb1dc+6+rUgQJ7bmXcFN3soSEVIYfFGMaWGCLrneN +dbthgtcMBJEv/UX7XgKPNvWT60Ry8xjqxUAqLT/FK5/U31p40EnwsfDLYgdPC88S +iz17cFMokDKgRsaSjVRclT+H8OUY2mJlimm6ILxAdWzyCHt/yT18Sr7I1EUxeJtY +1zjbwqi3RnXREcXBtvChxqndNUULLOL30u1hg7bRvBSldmER4zQzAJsbz1/sx3wK +WLLTb6/GPbcZOZUsgRet +=Y6vv +-----END PGP SIGNATURE----- +--=-=-=--