folder: search-term problems

2015-08-20 Thread Charles Celerier
Hello,

I've been having trouble getting the folder: search-term to work
correctly. I can successfully do a query of the count for INBOX, but
nothing else. Here are some examples from running notmuch on the command
line.

$ pwd
/Users/cceleri/Maildir

$ ls
Archive   INBOX NotJunk   Trash
DraftsJunk  Sent Messages

$ notmuch count folder:INBOX
19517

$ notmuch count folder:Junk
0

Am I using the folder: search-term incorrectly?

Best,
Charles
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: folder: search-term problems

2015-08-20 Thread Oliver Dunkl
Charles Celerier ccel...@cs.stanford.edu writes:

 $ notmuch count folder:INBOX
 19517

 $ notmuch count folder:Junk
 0

 Am I using the folder: search-term incorrectly?

Are there messages in the folder Junk with exclude_tags? Excluded tags
will not show up in the default search.

You can try
$ notmuch count --exclude=false folder:Junk

br
\= odi
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: folder: search-term problems

2015-08-20 Thread Charles Celerier
Doh! I just realized that everything in my Junk folder is tagged junk
which is one of my configured search.exclude_tags. Nevermind, all is
well.

Thank you to all the kind folks who continue to maintain notmuch!

-charles

Charles Celerier ccel...@cs.stanford.edu writes:

 Hello,

 I've been having trouble getting the folder: search-term to work
 correctly. I can successfully do a query of the count for INBOX, but
 nothing else. Here are some examples from running notmuch on the command
 line.

 $ pwd
 /Users/cceleri/Maildir

 $ ls
 Archive   INBOX NotJunk   Trash
 DraftsJunk  Sent Messages

 $ notmuch count folder:INBOX
 19517

 $ notmuch count folder:Junk
 0

 Am I using the folder: search-term incorrectly?

 Best,
 Charles


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch