--- /dev/null
+Return-Path: <m.walters@qmul.ac.uk>\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 12AE7431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 7 May 2014 12:24:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.202\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.202 tagged_above=-999 required=5\r
+ tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
+ NML_ADSP_CUSTOM_MED=1.2] 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 a1uLPMa0VxNX for <notmuch@notmuchmail.org>;\r
+ Wed, 7 May 2014 12:24:43 -0700 (PDT)\r
+Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\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 B9187431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 7 May 2014 12:24:43 -0700 (PDT)\r
+Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
+ by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
+ (envelope-from <m.walters@qmul.ac.uk>)\r
+ id 1Wi7SF-00078x-DJ; Wed, 07 May 2014 20:24:37 +0100\r
+Received: from 5751dfa2.skybroadband.com ([87.81.223.162] helo=localhost)\r
+ by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
+ (envelope-from <m.walters@qmul.ac.uk>)\r
+ id 1Wi7SE-0000zr-V0; Wed, 07 May 2014 20:24:35 +0100\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: Carl Worth <cworth@cworth.org>, Jani Nikula <jani@nikula.org>,\r
+ David Mazieres expires 2014-08-01 PDT\r
+ <mazieres-m3ssd5tf29djdm7jf9qfi4atf2@temporary-address.scs.stanford.edu>\r
+Subject: Re: folder and path completely broken in HEAD?\r
+In-Reply-To: <87eh06jngf.fsf@yoom.home.cworth.org>\r
+References: <87oazfo3w2.fsf@ta.scs.stanford.edu> <87zjiz8hft.fsf@qmul.ac.uk>\r
+ <87iopmonzn.fsf@ta.scs.stanford.edu> <87tx96ycja.fsf@nikula.org>\r
+ <8738gqnx6k.fsf@ta.scs.stanford.edu>\r
+ <87mwewkjzu.fsf@yoom.home.cworth.org>\r
+ <87bnvb4zyh.fsf@nikula.org> <871tw74aig.fsf@qmul.ac.uk>\r
+ <87eh06jngf.fsf@yoom.home.cworth.org>\r
+User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 07 May 2014 20:24:33 +0100\r
+Message-ID: <8738glmlxq.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Host-Address: 87.81.223.162\r
+X-QM-Geographic: According to ripencc,\r
+ this message was delivered by a machine in Britain (UK) (GB).\r
+X-QM-SPAM-Info: Sender has good ham record. :)\r
+X-QM-Body-MD5: e1edccd7297366d2f34c9a3bdae45a5b (of first 20000 bytes)\r
+X-SpamAssassin-Score: -0.1\r
+X-SpamAssassin-SpamBar: /\r
+X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
+ determine if it is\r
+ spam. We require at least 5.0 points to mark a message as spam.\r
+ This message scored -0.1 points.\r
+ Summary of the scoring: \r
+ * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
+ provider * (markwalters1009[at]gmail.com)\r
+ * -0.1 AWL AWL: From: address is in the auto white-list\r
+X-QM-Scan-Virus: ClamAV says the message is clean\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, 07 May 2014 19:24:48 -0000\r
+\r
+\r
+> The trick here is that it's easy to miss people who are happy with\r
+> current functionality. Adding functionality to address newly-identified\r
+> use cases makes a lot of sense. But removing functionality runs the risk\r
+> of only discovering that people were relying on it after the fact,\r
+> (Which seems to have happened here).\r
+\r
+Yes indeed. I think one thing that I, at least, hadn't realised is that\r
+people have lots of strange mail layouts often to work around problems\r
+in mail agents (notmuch or others) or filesystem limitations etc.\r
+\r
+>>> The idea of path: is that it's the exact filesystem directory, relative\r
+>>> from the maildir root, with an rsync like ** syntax for recursive\r
+>>> matching.\r
+>\r
+> This definition of "path:" seems good. It covers a lot of cases that the\r
+> original "folder:" did not and allows precise, predictable control.\r
+>\r
+>>> Turns out people want folder: to hide maildir implementation\r
+>>> details like cur and new.\r
+>\r
+> Which is something that "folder:" always did.\r
+>\r
+>>> These are not compatible, or you need to add a syntax that's not easy\r
+>>> or discoverable.\r
+>\r
+> OK. So I won't argue that we don't need two different syntaxes here. But\r
+> I will continue to discuss a use case that was addressed before and is\r
+> no longer.\r
+>\r
+>> I think many of us would agree, but there were users who wanted to\r
+>> distinguish new and cur, and in at least one case, the toplevel as\r
+>> well.\r
+>\r
+> So now, "path:" allows for that, right?\r
+>\r
+> My concern is not so much that "path:" was added to address new things,\r
+> but more than "folder:" was modified in a way that dropped useful\r
+> functionality, (beyond just fixing bugs in "folder:" such as the\r
+> accidental support of stemming).\r
+\r
+One possibly perverse remark: it wouldn't surprise me if someone\r
+actually used the stemming. I have used folders called old older and\r
+oldest and that probably can be excluded by stemming.....\r
+\r
+All I am really saying is that any change we made was going to break\r
+some people's setups.\r
+\r
+>> I think it is unfortunate that we need two variants, but I think they do\r
+>> do different things.\r
+>\r
+> I'll accept that.\r
+>\r
+> But, while I have heard a good definition of "path:", (see above), I\r
+> haven't heard a good one for "folder:" yet. Can you provide that?\r
+\r
+I think folder:foo/bar means "In the maildir exactly foo/bar"\r
+\r
+>> Also, I think any single user will find one matches their setup and\r
+>> use that one essentially exclusively:\r
+>\r
+> The current discussion is evidence against that. We have a user of\r
+> folder: that can no longer get at the desired functionality, (that used\r
+> to exist).\r
+\r
+Sorry I wasn't trying to suggest that the current setup does everything\r
+people want (clearly not!): just answering your question about the\r
+differences being confusing. since each user will probably only use one\r
+of them they probably become accustomed to its use.\r
+\r
+Indeed, I think of the choice as being analogous to allowing the user to\r
+choose which path scheme they like (so sort of like a customisation):\r
+maildir folder based or filesystem path based.\r
+\r
+>> Indeed, it may be that a third option of roughly a maildir++: search term\r
+>> might solve David's use case.\r
+>\r
+> Or just making "folder:" index each term of a filesytem path like it\r
+> used to do. And if that doesn't give sufficient control to some users,\r
+> then "path:" is available.\r
+\r
+We could do this. It might break things for user who are using the new\r
+syntax.... Maybe we could make an initial / match the root of the\r
+maildir store. But I think some people will dislike any of the options.\r
+\r
+>\r
+> I've already lost what I would have preferred, (a single syntax for all\r
+> use cases---which was lost not to a design problem, but simply the\r
+> implementation difficulty of requiring a custom query parser). I really\r
+> would not like to see things continue down to have a *third* syntax.\r
+\r
+So this third syntax would fit with my view of it being a customisation\r
+like thing.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r