On Wed, 16 Mar 2011 10:25:29 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote: > Interesting, this is not at all what I am seeing in the current > bindings: > > cd ~/src/notmuch/bindings/python;./notmuch.py count 'folder:sent' > 1957 > /usr/local/bin/notmuch count 'folder:sent' > 1957 Hey, Sebastian. Can you share your notmuch.py script? I want to compare yours with what I'm doing in my python script. I don't think it's a quoting issue, since the quoting I'm using seems to work fine for other search terms. It's only with "folder:" searches that I'm seeing the problem. jamie.