Re: [RFC] lib: add support for date:<query>..! to mean date:<query>..<query>
[notmuch-archives.git] / 55 / f3413c2fc3f455808e833d4d1f613a8a7d66fe
1 Return-Path: <eg@gaute.vetsj.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 3D11B6DE0C1E\r
6  for <notmuch@notmuchmail.org>; Sun, 19 Apr 2015 01:39:51 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.132\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.132 tagged_above=-999 required=5 tests=[AWL=0.852, \r
12  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
13  RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id rFANH3VgGo8z for <notmuch@notmuchmail.org>;\r
17  Sun, 19 Apr 2015 01:39:49 -0700 (PDT)\r
18 Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com\r
19  [209.85.217.173])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id B58616DE0350\r
21  for <notmuch@notmuchmail.org>; Sun, 19 Apr 2015 01:39:48 -0700 (PDT)\r
22 Received: by lbcga7 with SMTP id ga7so110534061lbc.1\r
23  for <notmuch@notmuchmail.org>; Sun, 19 Apr 2015 01:39:46 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25  d=1e100.net; s=20130820;\r
26  h=x-gm-message-state:date:from:subject:to:references:in-reply-to\r
27  :user-agent:message-id:mime-version:content-type\r
28  :content-transfer-encoding;\r
29  bh=dYrxokUq8mlf32B+sqc4kOTslY96qHkMZJMhq8SiHaQ=;\r
30  b=ck8xg1/lWKAorV8tQ2c1oX9HpFV/B1KkdklA8dCcAzNDU4eLRyKlPtBiuvpRly40O0\r
31  CGnTn8nWzxE4PCeOaq8WrW2iJEsE978huXacMuqLYsUvTxAaZcFW0kDIv3FYbFlXakUQ\r
32  KveekAY/0SSh/TwJb7T61LIC9bJCAVeS0kOt3yoiewcNZRRfpmXGxf+Uc7Umcr5w3jpj\r
33  g1XJl5XLeQDqYl7wV4kd4IzFCQCIrzL7BPx6oTft/k462w3kB81ru1xp+R0mQfgYOQYO\r
34  cChgMgDjrDf6Us2AZ+/jwcZQtAvzHn1ee0RUwVy6e0Funy3+dPT15CIezjhRvqzDUQiV\r
35  4iww==\r
36 X-Gm-Message-State:\r
37  ALoCoQlSozyYuod0qDRwU6bxo0fzVSqJ/zQrncwSfMljWdGtSh54wjvDYjvL/P8Q/LznF9uzbSKm\r
38 X-Received: by 10.152.8.17 with SMTP id n17mr10935025laa.63.1429432785129;\r
39  Sun, 19 Apr 2015 01:39:45 -0700 (PDT)\r
40 Received: from localhost (c7579BF51.dhcp.as2116.net. [81.191.121.117])\r
41  by mx.google.com with ESMTPSA id ot6sm3546417lbb.39.2015.04.19.01.39.42\r
42  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
43  Sun, 19 Apr 2015 01:39:43 -0700 (PDT)\r
44 Date: Sun, 19 Apr 2015 08:39:38 +0000\r
45 From: Gaute Hope <eg@gaute.vetsj.com>\r
46 Subject: Re: [RFC] lib: add support for date:<query>..! to mean\r
47  date:<query>..<query>\r
48 To: Mark Walters <markwalters1009@gmail.com>, Jani Nikula <jani@nikula.org>,\r
49  notmuch@notmuchmail.org\r
50 References: <1425732959-2282-1-git-send-email-jani@nikula.org>\r
51  <87a8y6fuqw.fsf@qmul.ac.uk>\r
52 In-Reply-To: <87a8y6fuqw.fsf@qmul.ac.uk>\r
53 User-Agent: astroid/vv0.2-30-gd7197a8b (https://github.com/gauteh/astroid)\r
54 Message-Id: <1429432663-astroid-2-31s581p1zi-1230@strange>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain; charset=utf-8; format=flowed\r
57 Content-Transfer-Encoding: quoted-printable\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.18\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62  <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Sun, 19 Apr 2015 08:39:51 -0000\r
71 \r
72 Excerpts from Mark Walters's message of April 17, 2015 20:57:\r
73 >=20\r
74 > Hi\r
75 >=20\r
76 > On Sat, 07 Mar 2015, Jani Nikula <jani@nikula.org> wrote:\r
77 >> Up to debate:\r
78 >>\r
79 >> 1) Is something like this useful at all as an intermediate step before\r
80 >> we can have support for date:<query>? (This can be done with a future\r
81 >> version of Xapian, or with a custom query query parser.)\r
82 >=20\r
83 > This looks good to me. Yes it may not be needed in the future but the\r
84 > patch is very small. It passes all tests. +1 from me.\r
85 >=20\r
86 >> 2) If yes, are there better alternatives to "!" as the end point? (Or\r
87 >> should the special case be the start point?) Also "@" and "same" have\r
88 >> been suggested. Examples: date:yesterday..! date:today..@\r
89 >> date:@..monday date:january..same.\r
90 >=20\r
91 > I would be happy with any of these.\r
92 \r
93 I am probably missing something, but why do you need the end\r
94 point?\r
95 \r
96   date:2015-04-16 mean date:2015-04-16..2015-04-16?\r
97   date:<query> -> date:<query>..<query>\r
98 \r
99 - gaute\r
100 \r
101 =\r