--- /dev/null
+Return-Path: <cceleri@cs.stanford.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 9D61D6DE0943\r
+ for <notmuch@notmuchmail.org>; Wed, 19 Aug 2015 23:05:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.774\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.774 tagged_above=-999 required=5\r
+ tests=[DATE_IN_PAST_03_06=1.076, RCVD_IN_DNSWL_MED=-2.3,\r
+ RP_MATCHES_RCVD=-0.55] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id sMBArdbqwfgQ for <notmuch@notmuchmail.org>;\r
+ Wed, 19 Aug 2015 23:05:35 -0700 (PDT)\r
+X-Greylist: delayed 10914 seconds by postgrey-1.35 at arlo;\r
+ Wed, 19 Aug 2015 23:05:34 PDT\r
+Received: from smtp2.cs.Stanford.EDU (smtp2.cs.stanford.edu [171.64.64.26])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D850A6DE01F5\r
+ for <notmuch@notmuchmail.org>; Wed, 19 Aug 2015 23:05:34 -0700 (PDT)\r
+Received: from [50.250.1.250] (port=62320 helo=Jane.local)\r
+ by smtp2.cs.Stanford.EDU with esmtpsa (UNKNOWN:AES128-GCM-SHA256:128)\r
+ (Exim 4.80.1) (envelope-from <cceleri@cs.stanford.edu>)\r
+ id 1ZSG8d-0007im-St\r
+ for notmuch@notmuchmail.org; Wed, 19 Aug 2015 20:03:36 -0700\r
+From: Charles Celerier <cceleri@cs.stanford.edu>\r
+To: notmuch@notmuchmail.org\r
+Subject: folder: search-term problems\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin14.1.0)\r
+Date: Wed, 19 Aug 2015 23:03:36 -0400\r
+Message-ID:\r
+ <m2a8tmr793.fsf@Jane.local.i-did-not-set--mail-host-address--so-tickle-me>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Scan-Signature: a11a15d02c0ec4233875b3872b0caebb\r
+X-Mailman-Approved-At: Thu, 20 Aug 2015 00:51:24 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 20 Aug 2015 06:05:36 -0000\r
+\r
+Hello,\r
+\r
+I've been having trouble getting the folder: search-term to work\r
+correctly. I can successfully do a query of the count for INBOX, but\r
+nothing else. Here are some examples from running notmuch on the command\r
+line.\r
+\r
+$ pwd\r
+/Users/cceleri/Maildir\r
+\r
+$ ls\r
+Archive INBOX NotJunk Trash\r
+Drafts Junk Sent Messages\r
+\r
+$ notmuch count folder:INBOX\r
+19517\r
+\r
+$ notmuch count folder:Junk\r
+0\r
+\r
+Am I using the folder: search-term incorrectly?\r
+\r
+Best,\r
+Charles\r