1 Return-Path: <david@tethera.net>
\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 E141F429E3D
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Feb 2015 00:10:35 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 xb+J2fJuMNLy for <notmuch@notmuchmail.org>;
\r
16 Wed, 18 Feb 2015 00:10:32 -0800 (PST)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 98F17429E27
\r
22 for <notmuch@notmuchmail.org>; Wed, 18 Feb 2015 00:10:32 -0800 (PST)
\r
23 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
24 4.80) (envelope-from <david@tethera.net>)
\r
25 id 1YNzVN-0007Gm-U2; Wed, 18 Feb 2015 07:57:09 +0000
\r
26 Received: (nullmailer pid 17044 invoked by uid 1000); Wed, 18 Feb 2015
\r
28 From: David Bremner <david@tethera.net>
\r
29 To: Matthew Lear <matt@bubblegen.co.uk>, notmuch@notmuchmail.org
\r
30 Subject: Re: Inspired but need help searching folder names containing spaces
\r
31 In-Reply-To: <54E3BAE1.1030004@bubblegen.co.uk>
\r
32 References: <54E3BAE1.1030004@bubblegen.co.uk>
\r
33 User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1
\r
34 (x86_64-pc-linux-gnu)
\r
35 Date: Wed, 18 Feb 2015 08:56:56 +0100
\r
36 Message-ID: <87pp97sldj.fsf@maritornes.cs.unb.ca>
\r
38 Content-Type: text/plain; charset=utf-8
\r
39 Content-Transfer-Encoding: quoted-printable
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Wed, 18 Feb 2015 08:10:36 -0000
\r
54 Matthew Lear <matt@bubblegen.co.uk> writes:
\r
57 > =E2=94=9C=E2=94=80=E2=94=80 INBOX
\r
58 > =E2=94=9C=E2=94=80=E2=94=80 Deleted Items
\r
60 > =E2=94=94=E2=94=80=E2=94=80 Sent Items
\r
63 > notmuch search 'folder:"Deleted Items"'
\r
65 > .. throws up zero results.
\r
68 Hmm. I tried to duplicate your situation here, and it works for me. Two
\r
71 1) notmuch search --output=3Dfiles $QUERY
\r
73 where $QUERY is some query (using e.g. id:) that matches one of those
\r
74 messages. Check that you have have the whole anchored path from the top
\r
77 2) NOTMUCH_DEBUG_QUERY=3D1 notmuch count -'folder:"Deleted Items"'
\r
79 have a look for XFOLDER:Deleted Items
\r
81 3) try both of the above with "--exclude=3Dfalse" in case you have tagged
\r
82 them with an excluded tag. Note that by default "deleted" is such a tag.
\r
83 You can change the excluded tags with "notmuch config"
\r