Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / e1 / 0fc6bf58829d1e694123810ee18468e1a10dfa
1 Return-Path: <david@belohrad.ch>\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 93C57431FC0\r
6         for <notmuch@notmuchmail.org>; Tue, 21 May 2013 07:29:33 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 BEqbztICG4vC for <notmuch@notmuchmail.org>;\r
16         Tue, 21 May 2013 07:29:29 -0700 (PDT)\r
17 Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch\r
18         [212.101.19.163])\r
19         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 481A0431FB6\r
22         for <notmuch@notmuchmail.org>; Tue, 21 May 2013 07:29:29 -0700 (PDT)\r
23 Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch\r
24         [137.138.197.99])\r
25         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
26         (No client certificate requested) (Authenticated sender: david)\r
27         by server.belohrad.ch (Postfix) with ESMTPSA id BBD062C002C;\r
28         Tue, 21 May 2013 16:29:34 +0200 (CEST)\r
29 From: David Belohrad <david@belohrad.ch>\r
30 To: Jani Nikula <jani@nikula.org>, notmuch <notmuch@notmuchmail.org>\r
31 Subject: Re: how the date query works?\r
32 In-Reply-To: <87mwrpvima.fsf@nikula.org>\r
33 References: <uaxli79u66o.fsf@beesknees.cern.ch> <87mwrpvima.fsf@nikula.org>\r
34 User-Agent: Notmuch/0.15.2+73~g1c450ec (http://notmuchmail.org) Emacs/23.2.1\r
35         (x86_64-pc-linux-gnu)\r
36 Date: Tue, 21 May 2013 16:29:21 +0200\r
37 Message-ID: <uaxzjvoh0e6.fsf@beesknees.cern.ch>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 21 May 2013 14:29:33 -0000\r
53 \r
54 thanks to everybody. i have completely missed that man page.\r
55 \r
56 .d.\r
57 \r
58 \r
59 \r
60 Jani Nikula <jani@nikula.org> writes:\r
61 \r
62 > On Mon, 20 May 2013, David Belohrad <david@belohrad.ch> wrote:\r
63 >> When I open in emacs search, and I type 'date:today', some output\r
64 >> appears, but not the one I would expect.\r
65 >\r
66 > The date: search expects a Xapian range expression, which requires ".."\r
67 > to be present in the query. For example, date:today..today from\r
68 > beginning of today to end of today, which I believe is what you're\r
69 > after. Half open ranges are okay, too, so assuming you don't have much\r
70 > mail from the future, simply date:today.. will do.\r
71 >\r
72 > Unfortunately, due to a limitation in Xapian, we can't flag an error or\r
73 > do the right thing given a date: search without the range expression\r
74 > ".."\r
75 >\r
76 >> Is there any kind of manual how to use it? I'm of course particularly\r
77 >> interested in 'today', 'yesterday', 'last week', 'last month' :)\r
78 >\r
79 > The search terms manual page, 'man notmuch-search-terms', which is also\r
80 > available at http://notmuchmail.org/manpages/notmuch-search-terms-7/\r
81 > gives a pretty good summary on the date search, including the\r
82 > limitations.\r
83 >\r
84 > HTH,\r
85 > Jani.\r