[PATCH v6 0/6] lib/cli: limit number of messages in search results
authorJani Nikula <jani@nikula.org>
Sun, 13 Nov 2011 21:15:29 +0000 (23:15 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:09 +0000 (09:40 -0800)
ab/807085bbdf0b433cad7addc5c47cbcebf7e3db [new file with mode: 0644]

diff --git a/ab/807085bbdf0b433cad7addc5c47cbcebf7e3db b/ab/807085bbdf0b433cad7addc5c47cbcebf7e3db
new file mode 100644 (file)
index 0000000..d6e28f4
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B4BBE429E21\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 13:15:41 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.075\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.075 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLACK=1.775] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id NA3LVDH2bv0e for <notmuch@notmuchmail.org>;\r
+       Sun, 13 Nov 2011 13:15:41 -0800 (PST)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E080C431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 13:15:40 -0800 (PST)\r
+Received: by bkaq10 with SMTP id q10so6289712bka.26\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 13:15:39 -0800 (PST)\r
+Received: by 10.205.133.16 with SMTP id hw16mr8634825bkc.128.1321218939277;\r
+       Sun, 13 Nov 2011 13:15:39 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
+       [80.220.92.23])\r
+       by mx.google.com with ESMTPS id dq2sm27010560bkb.11.2011.11.13.13.15.36\r
+       (version=SSLv3 cipher=OTHER); Sun, 13 Nov 2011 13:15:38 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v6 0/6] lib/cli: limit number of messages in search results\r
+Date: Sun, 13 Nov 2011 23:15:29 +0200\r
+Message-Id: <cover.1321217854.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.5.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 13 Nov 2011 21:15:41 -0000\r
+\r
+v6, now with the missing 'notmuch help' documentation spotted by\r
+jrollins. Previous version at id:"cover.1321212673.git.jani@nikula.org".\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (6):\r
+  lib: add function to get the number of threads matching a search\r
+  cli: add options --first and --maxitems to notmuch search\r
+  cli: drop unused code from notmuch count\r
+  cli: add support for --output parameter in notmuch count\r
+  test: add tests for notmuch count\r
+  test: add tests for notmuch search --first and --maxitems\r
+\r
+ NEWS                 |   10 +++++++\r
+ lib/notmuch.h        |   14 ++++++++++\r
+ lib/query.cc         |   44 +++++++++++++++++++++++++++++++\r
+ notmuch-count.c      |   44 +++++++++----------------------\r
+ notmuch-search.c     |   70 ++++++++++++++++++++++++++++++++++++++++--------\r
+ notmuch.1            |   48 +++++++++++++++++++++++++++++----\r
+ notmuch.c            |   29 +++++++++++++++++---\r
+ test/count           |   40 ++++++++++++++++++++++++++++\r
+ test/notmuch-test    |    2 +\r
+ test/search-limiting |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++\r
+ 10 files changed, 319 insertions(+), 53 deletions(-)\r
+ create mode 100755 test/count\r
+ create mode 100755 test/search-limiting\r
+\r
+-- \r
+1.7.5.4\r
+\r