unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Re: folder and path completely broken in HEAD?
@ 2014-05-03  4:57 dm-list-email-notmuch
  2014-05-03  5:49 ` Suvayu Ali
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: dm-list-email-notmuch @ 2014-05-03  4:57 UTC (permalink / raw)
  To: Jani Nikula; +Cc: notmuch

Jani Nikula <jani@nikula.org> writes:

> On Fri, 02 May 2014, dm-list-email-notmuch@scs.stanford.edu wrote:
>>
>> 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}
>> ...
> Here's additional commentary on the specific queries.
>
>>         linux7$ ./notmuch count folder:mail
>>         0
>>         linux8$ ./notmuch count folder:.mail
>>         0

Oh, man.  That's a serious bummer.

Is there any mechanism left that would let me hierarchically group
messages?  I've got a ton of mail.* folders, and create new ones
dynamically.  I really want a mechanism to group them hierarchically, so
I can have a search that matches all current and future mail
directories.  I organized my whole mail setup around folders because a)
tags do not provide this kind of hierarchical control, and b) there
doesn't seem to be a convenient way to apply tags 100% reliably on
message delivery, whereas I *can* control the folder 100% reliably.

Worse, because of my poor performance, I was hoping to segregate
messages by year.  So it would be:

  2013/.mail.class
  2013/.mail.voicemail
  2014/.mail.class
  2014/.mail.voicemail

All the way back.  Now you are saying there will be no convenient way to
match just the "mail.class" part without the year?  How very
distressing.  Ugh.

David

^ permalink raw reply	[flat|nested] 17+ messages in thread
* folder and path completely broken in HEAD?
@ 2014-05-02 17:41 dm-list-email-notmuch
  2014-05-02 18:10 ` Mark Walters
  2014-05-02 21:29 ` Jani Nikula
  0 siblings, 2 replies; 17+ messages in thread
From: dm-list-email-notmuch @ 2014-05-02 17:41 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-05-09 20:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-03  4:57 folder and path completely broken in HEAD? dm-list-email-notmuch
2014-05-03  5:49 ` Suvayu Ali
2014-05-03  7:11 ` Mark Walters
2014-05-03 15:55   ` dm-list-email-notmuch
2014-05-03 17:53     ` Jani Nikula
2014-05-04  1:34       ` dm-list-email-notmuch
     [not found]         ` <87mwewkjzu.fsf@yoom.home.cworth.org>
2014-05-05 22:34           ` Jani Nikula
2014-05-06  7:44             ` Mark Walters
     [not found]               ` <87eh06jngf.fsf@yoom.home.cworth.org>
2014-05-07 19:24                 ` Mark Walters
2014-05-09 20:01         ` Jameson Graef Rollins
2014-05-03 18:57     ` Mark Walters
2014-05-03  7:29 ` Tomi Ollila
  -- strict thread matches above, loose matches on Subject: below --
2014-05-02 17:41 dm-list-email-notmuch
2014-05-02 18:10 ` Mark Walters
2014-05-02 21:16   ` David Mazieres expires 2014-07-31 PDT
2014-05-03  5:44     ` Suvayu Ali
2014-05-02 21:29 ` Jani Nikula

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).