Add a preliminary "notmuch search" command.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:16:10 +0000 (22:16 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:16:10 +0000 (22:16 -0700)
commit144b2cbc5532e000c37b4d5ba7bb5d9ea113859f
treedfa06fc739f301e0fa422b4e7d09cc81cee9ecd2
parent0e72d6a9ecf392ec65a23b7c81d33025eaee3e1a
Add a preliminary "notmuch search" command.

This isn't behaving at all like it's documented yet, (for example,
it's returning message IDs not thread IDs[*]). In fact, the output
code is just a copy of the body of "notmuch dump", so all you
get for now is message ID and tags.

But this should at least be enough to start exercising the query
functionality, (which is currently very buggy).

[*] I'll want to convert the databse to store thread documents
before fixing that.
notmuch.c