Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 8299B6DE0924 for ; Fri, 25 Sep 2015 18:05:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.112 X-Spam-Level: X-Spam-Status: No, score=0.112 tagged_above=-999 required=5 tests=[AWL=0.112] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6_xmlISyqSuo for ; Fri, 25 Sep 2015 18:05:39 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 6438A6DE02D2 for ; Fri, 25 Sep 2015 18:05:39 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1Zfdu0-0007U2-KB; Sat, 26 Sep 2015 01:03:48 +0000 Received: (nullmailer pid 21540 invoked by uid 1000); Sat, 26 Sep 2015 01:03:29 -0000 From: David Bremner To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH] lib: add support for date:..! to mean date:.. In-Reply-To: <1439637947-12147-1-git-send-email-jani@nikula.org> References: <87k2vegsda.fsf@maritornes.cs.unb.ca> <1439637947-12147-1-git-send-email-jani@nikula.org> User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 25 Sep 2015 22:03:29 -0300 Message-ID: <87r3lm0z6m.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 01:05:41 -0000 Jani Nikula writes: > It doesn't seem likely we can support simple date: expanding to > date:.. any time soon. (This can be done with a future > version of Xapian, or with a custom query query parser.) In the mean > time, provide shorthand date:..! to mean the same. This is > useful, as the expansion takes place before interpetation, and we can > use, for example, date:yesterday..! to match from beginning of > yesterday to end of yesterday. pushed. At some point we probably want a NEWS item. d