[PATCH] TODO: update entry on date range queries
authorJani Nikula <jani@nikula.org>
Tue, 22 Jan 2013 18:19:25 +0000 (20:19 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:17 +0000 (09:53 -0800)
23/e726915d373be0995d63ac004cff84fc2a69e6 [new file with mode: 0644]

diff --git a/23/e726915d373be0995d63ac004cff84fc2a69e6 b/23/e726915d373be0995d63ac004cff84fc2a69e6
new file mode 100644 (file)
index 0000000..c96c6b2
--- /dev/null
@@ -0,0 +1,94 @@
+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 30BCB431FC0\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 10:19:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 KfY+Mxc8SPOB for <notmuch@notmuchmail.org>;\r
+       Tue, 22 Jan 2013 10:19:29 -0800 (PST)\r
+Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com\r
+       [209.85.217.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 8FE78431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 10:19:29 -0800 (PST)\r
+Received: by mail-lb0-f179.google.com with SMTP id j14so813101lbo.24\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 10:19:26 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:date:message-id:x-mailer\r
+       :x-gm-message-state;\r
+       bh=2DN+AvqFU6HHVvEf/HUxWcF+q+noQfkjmpELvJGymfQ=;\r
+       b=Ku/RNI7/TrFO+Ualv3uC9vSTGQCRcQG4EnltyRIrUh1PyWj2cVfWysLsyQa4M8s+vi\r
+       hTVNvMTJvrwJNgNOvJGzIyJvdwXvEiHWpCWkFhz6zDSMM6WpVHkZHMU52aG6zx/3CiUs\r
+       1ZLtFORqE9yi+82geCWf81VjMFD3jN2UP+B374Y85rGFu4YSMc/7ltlkqFijdyf9Hq7A\r
+       UkcxfPRn11Thwo3pWd1KZw4olOikTux/Nb16MNVNeMucknU4qnE8wvtARq0hhS5fpiSa\r
+       emMplreoyvPAy0psk2YC7c+hHzE++bxfJLz72pq9XXL9RuxWMRsR9ARz4Ik2RC90M0Z2\r
+       6Zaw==\r
+X-Received: by 10.112.86.232 with SMTP id s8mr9570634lbz.86.1358878766586;\r
+       Tue, 22 Jan 2013 10:19:26 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id q4sm7376082lbj.15.2013.01.22.10.19.24\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Tue, 22 Jan 2013 10:19:25 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] TODO: update entry on date range queries\r
+Date: Tue, 22 Jan 2013 20:19:25 +0200\r
+Message-Id: <1358878765-23940-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQmYGc5Jh7MJh/oJrcra5QqPCpV0LdnQnnaPVUfuR2LvNG/owyN/O2mPt/dz/1a3eEIDfREd\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: Tue, 22 Jan 2013 18:19:30 -0000\r
+\r
+---\r
+ devel/TODO |   13 +++++++------\r
+ 1 file changed, 7 insertions(+), 6 deletions(-)\r
+\r
+diff --git a/devel/TODO b/devel/TODO\r
+index eb757af..9eaa7bd 100644\r
+--- a/devel/TODO\r
++++ b/devel/TODO\r
+@@ -163,12 +163,13 @@ vs. tag-when-all-files-flagged (* above)).\r
+ Add an interface to accept a "key" and a byte stream, rather than a\r
+ filename.\r
\r
+-Provide a sane syntax for date ranges. First, we don't want to require\r
+-both endpoints to be specified. For example it would be nice to be\r
+-able to say things like "since:2009-01-1" or "until:2009-01-1" and\r
+-have the other endpoint be implicit. Second we'd like to support\r
+-relative specifications of time such as "since:'2 months ago'". To do\r
+-any of this we're probably going to need to break down an write our\r
++Improve syntax for date ranges queries. date:expr should be\r
++interpreted as date:expr..expr so that, for example, "date:2013-01-22"\r
++would cover the whole of the specified day (currently that's not even\r
++recognized as a date range expression). It might be nice to be able to\r
++use things like "since:2013-01-22" and "until:2013-01-22" as synonyms\r
++to "date:2013-01-22.." and "date:..2013-01-22", respectively. To do\r
++any of this we're probably going to need to break down and write our\r
+ own parser for the query string rather than using Xapian's QueryParser\r
+ class.\r
\r
+-- \r
+1.7.10.4\r
+\r