Re: [PATCH] lib: add support for date:<expr>..! to mean date:<expr>..<expr>

Subject: Re: [PATCH] lib: add support for date:<expr>..! to mean date:<expr>..<expr>

Date: Fri, 25 Sep 2015 22:03:29 -0300

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jani Nikula <jani@nikula.org> writes:

> It doesn't seem likely we can support simple date:<expr> expanding to
> date:<expr>..<expr> any time soon. (This can be done with a future
> version of Xapian, or with a custom query query parser.) In the mean
> time, provide shorthand date:<expr>..! to mean the same. This is
> useful, as the expansion takes place before interpetation, and we can
> use, for example, date:yesterday..! to match from beginning of
> yesterday to end of yesterday.

pushed. At some point we probably want a NEWS item.

d

Thread: