unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Jameson Graef Rollins <jrollins@finestructure.net>,
	notmuch@notmuchmail.org
Subject: Re: [PATCH] TODO: date range queries - check
Date: Fri, 07 Dec 2012 09:58:06 +0100	[thread overview]
Message-ID: <87k3su9r35.fsf@nikula.org> (raw)
In-Reply-To: <877gouine4.fsf@servo.finestructure.net>

On Fri, 07 Dec 2012, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Thu, Dec 06 2012, Jani Nikula <jani@nikula.org> 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.
>>  
>> -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.

Well, it does say "for example" and "things like" for since: and until:,
and it's not like the TODO is a strict spec anyway. All of the
functionality is there. You can use "date:2009-01-01.." or
"date:..2009-01-01" and the other endpoint is implicit (since Xapian
1.2.1). Relative specification of time is there. Subjectively, with a
sane syntax too. And it's all documented.

BR,
Jani.

  reply	other threads:[~2012-12-07  8:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 22:34 [PATCH] TODO: date range queries - check Jani Nikula
2012-12-07  2:53 ` Jameson Graef Rollins
2012-12-07  8:58   ` Jani Nikula [this message]
2012-12-07 12:19   ` David Bremner
2012-12-07 16:42     ` Jameson Graef Rollins
2012-12-07 21:35       ` Jani Nikula
2012-12-07 21:45         ` Jameson Graef Rollins
2012-12-08 13:22           ` David Bremner
2012-12-08 21:16             ` Jameson Graef Rollins
2012-12-08 22:32               ` Jani Nikula
2012-12-09  1:53                 ` Tomi Ollila
2012-12-10 12:35                   ` David Bremner
2012-12-07 16:52     ` Daniel Kahn Gillmor
2012-12-07 21:27       ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3su9r35.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=jrollins@finestructure.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).