From: dm-list-email-notmuch Date: Fri, 2 May 2014 17:41:56 +0000 (+1700) Subject: folder and path completely broken in HEAD? X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f90a975899fdb125a716c865612f43ebb712671e;p=notmuch-archives.git folder and path completely broken in HEAD? --- diff --git a/ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416 b/ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416 new file mode 100644 index 000000000..4f85a7f84 --- /dev/null +++ b/ac/2ab8f3ea5984b93d1b6df43e0b5744f1774416 @@ -0,0 +1,108 @@ +Return-Path: + +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1B311429E3A + for ; Fri, 2 May 2014 10:42:02 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 2TXMBTDMKgN7 for ; + Fri, 2 May 2014 10:41:58 -0700 (PDT) +Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 0AB24429E2F + for ; Fri, 2 May 2014 10:41:57 -0700 (PDT) +Received: from market.scs.stanford.edu (localhost.scs.stanford.edu + [127.0.0.1]) by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id + s42HfvXC001744 for ; Fri, 2 May 2014 10:41:57 -0700 + (PDT) +Received: (from dm@localhost) + by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id s42HfuKq021754; + Fri, 2 May 2014 10:41:56 -0700 (PDT) +X-Authentication-Warning: market.scs.stanford.edu: dm set sender to + return-qd4hszcmq2wj5kfm77bftuumpe@ta.scs.stanford.edu using -f +From: dm-list-email-notmuch@scs.stanford.edu +To: notmuch@notmuchmail.org +Subject: folder and path completely broken in HEAD? +Date: Fri, 02 May 2014 10:41:56 -0700 +Message-ID: <87tx98xel7.fsf@ta.scs.stanford.edu> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: David Mazieres expires 2014-07-31 PDT + +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 02 May 2014 17:42:02 -0000 + +Hey, I'm playing around with the head of the git repository +(bc64cdce289d84be2550c4fccb1f008d15eaeb0e) to try to figure out how the +new folder: prefixes work, as folders are a critical part of how I +organize my mail. (Since tags are not hierarchical, folders are the +best way for me to group mail to a bunch of related addresses, while +retaining the ability to separate out any mailboxes that become high +traffic.) + +I'm using a pretty standard maildir++ layout. For example, underneath +my database.path I have a bunch of mail in directories such as: + + .INBOX.Main/{new,cur} + .mail.class/{new,cur} + .mail.voicemail/{new,cur} + +It used to be the case that if I wanted to read all of my "mail" mail, I +could search for folder:mail, while to look at just voicemail, I could +say folder:mail.voicemail, etc. Now, I can't get anything to match a +folder predicate period. For example, using notmuch as notmuch-0.17 and +./notmuch as notmuch-0.18-rc2+2~gbc64cdc, here's what I get: + + linux2$ notmuch count folder:mail + 16257 + linux3$ notmuch count folder:mail.class + 1896 + linux4$ notmuch count folder:mail.voicemail + 34 + linux5$ notmuch count folder:mail.voicemail/cur + 34 + linux6$ notmuch count folder:.mail.voicemail/cur + 34 + linux7$ ./notmuch count folder:mail + 0 + linux8$ ./notmuch count folder:.mail + 0 + linux9$ ./notmuch count folder:.mail.voicemail + 0 + linux10$ ./notmuch count folder:.mail.voicemail/cur + 0 + linux 11$ ./notmuch count path:.mail.voicemail + 0 + linux 12$ ./notmuch count path:.mail.voicemail/'**' + 0 + linux 13$ ./notmuch count path:.mail.voicemail/cur + 0 + linux 14$ ./notmuch count folder:mail.voicemail + 0 + +What gives? Are the path and folder predicates completely broken, or is +something very important missing from the new notmuch-search-terms +manual page? How can I make this work? + +Thanks, +David