[PATCH v7 0/6] lib/cli: limit number of messages in search results
authorJani Nikula <jani@nikula.org>
Tue, 15 Nov 2011 20:08:47 +0000 (22:08 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:11 +0000 (09:40 -0800)
75/98b0361b76d90e64e716b2ca3de752395319d8 [new file with mode: 0644]

diff --git a/75/98b0361b76d90e64e716b2ca3de752395319d8 b/75/98b0361b76d90e64e716b2ca3de752395319d8
new file mode 100644 (file)
index 0000000..61c0805
--- /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 4C927429E27\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:09:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 44myJzNSg4Ib for <notmuch@notmuchmail.org>;\r
+       Tue, 15 Nov 2011 12:09:01 -0800 (PST)\r
+Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
+       [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 694CF431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:09:01 -0800 (PST)\r
+Received: by faan15 with SMTP id n15so895260faa.26\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:08:58 -0800 (PST)\r
+Received: by 10.205.118.142 with SMTP id fq14mr12336517bkc.85.1321387738483;\r
+       Tue, 15 Nov 2011 12:08:58 -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 o16sm18238094fag.21.2011.11.15.12.08.54\r
+       (version=SSLv3 cipher=OTHER); Tue, 15 Nov 2011 12:08:56 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v7 0/6] lib/cli: limit number of messages in search results\r
+Date: Tue, 15 Nov 2011 22:08:47 +0200\r
+Message-Id: <cover.1321386762.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: Tue, 15 Nov 2011 20:09:02 -0000\r
+\r
+v7, s/--first/--offset/ and s/--maxitems/--limit/ and rebased against master\r
+since since id:"cover.1321217854.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 --offset and --limit 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 --offset and --limit\r
+\r
+ NEWS                 |   10 +++++++\r
+ lib/notmuch.h        |   14 ++++++++++\r
+ lib/query.cc         |   44 +++++++++++++++++++++++++++++++\r
+ notmuch-count.c      |   44 +++++++++----------------------\r
+ notmuch-search.c     |   68 +++++++++++++++++++++++++++++++++++++++--------\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, 317 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