Re: [RFC] lib: add support for date:<query>..! to mean date:<query>..<query>
authorDavid Bremner <david@tethera.net>
Mon, 8 Jun 2015 14:57:37 +0000 (16:57 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:00 +0000 (14:49 -0700)
95/bffd4054aebcc5ad0b870ced88c39e07b92637 [new file with mode: 0644]

diff --git a/95/bffd4054aebcc5ad0b870ced88c39e07b92637 b/95/bffd4054aebcc5ad0b870ced88c39e07b92637
new file mode 100644 (file)
index 0000000..c568aa1
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 80DF06DE0AD1\r
+ for <notmuch@notmuchmail.org>; Mon,  8 Jun 2015 07:59:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.206\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.206 tagged_above=-999 required=5 tests=[AWL=0.206]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id udKbvHPaPa05 for <notmuch@notmuchmail.org>;\r
+ Mon,  8 Jun 2015 07:59:46 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 513766DE0AC7\r
+ for <notmuch@notmuchmail.org>; Mon,  8 Jun 2015 07:59:46 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <david@tethera.net>)\r
+ id 1Z1yUu-0000WW-9r; Mon, 08 Jun 2015 14:57:56 +0000\r
+Received: (nullmailer pid 9200 invoked by uid 1000); Mon, 08 Jun 2015\r
+ 14:57:37 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [RFC] lib: add support for date:<query>..! to mean\r
+ date:<query>..<query>\r
+In-Reply-To: <1425732959-2282-1-git-send-email-jani@nikula.org>\r
+References: <1425732959-2282-1-git-send-email-jani@nikula.org>\r
+User-Agent: Notmuch/0.20+15~ga1b054b (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 08 Jun 2015 16:57:37 +0200\r
+Message-ID: <87k2vegsda.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Mon, 08 Jun 2015 14:59:48 -0000\r
+\r
+Jani Nikula <jani@nikula.org> writes:\r
+\r
+> Up to debate:\r
+>\r
+> 1) Is something like this useful at all as an intermediate step before\r
+> we can have support for date:<query>? (This can be done with a future\r
+> version of Xapian, or with a custom query query parser.)\r
+>\r
+> 2) If yes, are there better alternatives to "!" as the end point? (Or\r
+> should the special case be the start point?) Also "@" and "same" have\r
+> been suggested. Examples: date:yesterday..! date:today..@\r
+> date:@..monday date:january..same.\r
+>\r
+\r
+>From the comments I guess it just needs a small man page update.\r
+\r
+d\r
+\r
+\r