1 Return-Path: <sojkam1@fel.cvut.cz>
\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 olra.theworths.org (Postfix) with ESMTP id 54FE4431E84
\r
6 for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 05:23:29 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id NxzUVKMTKEyJ for <notmuch@notmuchmail.org>;
\r
16 Tue, 25 Sep 2012 05:23:27 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A5CD7429E34
\r
19 for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 05:23:15 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 2C2CC3CFF59;
\r
22 Tue, 25 Sep 2012 14:22:26 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id vXk216IIFgjI; Tue, 25 Sep 2012 14:22:17 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 5ADCA19F33A8;
\r
30 Tue, 25 Sep 2012 14:16:01 +0200 (CEST)
\r
31 Received: from steelpick.2x.cz (unknown [213.29.198.144])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 1E1E8660968;
\r
34 Tue, 25 Sep 2012 14:15:52 +0200 (CEST)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.80)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1TGU3G-0001g5-Mu; Tue, 25 Sep 2012 14:15:46 +0200
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Michal Nazarewicz <mina86@mina86.com>, Jani Nikula <jani@nikula.org>,
\r
40 notmuch@notmuchmail.org, David Bremner <david@tethera.net>
\r
41 Subject: Re: [PATCH v3 6/9] lib: add date range query support
\r
42 In-Reply-To: <xa1tsjamdvj6.fsf@mina86.com>
\r
43 References: <cover.1347484177.git.jani@nikula.org>
\r
44 <532340d05ea748518c021048900bb83149e04e88.1347484177.git.jani@nikula.org>
\r
45 <xa1tsjamdvj6.fsf@mina86.com>
\r
46 User-Agent: Notmuch/0.14+23~g9d68aca (http://notmuchmail.org) Emacs/24.2.1
\r
47 (x86_64-pc-linux-gnu)
\r
48 Date: Tue, 25 Sep 2012 14:15:46 +0200
\r
49 Message-ID: <87wqzi1eod.fsf@steelpick.2x.cz>
\r
51 Content-Type: text/plain
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Tue, 25 Sep 2012 12:23:29 -0000
\r
66 On Thu, Sep 13 2012, Michal Nazarewicz wrote:
\r
67 > On Wed, Sep 12 2012, Jani Nikula wrote:
\r
68 >> Add a custom value range processor to enable date and time searches of
\r
69 >> the form date:since..until, where "since" and "until" are expressions
\r
70 >> understood by the previously added date/time parser, to restrict the
\r
71 >> results to messages within a particular time range (based on the Date:
\r
74 >> If "since" or "until" describes date/time at an accuracy of days or
\r
75 >> less, the values are rounded according to the accuracy, towards past
\r
76 >> for "since" and towards future for "until". For example,
\r
77 >> date:november..yesterday would match from the beginning of November
\r
78 >> until the end of yesterday. Expressions such as date:today..today
\r
79 >> means since the beginning of today until the end of today.
\r
81 > IMO this is totally unintuitive and not how the range should work.
\r
82 > date:foo..bar should return messages whose date >= foo and < bar. So
\r
83 > for instance date:november..yesterday should return messages whose date
\r
84 > is > 2012/11/01 00:00:00 and < 2012/09/12 00:00:00. So to get
\r
85 > yesterdays messages one would do: date:yesterday..today.
\r
87 For me, date:monday..wednesday means all messages received on monday,
\r
88 tuseday or wednesday. If I say Wednesday, I'm really interested in
\r
89 Wednesday and not the day before Wednesday.
\r
91 I'd also like to allow syntax like date:yesterday with the meaning all
\r
92 messages sent yesterday. My idea how to implement this was described in
\r
93 id:"87bovryqp0.fsf@steelpick.2x.cz". Unfortunately, I have no time to
\r
94 implement it myself.
\r