1 Return-Path: <amdragon@mit.edu>
\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 0E3C6431FBC
\r
6 for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 09:12:24 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 lXBmeirYKkFZ for <notmuch@notmuchmail.org>;
\r
16 Sat, 29 Sep 2012 09:12:23 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 8FCF7431FAE
\r
20 for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 09:12:23 -0700 (PDT)
\r
21 X-AuditID: 12074424-b7fce6d000000925-3f-50671de554e7
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 4D.52.02341.5ED17605; Sat, 29 Sep 2012 12:12:21 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id q8TGCK0r011052;
\r
27 Sat, 29 Sep 2012 12:12:21 -0400
\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q8TGCIJo026175
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Sat, 29 Sep 2012 12:12:19 -0400 (EDT)
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1THzeM-0005wJ-AP; Sat, 29 Sep 2012 12:12:18 -0400
\r
37 Date: Sat, 29 Sep 2012 12:12:18 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: Damien Cassou <damien.cassou@gmail.com>
\r
40 Subject: Re: Searching from a folder
\r
41 Message-ID: <20120929161158.GX26662@mit.edu>
\r
43 <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Content-Disposition: inline
\r
48 <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>
\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
50 X-Brightmail-Tracker:
\r
51 H4sIAAAAAAAAA+NgFmphleLIzCtJLcpLzFFi42IR4hRV1n0qmx5gsH+mnMWuu1uZLK7fnMns
\r
52 wOSxc9Zddo9nq24xBzBFcdmkpOZklqUW6dslcGXseraHvWA1W8XUXUcYGxh7WLsYOTkkBEwk
\r
53 +r8chrLFJC7cW8/WxcjFISSwj1Hi46WNTBDOBkaJJfsbWSGck0wSvccms0A4SxglZtybCNbP
\r
54 IqAqsenPXjCbTUBDYtv+5YwgtoiAtsSbpR1gcWYBaYlvv5uZQGxhARWJLW8OgcV5BXQknq5+
\r
55 wgZiCwkESKzffgMqLihxcuYTFoheLYkb/14C9XKAzVn+jwMkzCkQKLH21wKwVlGgkVNObmOb
\r
56 wCg0C0n3LCTdsxC6FzAyr2KUTcmt0s1NzMwpTk3WLU5OzMtLLdI118vNLNFLTSndxAgKbHYX
\r
57 lR2MzYeUDjEKcDAq8fDeOJ0aIMSaWFZcmXuIUZKDSUmUl0cmPUCILyk/pTIjsTgjvqg0J7X4
\r
58 EKMEB7OSCG9GMVA5b0piZVVqUT5MSpqDRUmc93rKTX8hgfTEktTs1NSC1CKYrAwHh5IErxww
\r
59 goUEi1LTUyvSMnNKENJMHJwgw3mAhh8FWcxbXJCYW5yZDpE/xagoJc77FSQhAJLIKM2D64Ul
\r
60 nleM4kCvCPN+AKniASYtuO5XQIOZgAZXrUoDGVySiJCSamBM2ccvP9NzllCI8Ey+9Gpr5Xdb
\r
61 hHY/Tny9amY798ZSqWezT9VefZ2lvX/hBF+W4luiP3U39yz9NSmq3rDI7qgqg21jdt2a3yzz
\r
62 1G03r+zu+Myax/PtrE1tqrqeqJSoduFUvscCk3OrLnu/PcelkyQYLTfleNRf77jiqdFT+i7I
\r
63 JG9KMfyZpqLEUpyRaKjFXFScCABSu6DFFwMAAA==
\r
64 Cc: notmuch@notmuchmail.org
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.13
\r
68 List-Id: "Use and development of the notmuch mail system."
\r
69 <notmuch.notmuchmail.org>
\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
73 List-Post: <mailto:notmuch@notmuchmail.org>
\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
77 X-List-Received-Date: Sat, 29 Sep 2012 16:12:24 -0000
\r
79 Quoth Damien Cassou on Sep 29 at 10:57 am:
\r
82 > I can't make notmuch search return the list of mails in [Gmail]
\r
83 > folders for a particular mailbox:
\r
85 > ~ $ notmuch search folder:"[Gmail].All Mail"
\r
86 > ~ $ notmuch search folder:[Gmail].Important
\r
88 You need to properly escape these, both for the shell and for Xapian.
\r
91 $ notmuch search 'folder:"[Gmail].All Mail"'
\r
92 $ notmuch search 'folder:"[Gmail].Important"'
\r
94 The single quotes are necessary to get the inner quoting through to
\r
95 Xapian (lest the shell strip them away before notmuch even gets a hold
\r
96 of its arguments) and the double quotes are necessary because folder
\r
97 is a "probabilistic prefix", and one of many consequences of that is
\r
98 that "folder:" won't be parsed as a prefix if it's followed by an
\r
99 unusual character like '['.
\r