From 0e4d5cf17064a79e48ff76a893ef2f946325cf04 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Fri, 7 Dec 2012 18:53:07 +1600 Subject: [PATCH] Re: [PATCH] TODO: date range queries - check --- eb/f85150191363d0d330a8c293d43be9e89c05fd | 110 ++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 eb/f85150191363d0d330a8c293d43be9e89c05fd diff --git a/eb/f85150191363d0d330a8c293d43be9e89c05fd b/eb/f85150191363d0d330a8c293d43be9e89c05fd new file mode 100644 index 000000000..a83dfe033 --- /dev/null +++ b/eb/f85150191363d0d330a8c293d43be9e89c05fd @@ -0,0 +1,110 @@ +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 99C53431FB6 + for ; Thu, 6 Dec 2012 18:53:19 -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 zVgK3Vxk6nxu for ; + Thu, 6 Dec 2012 18:53:15 -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 979F7431FAE + for ; Thu, 6 Dec 2012 18:53:15 -0800 (PST) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 263F02E50470; + Thu, 6 Dec 2012 18:53:13 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (m70.ligo.caltech.edu [131.215.115.170]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id CC8DF2E50484; + Thu, 6 Dec 2012 18:53:09 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id A5C82616EF; Thu, 6 Dec 2012 18:53:09 -0800 (PST) +From: Jameson Graef Rollins +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] TODO: date range queries - check +In-Reply-To: <1354833276-6219-1-git-send-email-jani@nikula.org> +References: <1354833276-6219-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Thu, 06 Dec 2012 18:53:07 -0800 +Message-ID: <877gouine4.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 02:53:19 -0000 + +--=-=-= +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + +On Thu, Dec 06 2012, Jani Nikula wrote: +> --- +> devel/TODO | 9 --------- +> 1 file changed, 9 deletions(-) +> +> diff --git a/devel/TODO b/devel/TODO +> index eb757af..277a997 100644 +> --- a/devel/TODO +> +++ b/devel/TODO +> @@ -163,15 +163,6 @@ vs. tag-when-all-files-flagged (* above)). +> Add an interface to accept a "key" and a byte stream, rather than a +> filename. +>=20=20 +> -Provide a sane syntax for date ranges. First, we don't want to require +> -both endpoints to be specified. For example it would be nice to be +> -able to say things like "since:2009-01-1" or "until:2009-01-1" and +> -have the other endpoint be implicit. Second we'd like to support +> -relative specifications of time such as "since:'2 months ago'". To do +> -any of this we're probably going to need to break down an write our +> -own parser for the query string rather than using Xapian's QueryParser +> -class. +> - + +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. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQwVoTAAoJEO00zqvie6q8hGUP/0ZCxhEooAflI3XPWF++6o1A +vfFifKe+YqCrplgzZpvvq0wB+0bEEYMobiiZYw1wh3b+ADiF6xdfo34/IXCnN8fY +IwpPRpkITxwMUySbMOOfOPJ1hdnJyYQmZ7AVAJ1XvK4zBezDqai5DLuZc4yGuO55 +w0/dJ1DYEwiwdxmJi6wPsHjy6AMSjpFGJkRA8NUDJK5P77HWtYM5miCtWMO0kkVC +JYz7YfWDO6sNA4s65JbjGRC5xDq8jARmuiigMNdJryGnQaCmqDyP1eBc58bAfLWC +6Pogdliv5EN8q3xrZLqKSiECZ75+EmsMS6peTNQEYbKs8nsCgKLLUCaSpx6c9yko +p2qW5W92l69bliQG5oQcEIdnxbpeL3xAHocDRtpUWwe9ONuan1iRQHGALL42SB8f +ulwxVqwiXgeNpBGLa2dmDJ5Q2L0Pr9q9pGiqKBSPEXlaT2/NKlGYPBQ9bgDt2V1V +1LjSYxwWTTfDzNKFsDdXBqLm/obnZBsRr0SmEbwe74PM8dt0cRiKLoLRBOFf7l0b +5I6te36dYn0LyEwQAF7TpwpWfccNJGLT4EBg1fNRSqnuAdrZV0j4FdDFbnmQF/q3 ++tHC8Fzpy1isqzsrClCLrdP8X3KZ0tWUwRTjzni9W6HT78feM0BASFDyJwzPCkRc +ppaIc+PsNTM8u5HCLHAU +=u7+R +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2