Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f6 / 01d2b374931700e39a5fe6c5085b62a7d3a71a
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 8CE926DE028C\r
6  for <notmuch@notmuchmail.org>; Sat,  9 Apr 2016 04:02:28 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.019\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.019 tagged_above=-999 required=5\r
12  tests=[AWL=-0.008, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id Tc_UpnuffJxL for <notmuch@notmuchmail.org>;\r
17  Sat,  9 Apr 2016 04:02:20 -0700 (PDT)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id A9A346DE0173\r
20  for <notmuch@notmuchmail.org>; Sat,  9 Apr 2016 04:02:20 -0700 (PDT)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1aoqep-0008Ue-DT; Sat, 09 Apr 2016 07:02:27 -0400\r
24 Received: (nullmailer pid 17852 invoked by uid 1000);\r
25  Sat, 09 Apr 2016 11:02:16 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
28  Notmuch Mail <notmuch@notmuchmail.org>\r
29 Subject: Re: [PATCH v4 1/7] test: add test-binary to print the number of ghost\r
30  messages\r
31 In-Reply-To: <1460166892-29721-1-git-send-email-dkg@fifthhorseman.net>\r
32 References: <1459445693-3900-1-git-send-email-dkg@fifthhorseman.net>\r
33  <1460166892-29721-1-git-send-email-dkg@fifthhorseman.net>\r
34 User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1\r
35  (x86_64-pc-linux-gnu)\r
36 Date: Sat, 09 Apr 2016 08:02:16 -0300\r
37 Message-ID: <877fg73v0n.fsf@zancas.localnet>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.20\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44  <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
46  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
51  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 09 Apr 2016 11:02:28 -0000\r
53 \r
54 Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
55 \r
56 \r
57 > +    if (argc < 2) {\r
58 > +     std::cerr << "usage: ghost-report xapian-dir" << std::endl;\r
59 > +    }\r
60 > +\r
61 > +    Xapian::Database db(argv[1]);\r
62 > +    std::cout << db.get_termfreq("Tghost") << std::endl;\r
63 > +}\r
64 \r
65 It's completely my fault, but this should have an exit(1) after printing\r
66 the error message.\r