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

Jani Nikula jani at nikula.org
Tue Nov 15 12:08:47 PST 2011


v7, s/--first/--offset/ and s/--maxitems/--limit/ and rebased against master
since since id:"cover.1321217854.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 --offset and --limit 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 --offset and --limit

 NEWS                 |   10 +++++++
 lib/notmuch.h        |   14 ++++++++++
 lib/query.cc         |   44 +++++++++++++++++++++++++++++++
 notmuch-count.c      |   44 +++++++++----------------------
 notmuch-search.c     |   68 +++++++++++++++++++++++++++++++++++++++--------
 notmuch.1            |   48 +++++++++++++++++++++++++++++----
 notmuch.c            |   29 +++++++++++++++++---
 test/count           |   40 ++++++++++++++++++++++++++++
 test/notmuch-test    |    2 +
 test/search-limiting |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 317 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