Re: [PATCH v3 0/2] notmuch hooks
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 7 Dec 2011 02:27:27 +0000 (18:27 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:38 +0000 (09:40 -0800)
a6/109e1e0ce3cff490c1a3dfea2cd95f4c341108 [new file with mode: 0644]

diff --git a/a6/109e1e0ce3cff490c1a3dfea2cd95f4c341108 b/a6/109e1e0ce3cff490c1a3dfea2cd95f4c341108
new file mode 100644 (file)
index 0000000..c50e256
--- /dev/null
@@ -0,0 +1,111 @@
+Return-Path: <jrollins@finestructure.net>\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 A0970429E26\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Dec 2011 18:27:42 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 P8ytU3DjCKKq for <notmuch@notmuchmail.org>;\r
+       Tue,  6 Dec 2011 18:27:40 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id C3B10429E21\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Dec 2011 18:27:40 -0800 (PST)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 526E22E50BF6;\r
+       Tue,  6 Dec 2011 18:27:34 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [131.215.114.198])\r
+       (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 371A92E506B6;\r
+       Tue,  6 Dec 2011 18:27:30 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 192868EF; Tue,  6 Dec 2011 21:27:30 -0500 (EST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3 0/2] notmuch hooks\r
+In-Reply-To: <cover.1323176771.git.jani@nikula.org>\r
+References:\r
+ <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org>\r
+       <cover.1323176771.git.jani@nikula.org>\r
+User-Agent: Notmuch/0.10~rc1+25~g719d650 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 06 Dec 2011 18:27:27 -0800\r
+Message-ID: <87hb1dru9c.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Wed, 07 Dec 2011 02:27:42 -0000\r
+\r
+--=-=-=\r
+\r
+On Tue,  6 Dec 2011 15:22:36 +0200, Jani Nikula <jani@nikula.org> wrote:\r
+> Hi all, this is v3 of the notmuch hooks patches. I think this is nearing\r
+> completion apart from final review and, most notably, tests.\r
+\r
+Hey, Jani.  Thanks so much for these patches.  I think this is a really\r
+neat idea and it will be very useful.  I already know that this will cut\r
+out a lot of extraneous shell scripting that I'm relying on now.\r
+\r
+> I've been using this for some days now, and (subjective as it is) I have to say\r
+> I like offlineimap being run from notmuch new "pre-new" hook much better than\r
+> vice versa. Even more so for "post-new" tagging scripts.\r
+\r
+I think the only thing that I was not particularly clear about is that I\r
+guess the "pre-new" and "post-new" scripts actually need to be scripts\r
+named "pre-new" and "post-new" in the hooks directory.  For some reason\r
+I didn't quite grok that from the help pages, and was confused if I\r
+needed to make a new "pre-new" subdirectory in the hooks directory or\r
+what.  I think just expecting a script at hook/pre-new is fine, but it\r
+maybe could be made a little more explicit in the documentation.\r
+\r
+In fact, I think the best thing would actually be for notmuch new to\r
+make the .notmuch/hooks directory itself and to pre-fill it with "turned\r
+off" hook scripts that contain some useful comments on how to use them.\r
+This is what git does, and I think it's very handy, since it's all\r
+fairly self documenting.  The notmuch help could then just refer to the\r
+fact that they're there, and point people to the comments in the various\r
+scripts for how to use them.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJO3s8PAAoJEO00zqvie6q8z9kP/24dNbVzceYCZlBluZXfGh3Q\r
+wLwzf3T6nElrzhXHeBP1iWth361O92rmpsWn9wzRAPN056ph0QBMTp2c1d6grUOR\r
+L4dq91aUHAj0CapvNwcDBsLlnEWeYd3cajYSsPPFqqrjXC+hOmgFFIAGmqjN1oKA\r
+mxCXe82Eq4PxIdVt/Xg5ypYgIJD/VAwK/C0BgNYDBw/lqBIpFeJVOs9hXPCOx27D\r
+Cs0Tl3+gYxRvCWVLxEm2Ite92HGyexYlf9neOcK1hATZQlujgRplneb9tNjCNV9t\r
+v8DtQq8ndY/6votyapwo6roIohkhmfuRZDn32t8NHFzpZwL5zN0p625jY2a5TV3x\r
+Va///jOU3RCuFbAyhNvhKE0+BW7aqi56Y+BitbNoz9F9ZJMg2Fk5eMhfszw4b6to\r
+jkvC9hIy8hsAlVwp5djejmnRXDFoYqdjisG7NdlbOTYbYNsxnEJEjl2yYkQ0hBMP\r
+6n98XGK8I5XD4ymTp52/clYHLP1drwb6/gozP/ltz7PJJuJC4l9YNSVzD+B6JKCs\r
+qQ1IFZlEolKX84iDYhJ9FvdWdRsH0pMSnVs6eYUtFEuxbIVZ0643Q56pPWdW+VfZ\r
+y5IIYFccNjNL8stiOHCxWKF4Rv05yHDPS3rk2RueiO0Dn/EsDuLnDKOGbnuW+ghT\r
+tDqMcGnxvVXZu9WCoHk6\r
+=no9q\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r