Re: [RFC PATCH 0/3] add user friendly date range search
authorJason Woofenden <jason@jasonwoof.com>
Tue, 23 Aug 2011 16:39:09 +0000 (12:39 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:18 +0000 (09:39 -0800)
5e/c2672a6a632dd2e760535cb0005aec9b36b843 [new file with mode: 0644]

diff --git a/5e/c2672a6a632dd2e760535cb0005aec9b36b843 b/5e/c2672a6a632dd2e760535cb0005aec9b36b843
new file mode 100644 (file)
index 0000000..490319b
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <jason@jasonwoof.com>\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 BE7D4431FD0\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Aug 2011 09:39:19 -0700 (PDT)\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 rH-dovlt2v7f for <notmuch@notmuchmail.org>;\r
+       Tue, 23 Aug 2011 09:39:18 -0700 (PDT)\r
+Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com\r
+       [209.85.216.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 526F7431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Aug 2011 09:39:18 -0700 (PDT)\r
+Received: by qyk38 with SMTP id 38so2617827qyk.5\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Aug 2011 09:39:15 -0700 (PDT)\r
+Received: by 10.224.194.194 with SMTP id dz2mr2495272qab.58.1314117554924;\r
+       Tue, 23 Aug 2011 09:39:14 -0700 (PDT)\r
+Received: from lemote.jasonwoof.com (rrcs-50-75-61-2.nys.biz.rr.com\r
+       [50.75.61.2])\r
+       by mx.google.com with ESMTPS id m11sm83657qcw.7.2011.08.23.09.39.13\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 23 Aug 2011 09:39:14 -0700 (PDT)\r
+Date: Tue, 23 Aug 2011 12:39:09 -0400\r
+From: Jason Woofenden <jason@jasonwoof.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: [RFC PATCH 0/3] add user friendly date range search\r
+Message-ID: <20110823163908.GD2968@lemote.jasonwoof.com>\r
+Mail-Followup-To: notmuch@notmuchmail.org\r
+References: <cover.1312964528.git.jani@nikula.org>\r
+       <87bovryqp0.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87bovryqp0.fsf@steelpick.2x.cz>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\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, 23 Aug 2011 16:39:19 -0000\r
+\r
+Here's my thoughts on date/range syntax:\r
+\r
+I think: date:monday should show only e-mails that arrived on\r
+monday (not also emails that arrived since then.) Because that's\r
+what it looks like it does.\r
+\r
+I think a very common use of date ranges will be from some time\r
+until now. So I'd like that to be easy. I suggest this syntax:\r
+\r
+       since:monday\r
+\r
+which would be a shorthand for:\r
+\r
+       date:monday-00:00:00..now\r
+\r
+If that's not a popular idea, then we should at least be able to\r
+use this shorthand for the same:\r
+\r
+       date:monday..\r
+\r
+Also, I think it's quite valuable to have "yesterday" work as a\r
+date.\r
+\r
+That's all.\r
+\r
+         - Jason\r