--- /dev/null
+Return-Path: <peterz@infradead.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id B53F4431E82\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Nov 2013 12:14:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id tblr+nD2T5XG for <notmuch@notmuchmail.org>;\r
+ Wed, 13 Nov 2013 12:14:24 -0800 (PST)\r
+Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 38553431FD0\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Nov 2013 12:14:24 -0800 (PST)\r
+Received: from dhcp-077-248-225-117.chello.nl ([77.248.225.117] helo=laptop)\r
+ by merlin.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux))\r
+ id 1VggpT-0004Jx-OB; Wed, 13 Nov 2013 20:14:23 +0000\r
+Received: by laptop (Postfix, from userid 1000)\r
+ id D1476103E6A33; Wed, 13 Nov 2013 21:14:21 +0100 (CET)\r
+Date: Wed, 13 Nov 2013 21:14:21 +0100\r
+From: Peter Zijlstra <peterz@infradead.org>\r
+To: Austin Clements <aclements@csail.mit.edu>\r
+Subject: Re: [PATCH] notmuch: Add "maildir:" search option\r
+Message-ID: <20131113201421.GB5364@laptop.programming.kicks-ass.net>\r
+References: <20131112155637.GA16796@laptop.programming.kicks-ass.net>\r
+ <87mwl94dte.fsf@awakening.csail.mit.edu>\r
+ <87k3gd4dfb.fsf@awakening.csail.mit.edu>\r
+ <20131113200852.GG16796@laptop.programming.kicks-ass.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <20131113200852.GG16796@laptop.programming.kicks-ass.net>\r
+User-Agent: Mutt/1.5.21 (2012-12-30)\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Wed, 13 Nov 2013 20:14:30 -0000\r
+\r
+On Wed, Nov 13, 2013 at 09:08:52PM +0100, Peter Zijlstra wrote:\r
+> + if (i >= 3) {\r
+> + /* Consume trailing maildir directory entries */\r
+> + if (STRNCMP_LITERAL (maildir, "cur") == 0 ||\r
+> + STRNCMP_LITERAL (maildir, "new") == 0)\r
+\r
+maildir + i - 3\r
+\r
+obviously..\r
+\r
+\r