[PATCH v6 0/6] lib/cli: limit number of messages in search results

Jani Nikula jani at nikula.org
Sun Nov 13 13:15:29 PST 2011


v6, now with the missing 'notmuch help' documentation spotted by
jrollins. Previous version at id:"cover.1321212673.git.jani at nikula.org".

BR,
Jani.


Jani Nikula (6):
  lib: add function to get the number of threads matching a search
  cli: add options --first and --maxitems to notmuch search
  cli: drop unused code from notmuch count
  cli: add support for --output parameter in notmuch count
  test: add tests for notmuch count
  test: add tests for notmuch search --first and --maxitems

 NEWS                 |   10 +++++++
 lib/notmuch.h        |   14 ++++++++++
 lib/query.cc         |   44 +++++++++++++++++++++++++++++++
 notmuch-count.c      |   44 +++++++++----------------------
 notmuch-search.c     |   70 ++++++++++++++++++++++++++++++++++++++++--------
 notmuch.1            |   48 +++++++++++++++++++++++++++++----
 notmuch.c            |   29 +++++++++++++++++---
 test/count           |   40 ++++++++++++++++++++++++++++
 test/notmuch-test    |    2 +
 test/search-limiting |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 319 insertions(+), 53 deletions(-)
 create mode 100755 test/count
 create mode 100755 test/search-limiting

-- 
1.7.5.4



More information about the notmuch mailing list