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 406DD431FBC
\r
6 for <notmuch@notmuchmail.org>; Mon, 20 May 2013 07:19:55 -0700 (PDT)
\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 U+J1n5RuY3IA for <notmuch@notmuchmail.org>;
\r
16 Mon, 20 May 2013 07:19:49 -0700 (PDT)
\r
17 Received: from mail-we0-f172.google.com (mail-we0-f172.google.com
\r
18 [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 04338431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 20 May 2013 07:19:48 -0700 (PDT)
\r
22 Received: by mail-we0-f172.google.com with SMTP id w62so373205wes.31
\r
23 for <notmuch@notmuchmail.org>; Mon, 20 May 2013 07:19:47 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=x-received:from:to:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type:x-gm-message-state;
\r
28 bh=MN5Kcl79X4/c7phmX1WJcWsbvNomXC8g9xkxQZaSeEI=;
\r
29 b=H62ma55hI/kkM8cb2JHI5+5gnsiTJHocN1RSEL9Xnsg1NRIAubPeiIy+JmfE7WnTXz
\r
30 8ieQ2L9lTQao9PDP4oVZXi9sbO1mINkNAWOGIJlm7GwyFfGvj3WK5dlmKPTVWC5B0XCv
\r
31 LHPJt9zKXgL5UNsOI9CYxgPrR+oCKZlzgkYAieEqHl+KRHJDZfKdPgYYzLYsW9raRRFV
\r
32 zVlyN+4qeNntzX/kKlmJo7I8ePK1F+uzGQIzCq0FydBiQ/u5/z0hzx/bikB+1WjcTgh7
\r
33 vydleqBDYhXETPVtnWKItHrgccxwe6CHYiGiz7VTmsTpHluvwziGxPxFsMDGcgLfNGe8
\r
35 X-Received: by 10.180.76.194 with SMTP id m2mr14438037wiw.4.1369059587204;
\r
36 Mon, 20 May 2013 07:19:47 -0700 (PDT)
\r
37 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
38 by mx.google.com with ESMTPSA id cw8sm15046855wib.7.2013.05.20.07.19.45
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
41 Mon, 20 May 2013 07:19:46 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: David Belohrad <david@belohrad.ch>, notmuch <notmuch@notmuchmail.org>
\r
44 Subject: Re: how the date query works?
\r
45 In-Reply-To: <uaxli79u66o.fsf@beesknees.cern.ch>
\r
46 References: <uaxli79u66o.fsf@beesknees.cern.ch>
\r
47 User-Agent: Notmuch/0.15.2+86~g2be3ce0 (http://notmuchmail.org) Emacs/23.2.1
\r
48 (x86_64-pc-linux-gnu)
\r
49 Date: Mon, 20 May 2013 16:19:41 +0200
\r
50 Message-ID: <87mwrpvima.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
54 ALoCoQlxfGnQytzwdh/t/k0FfAa+8pWXXkGjoYhzbpS/t4j8u0utfSca1x2fagKI5WB2YaYxWu3a
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Mon, 20 May 2013 14:19:55 -0000
\r
69 On Mon, 20 May 2013, David Belohrad <david@belohrad.ch> wrote:
\r
70 > When I open in emacs search, and I type 'date:today', some output
\r
71 > appears, but not the one I would expect.
\r
73 The date: search expects a Xapian range expression, which requires ".."
\r
74 to be present in the query. For example, date:today..today from
\r
75 beginning of today to end of today, which I believe is what you're
\r
76 after. Half open ranges are okay, too, so assuming you don't have much
\r
77 mail from the future, simply date:today.. will do.
\r
79 Unfortunately, due to a limitation in Xapian, we can't flag an error or
\r
80 do the right thing given a date: search without the range expression
\r
83 > Is there any kind of manual how to use it? I'm of course particularly
\r
84 > interested in 'today', 'yesterday', 'last week', 'last month' :)
\r
86 The search terms manual page, 'man notmuch-search-terms', which is also
\r
87 available at http://notmuchmail.org/manpages/notmuch-search-terms-7/
\r
88 gives a pretty good summary on the date search, including the
\r