[PATCH 0/4] configure: fix some shellcheck warnings
[notmuch-archives.git] / ab / 72f77ad8c5dacf86fcc2c009b90d7e752a35e9
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 arlo.cworth.org (Postfix) with ESMTP id A971B6DE0B29\r
6  for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 10:24:39 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.145\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.145 tagged_above=-999 required=5 tests=[AWL=0.865, \r
12  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
13  RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id 875qLH45_8IU for <notmuch@notmuchmail.org>;\r
17  Thu, 11 Jun 2015 10:24:36 -0700 (PDT)\r
18 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com\r
19  [209.85.212.169])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id 8BEB16DE0948\r
21  for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 10:24:35 -0700 (PDT)\r
22 Received: by wibdq8 with SMTP id dq8so14740848wib.1\r
23  for <notmuch@notmuchmail.org>; Thu, 11 Jun 2015 10:24:31 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25  d=1e100.net; s=20130820;\r
26  h=x-gm-message-state:from:to:subject:in-reply-to:references\r
27  :user-agent:date:message-id:mime-version:content-type\r
28  :content-transfer-encoding;\r
29  bh=gYlgoq/T9/n3eKwEFZYqfvAzKnpmnTRfO5rTfJZ1ieA=;\r
30  b=ISndxXEj7UNQjI7+e9VvUdMgEGww28a/rjLn/PTwFK/GTNA3N4+llQlA1eiqkfswZw\r
31  mSYsOPiAhCH/qTnwwKnm0er2Dts+SCs0VC1lFIrjnkwZ2uViRyosD0pnBT/WikUui1zR\r
32  WfIdkc/KqR3jD5/3db1I5lX46G9v18SIiA6j2h3QAfvipBY3V898fSEY2EZebIEf4XkX\r
33  X2b+ZHO+YPCCJC4Jqk3Yq0elU+WF0GgIpghLPZit1a3I4kO4+IIidtwaSKDX+hr5GA0B\r
34  QB8U569gvmj7BDUfyXDzO0WENrKAVxCO6rOlCpFYVxhg/y8FDtGa59qMYF2+t0y3hoHS\r
35  hEQg==\r
36 X-Gm-Message-State:\r
37  ALoCoQnG7iURG2k2AWwKU3UqoAV3Uc5fF+0z1JFJvPOf4m4QNq00Z071rETVu+ZciYNYnKPru1q8\r
38 X-Received: by 10.180.76.208 with SMTP id m16mr32288448wiw.39.1434043471582;\r
39  Thu, 11 Jun 2015 10:24:31 -0700 (PDT)\r
40 Received: from localhost (mobile-access-bcee6b-244.dhcp.inet.fi.\r
41  [188.238.107.244])\r
42  by mx.google.com with ESMTPSA id be3sm2582038wib.21.2015.06.11.10.24.29\r
43  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
44  Thu, 11 Jun 2015 10:24:30 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: Robert =?utf-8?Q?K=C3=BCnnemann?= <robert@kunnemann.de>,\r
47  notmuch@notmuchmail.org\r
48 Subject: Re: Syntactic sugar for range syntax\r
49 In-Reply-To: <20150610153833.GA19301@peachum.local>\r
50 References: <20150610153833.GA19301@peachum.local>\r
51 User-Agent: Notmuch/0.19+86~gbed8b67 (http://notmuchmail.org) Emacs/24.4.1\r
52  (x86_64-pc-linux-gnu)\r
53 Date: Thu, 11 Jun 2015 20:24:36 +0300\r
54 Message-ID: <87h9qejgyz.fsf@nikula.org>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain; charset=utf-8\r
57 Content-Transfer-Encoding: quoted-printable\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.18\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, 11 Jun 2015 17:24:39 -0000\r
71 \r
72 On Wed, 10 Jun 2015, Robert K=C3=BCnnemann <robert@kunnemann.de> wrote:\r
73 > I've been using notmuch for about a year now (using mutt-kz) and I am\r
74 > very happy with it. I have, however, a small suggestion about the range\r
75 > syntax in search queries. Often, I am looking for emails that have\r
76 > occurred, say, in the last week. The query has the following form:\r
77 >\r
78 >  date:today-1week..today\r
79 \r
80 In other words, date:1w..\r
81 \r
82 The reference for relative dates is "now" if one is not specified. The\r
83 minus sign means nothing, relative dates all refer to the past and are\r
84 added together.\r
85 \r
86 > The following syntactic sugar could shorten this kind of queries:\r
87 >=20=20\r
88 >  date:r -> date:r..today, if r is a relative date\r
89 \r
90 You can use open ended queries date:since.. or date:..until to not limit\r
91 the end or start time.\r
92 \r
93 >  date:a -> date:a..a, if a is an absolute date\r
94 \r
95 This needs support from Xapian, but we've discussed this in the past and\r
96 agree on the semantics. There's a patch to make date:a..! mean the same\r
97 in the mean time:\r
98 \r
99 http://mid.gmane.org/1425732959-2282-1-git-send-email-jani@nikula.org\r
100 \r
101 >  date:a-r -> date:a-r..a, for combination.\r
102 \r
103 I think this conflicts with the above.\r
104 \r
105 > (If r is interpreted as today-r, the first two transformations are\r
106 > subsumed by the last.)\r
107 >\r
108 > For example:\r
109 >  date:today -> date:today..today\r
110 >  date:-1week -> date:-1week..today\r
111 \r
112 date:1w..\r
113 \r
114 >  date:24.12.2014-4w -> date:24.12.2014-4w..24.12.2014=20\r
115 >\r
116 > What do you think about this suggestion? Is this something notmuch would\r
117 > do, or rather something for xapian?\r
118 \r
119 What we can do in notmuch is pretty limited unless we write a full blown\r
120 custom query parser. Basically Xapian parses date: and .., and passes us\r
121 the rest to figure out.\r
122 \r
123 \r
124 HTH,\r
125 Jani.\r
126 \r
127 \r
128 >\r
129 > With kind regards, Robert K=C3=BCnnemann\r
130 > _______________________________________________\r
131 > notmuch mailing list\r
132 > notmuch@notmuchmail.org\r
133 > http://notmuchmail.org/mailman/listinfo/notmuch\r