[PATCH v6 0/9] notmuch search date:since..until query support

Michal Sojka sojkam1 at fel.cvut.cz
Fri Nov 2 10:40:26 PDT 2012


Hi all,

On Wed, Oct 31 2012, David Bremner wrote:
> Jani Nikula <jani at nikula.org> writes:
>
>> Hi all, v6 of [1] with plenty of small changes addressing Austin's
>> review [2], [3], [4], and [5]. See my replies to Austin for what I've
>> agreed to change, and what I've chosen to ignore and why.
>>
>
> Pushed, (with patch 7 out of sequence, sorry about that).

Just pulled current HEAD and tried

$ notmuch search tag:notmuch and date:"this week"                                                                                                                                                                                                                                                              
thread:0000000000029c60   October 22 [1/21] Austin Clements| Jani Nikula, Tomi Ollila; [PATCH v5 2/9] parse-time-string: add a date/time parser to notmuch (inbox list notmuch unread)
thread:000000000002156c   2012-02-25 [1/8] Jani Nikula| Tomi Ollila, Mark Walters; [RFC PATCH 0/2] natural language date range search (inbox list notmuch notmuch::patch notmuch::wip unread watch)
thread:0000000000005191   2011-08-15 [2/8] Jani Nikula, Michal Sojka| Jason Woofenden, Tomi Ollila; [RFC PATCH 3/3] lib: add gnulib get_date() based date range search (list notmuch notmuch::patch notmuch::wip replied sent to-me watch)

Can somebody explain me the result? This is definitely not the mail from
this week.

Also the results below look strange to me.

notmuch search tag:notmuch and date:'"this week"'                                                                                                                                                                                                                                                            
thread:000000000002a102   Tue. 21:32 [2/13] Jani Nikula| Austin Clements, Tomi Ollila, David Bremner; [PATCH v6 4/9] test: add smoke tests for the date/time parser module (inbox list notmuch unread)
thread:000000000002156c   2012-02-25 [3/8] Jani Nikula, Tomi Ollila| Mark Walters; [RFC PATCH 0/2] natural language date range search (inbox list notmuch notmuch::patch notmuch::wip unread watch)
thread:0000000000005191   2011-08-15 [2/8] Jani Nikula, Michal Sojka| Jason Woofenden, Tomi Ollila; [RFC PATCH 3/3] lib: add gnulib get_date() based date range search (list notmuch notmuch::patch notmuch::wip replied sent to-me watch)
thread:0000000000012725   2011-01-28 [1/5] Carl Worth| Thomas Schwinge, Michal Sojka; [PATCH] Clarify usage of `additional_headers' in test/test-lib.sh:generate_message. (list notmuch unread)
thread:0000000000012ef1   2010-04-09 [1/7] Carl Worth| Anthony Towns, Mark Anderson, Sebastian Spaeth, Michal Sojka, Sandra Snan; Initial attempt at a "merge window" for notmuch (list notmuch unread)
thread:000000000000e973   2010-01-27 [2/12] Keith Packard, Sebastian Spaeth; [notmuch] [PATCH] Make the date parser nicer (list notmuch unread)

The following is also not very nice. I'm not sure whether notmuch can do
anything prevent this error. Double-quoting (like above) helps here.

$ notmuch search tag:notmuch and date:"this week.."                                                                                                                                                                                                                                                            
A Xapian exception occurred performing query: Unknown range operation
Query string was: tag:notmuch and date:this week..

I'm sorry to not have more time for debugging these problems.

Cheers,
-Michal


More information about the notmuch mailing list