--- /dev/null
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 13C87431FAF\r
+ for <notmuch@notmuchmail.org>; Fri, 2 Nov 2012 10:40:37 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id HMkiH4MvoviS for <notmuch@notmuchmail.org>;\r
+ Fri, 2 Nov 2012 10:40:36 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+ by olra.theworths.org (Postfix) with ESMTP id B4106431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 2 Nov 2012 10:40:35 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id 17C2B19F35DC;\r
+ Fri, 2 Nov 2012 18:40:34 +0100 (CET)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+ by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+ port 10044)\r
+ with ESMTP id wGNDK6AEeFgi; Fri, 2 Nov 2012 18:40:32 +0100 (CET)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id E084419F2F4D;\r
+ Fri, 2 Nov 2012 18:40:30 +0100 (CET)\r
+Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
+ (Authenticated sender: sojkam1)\r
+ by imap.feld.cvut.cz (Postfix) with ESMTPSA id 5218F660904;\r
+ Fri, 2 Nov 2012 18:40:26 +0100 (CET)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.80)\r
+ (envelope-from <sojkam1@fel.cvut.cz>)\r
+ id 1TULEI-0006YK-62; Fri, 02 Nov 2012 18:40:26 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v6 0/9] notmuch search date:since..until query support\r
+In-Reply-To: <87r4oejstw.fsf@zancas.localnet>\r
+References: <cover.1351626272.git.jani@nikula.org>\r
+ <87r4oejstw.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.14+78~ge62fcc5 (http://notmuchmail.org) Emacs/24.2.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 02 Nov 2012 18:40:26 +0100\r
+Message-ID: <87hap76gz9.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 02 Nov 2012 17:40:37 -0000\r
+\r
+Hi all,\r
+\r
+On Wed, Oct 31 2012, David Bremner wrote:\r
+> Jani Nikula <jani@nikula.org> writes:\r
+>\r
+>> Hi all, v6 of [1] with plenty of small changes addressing Austin's\r
+>> review [2], [3], [4], and [5]. See my replies to Austin for what I've\r
+>> agreed to change, and what I've chosen to ignore and why.\r
+>>\r
+>\r
+> Pushed, (with patch 7 out of sequence, sorry about that).\r
+\r
+Just pulled current HEAD and tried\r
+\r
+$ notmuch search tag:notmuch and date:"this week" \r
+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)\r
+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)\r
+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)\r
+\r
+Can somebody explain me the result? This is definitely not the mail from\r
+this week.\r
+\r
+Also the results below look strange to me.\r
+\r
+notmuch search tag:notmuch and date:'"this week"' \r
+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)\r
+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)\r
+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)\r
+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)\r
+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)\r
+thread:000000000000e973 2010-01-27 [2/12] Keith Packard, Sebastian Spaeth; [notmuch] [PATCH] Make the date parser nicer (list notmuch unread)\r
+\r
+The following is also not very nice. I'm not sure whether notmuch can do\r
+anything prevent this error. Double-quoting (like above) helps here.\r
+\r
+$ notmuch search tag:notmuch and date:"this week.." \r
+A Xapian exception occurred performing query: Unknown range operation\r
+Query string was: tag:notmuch and date:this week..\r
+\r
+I'm sorry to not have more time for debugging these problems.\r
+\r
+Cheers,\r
+-Michal\r