Re: Regarding notmuch and Fedora 16
[notmuch-archives.git] / c1 / d1d87c16d027e9404355c3afa6ce545561520b
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 6C6F1429E20\r
6         for <notmuch@notmuchmail.org>; Thu, 24 Mar 2011 06:50:29 -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 QrBGHL-P-h05 for <notmuch@notmuchmail.org>;\r
16         Thu, 24 Mar 2011 06:50: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 0DDC7431FB5\r
19         for <notmuch@notmuchmail.org>; Thu, 24 Mar 2011 06:50:27 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 1A52919F33A9;\r
22         Thu, 24 Mar 2011 14:50:25 +0100 (CET)\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
26         port 10044)\r
27         with ESMTP id eu7faEDoystm; Thu, 24 Mar 2011 14:50:23 +0100 (CET)\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 C88963CFE7C;\r
30         Thu, 24 Mar 2011 14:50:22 +0100 (CET)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 5AE17FA008;\r
34         Thu, 24 Mar 2011 14:50:21 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1Q2kvd-00014i-6B; Thu, 24 Mar 2011 14:50:21 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Austin Clements <amdragon@mit.edu>\r
40 Subject: Re: Date ranges syntax (was: Xapian locking errors with custom query\r
41         parser)\r
42 In-Reply-To: <AANLkTinzJrdA24V60LBUavUn1arMGQ14CM5ZGwCfGfcV@mail.gmail.com>\r
43 References: <87d3nhe3g9.fsf@steelpick.2x.cz>\r
44         <AANLkTinW_n+zMtLC-fy=naUGsAiFDwdd-mAqSWEDvF=W@mail.gmail.com>\r
45         <AANLkTinPph9Lj8h3UztQ74qMaaBVKkXB0rbiLeTX2GmW@mail.gmail.com>\r
46         <87lj0m8ki5.fsf@yoom.home.cworth.org>\r
47         <20110311024730.GA31011@mit.edu>\r
48         <8762rq8byr.fsf@yoom.home.cworth.org>\r
49         <87k4g6vxrw.fsf@steelpick.2x.cz>\r
50         <AANLkTinzJrdA24V60LBUavUn1arMGQ14CM5ZGwCfGfcV@mail.gmail.com>\r
51 User-Agent: Notmuch/0.5-103-g1253785 (http://notmuchmail.org) Emacs/23.2.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Thu, 24 Mar 2011 14:50:21 +0100\r
54 Message-ID: <87mxkksk4i.fsf@steelpick.2x.cz>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain; charset=us-ascii\r
57 Cc: notmuch@notmuchmail.org\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Thu, 24 Mar 2011 13:50:29 -0000\r
71 \r
72 On Mon, 21 Mar 2011, Austin Clements wrote:\r
73 > On Fri, Mar 11, 2011 at 3:58 AM, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
74 > > Additionally, I'd suggest to support value range queries for dates with\r
75 > > ".." syntax. Besides that some users may relay on this syntax, I use\r
76 > > date searches a lot and with custom query parser I have to type\r
77 > > "after:yesterday", which is unnecessarily long. I wish that\r
78 > > "yesterday..", which is much easier to type, would do the same.\r
79 > > Similarly, "mon..wed" would be easier to type than "after:mon\r
80 > > before:wed". What do you think?\r
81\r
82 > Personally, I just don't understand the .. range syntax, which is why\r
83 > I left it out (also, I was following the example in the TODO file).\r
84 > It's completely inconsistent with the rest of the query syntax and\r
85 > makes no indication of what it's a range over (what if you had other\r
86 > ordinal values to search over?  what if you could search by the\r
87 > received date or the sent date?).\r
88\r
89 > What about something like "date:mon..wed"?  That's consistent with the\r
90 > query syntax (the range part becomes part of the date syntax, not part\r
91 > of the top-level query syntax), it indicates the domain of the search\r
92 > term in a clean and extensible way, and it's succinct.\r
93 \r
94 Yes, the date prefix with ranges in value sounds reasonable and the word\r
95 "date" is even shorter than "after" or "before".\r
96 \r
97 -Michal\r