--- /dev/null
+Return-Path: <jani@nikula.org>\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 8CF00429E21\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:11:25 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.738\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
+ tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
+ 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 nFtGeD3k5W8j for <notmuch@notmuchmail.org>;\r
+ Fri, 20 Feb 2015 10:11:22 -0800 (PST)\r
+Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com\r
+ [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id E4910431FD6\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:11:21 -0800 (PST)\r
+Received: by mail-wi0-f180.google.com with SMTP id h11so4630795wiw.1\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 10:00:42 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:cc:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version:content-type;\r
+ bh=/OMOEC+PfF/C8yRAz4mJGPDT7oOLkgXKAaZ71cnCem0=;\r
+ b=XSVuWRzblP9JC/V1pdLcAD6ocmQC4aT8pIflfD8sQQRrMfHmO6z2Whb05b8EErSgje\r
+ MRvVdlZmSnAdOuk/9sRyoolUFB6bsjfEAyGYc6lkOSeV4NDDT6lmVyGv3HlYNsxjz6Nu\r
+ 6S3EuU1C0sYWA8MHx7eO1kJ7YKjgh/+ajd8OJliTlEq+0bxVEGLFhr2MMrHSv3HSFkLB\r
+ vCVCKSKA+7BXIwTb8AN6GRPHkNFauklITfbgweFkrbqtGb4S0mA1myJEVC8K0CcUX4DR\r
+ 57wLf6VtYbNKHxabpi7KrNfbBT0a/7tnF969HnCyv/aljA1L2HWoeH36gFON6+pJ37o0\r
+ mVnA==\r
+X-Gm-Message-State:\r
+ ALoCoQk4mwFKDRLVK/kk+vMnSmW5c46mGVIxFDTQyA3KVKgvZPEtjXpLcgiDh5svqD+fywsiYQcI\r
+X-Received: by 10.180.221.73 with SMTP id qc9mr183871wic.8.1424455241004;\r
+ Fri, 20 Feb 2015 10:00:41 -0800 (PST)\r
+Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
+ by mx.google.com with ESMTPSA id v16sm3394492wib.5.2015.02.20.10.00.39\r
+ (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
+ Fri, 20 Feb 2015 10:00:40 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: matt@bubblegen.co.uk, David Bremner <david@tethera.net>\r
+Subject: Re: Inspired but need help searching folder names containing spaces\r
+In-Reply-To: <ed7f5ff35a6d784885b68666fe5b5898.squirrel@webmail.plus.net>\r
+References: <54E3BAE1.1030004@bubblegen.co.uk>\r
+ <87pp97sldj.fsf@maritornes.cs.unb.ca>\r
+ <ed7f5ff35a6d784885b68666fe5b5898.squirrel@webmail.plus.net>\r
+User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/23.2.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 20 Feb 2015 19:01:17 +0100\r
+Message-ID: <87zj88wjgy.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\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, 20 Feb 2015 18:11:25 -0000\r
+\r
+On Fri, 20 Feb 2015, Matthew Lear <matt@bubblegen.co.uk> wrote:\r
+> A couple of others things have surprised me, though. Using the date search\r
+> option, such as date:"today" or date:"yesterday", hasn't quite thrown up\r
+> what I expected. Searching with date:"today" shows up no results (which I\r
+> know is wrong) and searching with date:"yesterday" shows up a handful of\r
+> emails all from the same person, in different threads which all arrived on\r
+> a day in May 2014... Got to be a bug there somewhere :-D\r
+\r
+This is a known limitation in the date: prefix queries. You have to\r
+specify it as a range, for example date:today..today (from the beginning\r
+of today until the end of today). If the underlying Xapian search engine\r
+is not given a range expression (with the "..") it searches for the\r
+words "date today" without punctuation, matching whatever it matches,\r
+and notmuch does not even get an error for it.\r
+\r
+HTH,\r
+Jani.\r
+\r