[notmuch] [PATCH] Add count command to manual page
authorSandra Snan <sandra.snan@handgranat.org>
Thu, 18 Mar 2010 20:43:57 +0000 (21:43 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:24 +0000 (09:36 -0800)
40/83c1fc7287b1ffe1f6b21493ac901f2397751a [new file with mode: 0644]

diff --git a/40/83c1fc7287b1ffe1f6b21493ac901f2397751a b/40/83c1fc7287b1ffe1f6b21493ac901f2397751a
new file mode 100644 (file)
index 0000000..2584bc2
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <sandra.snan@handgranat.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 EDEF64196F2\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Mar 2010 13:43:07 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\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 2H-Xh9lX3PSS for <notmuch@notmuchmail.org>;\r
+       Thu, 18 Mar 2010 13:43:06 -0700 (PDT)\r
+Received: from mail-ew0-f210.google.com (mail-ew0-f210.google.com\r
+       [209.85.219.210])\r
+       by olra.theworths.org (Postfix) with ESMTP id 88F154196F0\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Mar 2010 13:43:06 -0700 (PDT)\r
+Received: by ewy2 with SMTP id 2so156467ewy.0\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Mar 2010 13:43:05 -0700 (PDT)\r
+Received: by 10.213.43.14 with SMTP id u14mr1025705ebe.19.1268944985201;\r
+       Thu, 18 Mar 2010 13:43:05 -0700 (PDT)\r
+Received: from ellen.idiomdrottning.org.handgranat.org ([83.251.93.216])\r
+       by mx.google.com with ESMTPS id 15sm282027ewy.12.2010.03.18.13.43.04\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Thu, 18 Mar 2010 13:43:04 -0700 (PDT)\r
+Message-ID: <4ba29058.0f67f10a.2b59.1a73@mx.google.com>\r
+Date: Thu, 18 Mar 2010 21:43:57 +0100\r
+From: Sandra Snan <sandra.snan@handgranat.org>\r
+To: notmuch@notmuchmail.org\r
+User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9\r
+       (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu)\r
+       MULE/6.0 (HANACHIRUSATO)\r
+MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Subject: [notmuch] [PATCH] Add count command to manual page\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: Thu, 18 Mar 2010 20:43:08 -0000\r
+\r
+Just found out that I=E2=80=99ve been piping things through wc for no reaso=\r
+n.\r
+Heh. Here=E2=80=99s a quick patch, if you want to add this to the manual pa=\r
+ge.\r
+\r
+Signed-off-by: Sandra Snan <sandra.snan@handgranat.org>\r
+---\r
+ notmuch.1 |   18 +++++++++++++++++-\r
+ 1 files changed, 17 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/notmuch.1 b/notmuch.1\r
+index e573749..4d300c0 100644\r
+--- a/notmuch.1\r
++++ b/notmuch.1\r
+@@ -126,7 +126,7 @@ syntax. See the\r
+ section below for more details on the supported syntax.\r
+=20\r
+ The\r
+-.BR search " and "show\r
++.BR "search" ", " "show" " and " "count"\r
+ commands are used to query the email database.\r
+ .RS 4\r
+ .TP 4\r
+@@ -239,6 +239,22 @@ See the\r
+ .B "SEARCH SYNTAX"\r
+ section below for details of the supported syntax for <search-terms>.\r
+ .RE\r
++.TP\r
++.BR count " <search-term>..."\r
++\r
++Count messages matching the search terms.\r
++\r
++The number of matching messages is output to stdout.\r
++\r
++A common use of\r
++.B notmuch count\r
++is to display the count of messages matching both a specific tag and\r
++either inbox or unread\r
++\r
++See the\r
++.B "SEARCH SYNTAX"\r
++section below for details of the supported syntax for <search-terms>.\r
++.RE\r
+ .RE\r
+=20\r
+ The\r
+--=20\r
+1.7.0\r
+\r