folder and path completely broken in HEAD?
authordm-list-email-notmuch <dm-list-email-notmuch@scs.stanford.edu>
Fri, 2 May 2014 17:41:56 +0000 (10:41 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:07 +0000 (10:02 -0800)
ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416 [new file with mode: 0644]

diff --git a/ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416 b/ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416
new file mode 100644 (file)
index 0000000..4f85a7f
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path:\r
+ <return-qd4hszcmq2wj5kfm77bftuumpe@temporary-address.scs.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 olra.theworths.org (Postfix) with ESMTP id 1B311429E3A\r
+       for <notmuch@notmuchmail.org>; Fri,  2 May 2014 10:42:02 -0700 (PDT)\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 2TXMBTDMKgN7 for <notmuch@notmuchmail.org>;\r
+       Fri,  2 May 2014 10:41:58 -0700 (PDT)\r
+Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10])\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 0AB24429E2F\r
+       for <notmuch@notmuchmail.org>; Fri,  2 May 2014 10:41:57 -0700 (PDT)\r
+Received: from market.scs.stanford.edu (localhost.scs.stanford.edu\r
+ [127.0.0.1])  by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id\r
+ s42HfvXC001744        for <notmuch@notmuchmail.org>; Fri, 2 May 2014 10:41:57 -0700\r
+ (PDT)\r
+Received: (from dm@localhost)\r
+       by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id s42HfuKq021754;\r
+       Fri, 2 May 2014 10:41:56 -0700 (PDT)\r
+X-Authentication-Warning: market.scs.stanford.edu: dm set sender to\r
+       return-qd4hszcmq2wj5kfm77bftuumpe@ta.scs.stanford.edu using -f\r
+From: dm-list-email-notmuch@scs.stanford.edu\r
+To: notmuch@notmuchmail.org\r
+Subject: folder and path completely broken in HEAD?\r
+Date: Fri, 02 May 2014 10:41:56 -0700\r
+Message-ID: <87tx98xel7.fsf@ta.scs.stanford.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: David Mazieres expires 2014-07-31 PDT\r
+       <mazieres-zk7gikin52b3hgy9ybcegjvvmi@temporary-address.scs.stanford.edu>\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: Fri, 02 May 2014 17:42:02 -0000\r
+\r
+Hey, I'm playing around with the head of the git repository\r
+(bc64cdce289d84be2550c4fccb1f008d15eaeb0e) to try to figure out how the\r
+new folder: prefixes work, as folders are a critical part of how I\r
+organize my mail.  (Since tags are not hierarchical, folders are the\r
+best way for me to group mail to a bunch of related addresses, while\r
+retaining the ability to separate out any mailboxes that become high\r
+traffic.)\r
+\r
+I'm using a pretty standard maildir++ layout.  For example, underneath\r
+my database.path I have a bunch of mail in directories such as:\r
+\r
+    .INBOX.Main/{new,cur}\r
+    .mail.class/{new,cur}\r
+    .mail.voicemail/{new,cur}\r
+\r
+It used to be the case that if I wanted to read all of my "mail" mail, I\r
+could search for folder:mail, while to look at just voicemail, I could\r
+say folder:mail.voicemail, etc.  Now, I can't get anything to match a\r
+folder predicate period.  For example, using notmuch as notmuch-0.17 and\r
+./notmuch as notmuch-0.18-rc2+2~gbc64cdc, here's what I get:\r
+\r
+        linux2$ notmuch count folder:mail\r
+        16257\r
+        linux3$ notmuch count folder:mail.class\r
+        1896\r
+        linux4$ notmuch count folder:mail.voicemail\r
+        34\r
+        linux5$ notmuch count folder:mail.voicemail/cur\r
+        34\r
+        linux6$ notmuch count folder:.mail.voicemail/cur\r
+        34\r
+        linux7$ ./notmuch count folder:mail\r
+        0\r
+        linux8$ ./notmuch count folder:.mail\r
+        0\r
+        linux9$ ./notmuch count folder:.mail.voicemail\r
+        0\r
+        linux10$ ./notmuch count folder:.mail.voicemail/cur\r
+        0\r
+        linux 11$ ./notmuch count path:.mail.voicemail\r
+        0\r
+        linux 12$ ./notmuch count path:.mail.voicemail/'**'\r
+        0\r
+        linux 13$ ./notmuch count path:.mail.voicemail/cur \r
+        0\r
+        linux 14$ ./notmuch count folder:mail.voicemail\r
+        0\r
+\r
+What gives?  Are the path and folder predicates completely broken, or is\r
+something very important missing from the new notmuch-search-terms\r
+manual page?  How can I make this work?\r
+\r
+Thanks,\r
+David\r