[PATCH 2/2] test: add test-binary to print the number of ghost messages
[notmuch-archives.git] / 69 / 91569c8839a6fada230de30517f5e22645ca7a
1 Return-Path: <jrollins@finestructure.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 olra.theworths.org (Postfix) with ESMTP id 9097E431FD0\r
6         for <notmuch@notmuchmail.org>; Wed,  7 Dec 2011 10:11:09 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id PS48giLmNriW for <notmuch@notmuchmail.org>;\r
16         Wed,  7 Dec 2011 10:11:07 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 0A025431FB6\r
20         for <notmuch@notmuchmail.org>; Wed,  7 Dec 2011 10:11:07 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 6C2C966E0249;\r
23         Wed,  7 Dec 2011 10:11:04 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 8B19966E025D;\r
28         Wed,  7 Dec 2011 10:11:00 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id A53054C1; Wed,  7 Dec 2011 13:10:59 -0500 (EST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Jani Nikula <jani@nikula.org>, Tom Prince <tom.prince@ualberta.net>,\r
33         notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH v3 0/2] notmuch hooks\r
35 In-Reply-To: <87mxb4b6l9.fsf@nikula.org>\r
36 References:\r
37  <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org>\r
38         <cover.1323176771.git.jani@nikula.org>\r
39         <87d3c1rtcq.fsf@servo.finestructure.net>        <87borlf4ve.fsf@hermes.hocat.ca>\r
40  <87mxb4b6l9.fsf@nikula.org>\r
41 User-Agent: Notmuch/0.10.2+73~g6bbc3f1 (http://notmuchmail.org) Emacs/23.3.1\r
42         (x86_64-pc-linux-gnu)\r
43 Date: Wed, 07 Dec 2011 10:10:57 -0800\r
44 Message-ID: <87ty5c8d72.fsf@servo.finestructure.net>\r
45 MIME-Version: 1.0\r
46 Content-Type: multipart/signed; boundary="=-=-=";\r
47         micalg=pgp-sha256; protocol="application/pgp-signature"\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Wed, 07 Dec 2011 18:11:10 -0000\r
61 \r
62 --=-=-=\r
63 \r
64 On Wed, 07 Dec 2011 20:05:22 +0200, Jani Nikula <jani@nikula.org> wrote:\r
65 > It would, but as I wrote in id:"87mxb8kt5r.fsf@nikula.org", I think that\r
66 > should come as another patch afterwards. I know I can't decide yet what\r
67 > should be passed and how. Processed message counts (added, deleted,\r
68 > renamed) could be passed on the command line, but how useful is that\r
69 > really? The same can be easily achieved through initial tagging.\r
70 \r
71 I would say that probably the best way to pass information to the hook\r
72 scripts is via the environment.  For instance, notmuch could pass the\r
73 variable NOTMUCH_NEW_MESSAGES containing the number of new messages to\r
74 the post-new script.\r
75 \r
76 jamie.\r
77 \r
78 --=-=-=\r
79 Content-Type: application/pgp-signature\r
80 \r
81 -----BEGIN PGP SIGNATURE-----\r
82 Version: GnuPG v1.4.11 (GNU/Linux)\r
83 \r
84 iQIcBAEBCAAGBQJO36wxAAoJEO00zqvie6q88Y0P/0p01R/Skx5Ibd/o7i2F0njo\r
85 XGvm/DlFQ2piaCyVLVG2IhZ6AygB/iloULTNLtSTEtB2ixSwowZSAKMnceeMtwTG\r
86 3p0X90w/wHNYp/L9mpgOsJAUls8QJcAJmtorXMh0IP0+wtQ45D+MoEu7ajIwfDR1\r
87 5VTvuhq2dHkOweIkkZwxgXk5fsf9J3mUbNaKbfG8j88BVx5IZG1YafKeb1+fCtuD\r
88 P0qEu8fQqbkSjpeEj9fOuEE3o2ILrgQKClHt5dgvtJoWDNJDCRaTHlXY+nr5EIRi\r
89 mV5qHITl1CpJYuBRuswxnMdVz+sZURjB7epi5X2izfm4p6wX89x5qm63udL4OY/2\r
90 YvRDn9jPXYstId+4k39x+sRqSzoDmat8FGbtGI/UFyvcdRK8hZZPQnP9nk9kbUpK\r
91 EmkaLgHHDOAiGCPcoiVhAyg1/d8QOOv0+mVH3hBtQtI3cqTbXOc0Dd6Vr7ONlNza\r
92 A+hExVWSLzKvyl9kIa0BpqLhDYnp9ToclPj+Kyr5iUTND2v1Ikebj4lVUAY3LRTK\r
93 FhsEzdedsAjcdKEBc7eTlVi/sWEeh+OYiDekOiNrALOP0HCzBds/3dRp0fnB1Sqx\r
94 Clbe940fwf9hLzEHiXd/8P54UvrzYrrJh0j1gdfC+G8zpUJxQUeEihkHEhFVjCNi\r
95 /q0rySLHxzXAe5HDNES8\r
96 =biir\r
97 -----END PGP SIGNATURE-----\r
98 --=-=-=--\r