1 Return-Path: <keith@awakenetworks.com>
\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 6DE09431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 20 Sep 2014 14:52:35 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id Ex6fZ0Qfir51 for <notmuch@notmuchmail.org>;
\r
17 Sat, 20 Sep 2014 14:52:28 -0700 (PDT)
\r
18 X-Greylist: delayed 481 seconds by postgrey-1.32 at olra;
\r
19 Sat, 20 Sep 2014 14:52:28 PDT
\r
20 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com
\r
22 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
23 (No client certificate requested)
\r
24 by olra.theworths.org (Postfix) with ESMTPS id 299D1431FAE
\r
25 for <notmuch@notmuchmail.org>; Sat, 20 Sep 2014 14:52:28 -0700 (PDT)
\r
26 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
\r
27 by gateway2.nyi.internal (Postfix) with ESMTP id 4D5A1DAB
\r
28 for <notmuch@notmuchmail.org>; Sat, 20 Sep 2014 17:44:25 -0400 (EDT)
\r
29 Received: from frontend2 ([10.202.2.161])
\r
30 by compute4.internal (MEProxy); Sat, 20 Sep 2014 17:44:25 -0400
\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=awakenetworks.com;
\r
32 h=from:to:subject:date:message-id:mime-version:content-type; s=
\r
33 mesmtp; bh=0Gz/oUyvpAQMhqVufnI2DgXEG/k=; b=sJwgsGxJllt60L2sZDfYZ
\r
34 xHBwR705nrJFjD15jo2S4lIEu8OXkCzHzw0O/Urc1jvLMPlVOCvGF+eK97gnwkYv
\r
35 9zoc5LyJtpMsr94KJnq1/+iG2PZuw9zVsQAALGnpSl/UxMLrdA4D83bPAHu+pYOX
\r
36 K0lhNrS5L9E+RThHc+bX60=
\r
37 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
\r
38 messagingengine.com; h=from:to:subject:date:message-id
\r
39 :mime-version:content-type; s=smtpout; bh=0Gz/oUyvpAQMhqVufnI2Dg
\r
40 XEG/k=; b=fB0c6kIcV69zsYVaJQrPyONTLMJvs/G0l9MYjbPp51x4wREL4bfoel
\r
41 V8c+0LrTHEOuP9taEVK9deDmnb6qRkStBpK1+gmkAIPAH71Gq2pg7rWcwShp04UF
\r
42 j4E3bAOf+B11sL/ofOvwOcRJnEWDpyElictBSofBRAPPWotdISuDA=
\r
43 X-Sasl-enc: NZiBKaYdtFABYzjdTfBBFyWzleHA9DOdjnozBoggTk9h 1411249464
\r
44 Received: from kea-tablet.awakenetworks.com (unknown [108.225.17.54])
\r
45 by mail.messagingengine.com (Postfix) with ESMTPA id AB880680278
\r
46 for <notmuch@notmuchmail.org>; Sat, 20 Sep 2014 17:44:24 -0400 (EDT)
\r
47 From: Keith Amidon <keith@awakenetworks.com>
\r
48 To: notmuch@notmuchmail.org
\r
49 Subject: Do path: searches handle spaces correctly?
\r
50 User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1
\r
51 (x86_64-unknown-linux-gnu)
\r
52 Date: Sat, 20 Sep 2014 14:44:22 -0700
\r
53 Message-ID: <878uleklvt.fsf@awakenetworks.com>
\r
55 Content-Type: text/plain
\r
56 X-Mailman-Approved-At: Mon, 22 Sep 2014 01:48:23 -0700
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Sat, 20 Sep 2014 21:52:35 -0000
\r
71 I'm trying to update an archiving tool that used the old folder: search
\r
72 terms to use the newer folder: or path: terms. From playing around with
\r
73 it, I think that the path: term is what I want to use. However, I am
\r
74 getting some behavior I don't understand unless path: searches don't
\r
75 properly handle spaces or I don't know how to quote them properly.
\r
79 notmuch search --output=files path:'dir/INBOX/**'
\r
83 <base>/dir/INBOX/cur/1411244319_3.18990.kea-tablet,U=24,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
84 <base>/dir/INBOX/cur/1411244319_2.18990.kea-tablet,U=23,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
85 <base>/dir/INBOX/INBOX/Sent Items/cur/1411244324_2.18990.kea-tablet,U=3,FMD5=e99e6ef6cc1489bb6d8b47a4c49bb989:2,S
\r
86 <base>/dir/INBOX/cur/1411244319_1.18990.kea-tablet,U=22,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,RS
\r
87 <base>/dir/INBOX/cur/1411244319_0.18990.kea-tablet,U=21,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
88 <base>/dir/INBOX/cur/1411244318_3.18990.kea-tablet,U=20,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
89 <base>/dir/INBOX/cur/1411244318_2.18990.kea-tablet,U=19,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
90 <base>/dir/INBOX/cur/1411244318_1.18990.kea-tablet,U=18,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
91 <base>/dir/INBOX/INBOX/Sent Items/cur/1411244324_1.18990.kea-tablet,U=2,FMD5=e99e6ef6cc1489bb6d8b47a4c49bb989:2,S
\r
92 <base>/dir/INBOX/cur/1411244318_0.18990.kea-tablet,U=17,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
94 Notice that this contains results for "dir/INBOX/INBOX/Sent Items",
\r
95 which has a space in it. If I do:
\r
97 notmuch search --output=files path:'dir/INBOX/INBOX/Sent Items'
\r
99 I don't get any results, but it seems like the two results above should
\r
100 be shown, right? Am I doing something wrong here? If it looks like I'm
\r
101 doing it correctly, what can I do to help troubleshoot the issue?
\r