1 Return-Path: <jani@nikula.org>
\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 518DB429E48
\r
6 for <notmuch@notmuchmail.org>; Thu, 16 Feb 2012 11:39:12 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 AZCt2PpXyFVD for <notmuch@notmuchmail.org>;
\r
16 Thu, 16 Feb 2012 11:39:11 -0800 (PST)
\r
17 Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com
\r
18 [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 83E2E429E21 for <notmuch@notmuchmail.org>; Thu, 16 Feb 2012 11:39:11 -0800
\r
22 Received: by eeke51 with SMTP id e51so1408278eek.26
\r
23 for <notmuch@notmuchmail.org>; Thu, 16 Feb 2012 11:39:08 -0800 (PST)
\r
24 Received: by 10.112.84.170 with SMTP id a10mr1501988lbz.22.1329421148739;
\r
25 Thu, 16 Feb 2012 11:39:08 -0800 (PST)
\r
26 Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi.
\r
28 by mx.google.com with ESMTPS id fl2sm8804609lbb.4.2012.02.16.11.39.06
\r
29 (version=SSLv3 cipher=OTHER); Thu, 16 Feb 2012 11:39:07 -0800 (PST)
\r
30 From: Jani Nikula <jani@nikula.org>
\r
31 To: Philippe LeCavalier <support@plecavalier.com>, notmuch@notmuchmail.org
\r
32 Subject: Re: search by date range
\r
33 In-Reply-To: <87ehtu7j9z.fsf@plc.plecavalier.com>
\r
34 References: <87ehtu7j9z.fsf@plc.plecavalier.com>
\r
35 User-Agent: Notmuch/0.11.1+184~g8bc41ed (http://notmuchmail.org) Emacs/23.3.1
\r
37 Date: Thu, 16 Feb 2012 21:39:04 +0200
\r
38 Message-ID: <87k43m6013.fsf@nikula.org>
\r
40 Content-Type: text/plain; charset=us-ascii
\r
42 ALoCoQmWrCD5CdsSHuE8xWhqcUyFo0vI9BlO0RBwN5XGT1UvoodYLOEHAGJCoEGxj1vhq4seOdQg
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Thu, 16 Feb 2012 19:39:12 -0000
\r
57 On Thu, 16 Feb 2012 12:58:00 -0500, Philippe LeCavalier <support@plecavalier.com> wrote:
\r
58 > I really like searching my inde by date and I came across a post that I
\r
59 > can't seems to find for the life of me regarding the functionality of
\r
60 > doing such a thing. I'll I'm left with is this[1] and I can't figure out
\r
61 > what the heck it is. I do know that what it does do is limit mail from
\r
62 > two weeks back to present. I suppose the omition at .. implies present
\r
63 > but what the number represent and how to I play with that?
\r
67 Out of the box you have the date search syntax described in 'man
\r
68 notmuch-search-terms', i.e. specifying a date range in terms of
\r
69 timestamps. Not very user friendly, but can be helped a little by using
\r
70 date(1) to produce the timestamps. See the man page.
\r
72 Quite some time ago I posted patches to add gnulib date search, but the
\r
73 gnulib semantics, while compatible with other GNU programs, are a bit
\r
74 awkward for the needs of notmuch. Plus it's plenty of code. See
\r
75 id:"cover.1312964528.git.jani@nikula.org" for the patches (they may not
\r
76 apply anymore though).
\r
78 Finally, I've been working on adding support for a decent date range
\r
79 search. It still needs some polish and tests, but seeing the demand,
\r
80 perhaps I should just post the patches and see what happens.
\r