From 518a1e731a938e2477eeb08576939e3cef1042f2 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sat, 26 Sep 2015 16:55:02 +0300 Subject: [PATCH] Re: [PATCH] lib: add support for date:..! to mean date:.. --- 88/7b078807a2e241cab0bbb27186dc9d610857d7 | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 88/7b078807a2e241cab0bbb27186dc9d610857d7 diff --git a/88/7b078807a2e241cab0bbb27186dc9d610857d7 b/88/7b078807a2e241cab0bbb27186dc9d610857d7 new file mode 100644 index 000000000..d463519b9 --- /dev/null +++ b/88/7b078807a2e241cab0bbb27186dc9d610857d7 @@ -0,0 +1,74 @@ +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 0D8EE6DE0FC5 + for ; Sat, 26 Sep 2015 06:55:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1.151 +X-Spam-Level: * +X-Spam-Status: No, score=1.151 tagged_above=-999 required=5 tests=[AWL=-0.245, + SPF_NEUTRAL=0.652, URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 Je4x25PD8iPh for ; + Sat, 26 Sep 2015 06:54:58 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id AA2DF6DE09B0 + for ; Sat, 26 Sep 2015 06:54:57 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id B98D310008D; + Sat, 26 Sep 2015 16:55:02 +0300 (EEST) +From: Tomi Ollila +To: David Bremner , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: add support for date:..! to mean + date:.. +In-Reply-To: <87r3lm0z6m.fsf@zancas.localnet> +References: <87k2vegsda.fsf@maritornes.cs.unb.ca> + <1439637947-12147-1-git-send-email-jani@nikula.org> + <87r3lm0z6m.fsf@zancas.localnet> +User-Agent: Notmuch/0.20.2+68~g0c35549 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +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 13:55:00 -0000 + +On Sat, Sep 26 2015, David Bremner wrote: + +> 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. + +If it is in the NEWS, it is perpetual, otoh if only in documentation we +could theoretically deprecate and remove it easier in the future ... ;p + +> d + +Tomi -- 2.26.2