Re: notmuch.el: controlling what does and doesn't get expanded in searches
[notmuch-archives.git] / 0f / ec0b81adefa559e3f0aa84c1eb6c7697009f4c
1 Return-Path: <Sebastian@SSpaeth.de>\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 36F61431FC0\r
6         for <notmuch@notmuchmail.org>; Mon, 25 Jan 2010 04:22:51 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.313\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.313 tagged_above=-999 required=5\r
12         tests=[AWL=-0.314, BAYES_50=0.001] autolearn=ham\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 WrqM+x-KJMhk for <notmuch@notmuchmail.org>;\r
16         Mon, 25 Jan 2010 04:22:49 -0800 (PST)\r
17 Received: from homiemail-a17.g.dreamhost.com (caiajhbdcagg.dreamhost.com\r
18         [208.97.132.66])\r
19         by olra.theworths.org (Postfix) with ESMTP id 5954F431FBC\r
20         for <notmuch@notmuchmail.org>; Mon, 25 Jan 2010 04:22:49 -0800 (PST)\r
21 Received: from sspaeth.de (unknown [84.55.198.58])\r
22         by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 607FA7A805C; \r
23         Mon, 25 Jan 2010 04:22:47 -0800 (PST)\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);\r
25         Mon, 25 Jan 2010 13:22:44 +0100\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
27 To: notmuch@notmuchmail.org\r
28 In-Reply-To: <1264416634-18414-1-git-send-email-Sebastian@SSpaeth.de>\r
29 References: <1264342433-15663-1-git-send-email-Sebastian@SSpaeth.de>\r
30         <1264416634-18414-1-git-send-email-Sebastian@SSpaeth.de>\r
31 Date: Mon, 25 Jan 2010 13:22:44 +0100\r
32 Message-ID: <87ocki5q7f.fsf@SSpaeth.de>\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain; charset=us-ascii\r
35 Subject: Re: [notmuch] [PATCH] Make the date parser nicer (v3 + 'now'\r
36         keyword)\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Mon, 25 Jan 2010 12:22:51 -0000\r
50 \r
51 \r
52 The patch previously sent can be considered my final attempt to a nicer\r
53 date parser. In addition to some testing, I have updated the\r
54 documentation to reflect the new syntax, and I have also added the\r
55 keyword 'now' as a possibility. So 'date:2002..now' (all mails from 2002\r
56 until now) or 'date:now..31' (all mails that McFly sent to you between\r
57 now and the 31st of this month) should all work. Note that this is not a\r
58 sincere: 'since' replacement, as 2001..now won't find mails with\r
59 timestamps in the future.\r
60 \r
61 The relevant 4 patches are in my git tree, git://github.com/spaetz/notmuch-all-feature.git then switch to branch 'dateparser':\r
62 \r
63 59e9b56 remove superfluous debug statements from date parsing\r
64 4bdb0b0 allow 'now' as keyword for now\r
65 cf6c500 Adapt documentation to new date: syntax\r
66 d8d3d0b Make the date parser nicer. This is v3 and considered to be final (but the documentation).\r
67 \r
68 \r
69 Thanks,\r
70 Sebastian\r