Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 04 / 1869679b8df08aea0219b397af9a3c03410d8b
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 88F3F431FAF\r
6         for <notmuch@notmuchmail.org>; Fri,  2 Nov 2012 11:53:24 -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.7\r
10 X-Spam-Level: \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 fOho3P75dNbK for <notmuch@notmuchmail.org>;\r
16         Fri,  2 Nov 2012 11:53:23 -0700 (PDT)\r
17 Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
18         [209.85.215.53]) (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 DBB20431FAE\r
21         for <notmuch@notmuchmail.org>; Fri,  2 Nov 2012 11:53:22 -0700 (PDT)\r
22 Received: by mail-la0-f53.google.com with SMTP id l5so3002321lah.26\r
23         for <notmuch@notmuchmail.org>; Fri, 02 Nov 2012 11:53:21 -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=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type:x-gm-message-state;\r
28         bh=usUKd5P3v2Bsq3BtzsKK16Y+etrzrUwTTBUjpmBlcSA=;\r
29         b=fi97Tobiw0gJUQAYPje3lGeEzryv/B1Qp6Z+/3uMLLkhvbbcQMANpwAsWQmOhGWFkn\r
30         fSqFQuYjYkHAZgqhE7tnMeo9S4A08eL5iPqAA0+5uQS6XpYbrbNSqGS3lbxX2hsGovaE\r
31         rUyASid0J3o7ujkZpS+J14IqymKxpKx/Sep99hs2eqaHkoJoIFVPaqW45pH8Hmt/wq7G\r
32         59s2wkr78eST8EepKfqRc45EWgPh6nEO2uH1iBJeQ55QlRccGvqEPAv0v/wBvHe3N1e3\r
33         4xMAjj8P+AymOpUukitSSsk4tBOfaONuMxak+rTUeQuCkr/SaE5omQd3vX++AQ6qEqzo\r
34         hulQ==\r
35 Received: by 10.152.104.50 with SMTP id gb18mr2569260lab.9.1351882399818;\r
36         Fri, 02 Nov 2012 11:53:19 -0700 (PDT)\r
37 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
38         [80.223.81.27])\r
39         by mx.google.com with ESMTPS id p9sm3456922lbc.3.2012.11.02.11.53.17\r
40         (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 11:53:18 -0700 (PDT)\r
41 From: Jani Nikula <jani@nikula.org>\r
42 To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
43 Subject: Re: [PATCH v6 0/9] notmuch search date:since..until query support\r
44 In-Reply-To: <87hap76gz9.fsf@steelpick.2x.cz>\r
45 References: <cover.1351626272.git.jani@nikula.org>\r
46         <87r4oejstw.fsf@zancas.localnet> <87hap76gz9.fsf@steelpick.2x.cz>\r
47 User-Agent: Notmuch/0.14+81~g1924356 (http://notmuchmail.org) Emacs/23.4.1\r
48         (i686-pc-linux-gnu)\r
49 Date: Fri, 02 Nov 2012 20:53:15 +0200\r
50 Message-ID: <87d2zv3kh0.fsf@nikula.org>\r
51 MIME-Version: 1.0\r
52 Content-Type: text/plain; charset=us-ascii\r
53 X-Gm-Message-State:\r
54  ALoCoQmgcYEnzoyZwBHr+WVEPdDqtUmBncs1p9OLl68S7UI37ONUYUgVKvg/7dE+czo1lPn6ykNa\r
55 Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Fri, 02 Nov 2012 18:53:24 -0000\r
69 \r
70 On Fri, 02 Nov 2012, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
71 > Just pulled current HEAD and tried\r
72 >\r
73 > $ notmuch search tag:notmuch and date:"this week"\r
74 \r
75 > notmuch search tag:notmuch and date:'"this week"'\r
76 \r
77 > $ notmuch search tag:notmuch and date:"this week.."\r
78 \r
79 There are two technical limitations at play here, imposed on us by\r
80 Xapian. First, Xapian provides us with no way to support the date:\r
81 prefix *without* the range operator "..", and worse, AFAICT there's no\r
82 way to flag this as an error either. Second, Xapian does not support\r
83 spaces in range expression (at least not the last time I checked from\r
84 the source) regardless of the amount of quoting or escaping.\r
85 \r
86 These limitations are documented in the DATE AND TIME SEARCH section of\r
87 the notmuch-search-terms(7) man page, and that's unfortunately about as\r
88 much as we can do about it at the moment.\r
89 \r
90 The workaround is to always have .. in the date: search, and replace\r
91 spaces with e.g. '-' or '_'. See the man page for details. The search\r
92 you are looking for is either date:this-week..this-week or just\r
93 date:this-week..\r
94 \r
95 HTH,\r
96 Jani.\r