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

diff --git a/b6/d480ca2b35feb46d555f500e777f471ec5c634 b/b6/d480ca2b35feb46d555f500e777f471ec5c634
new file mode 100644 (file)
index 0000000..1ffb9b6
--- /dev/null
@@ -0,0 +1,96 @@
+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 C1CC7431FD0\r
+       for <notmuch@notmuchmail.org>; Wed,  7 Dec 2011 14:13:23 -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 xCszLM+H0CSN for <notmuch@notmuchmail.org>;\r
+       Wed,  7 Dec 2011 14:13:19 -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 C9936431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  7 Dec 2011 14:13:19 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id E468466E00EA;\r
+       Wed,  7 Dec 2011 14:13:18 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (m62.ligo.caltech.edu [131.215.115.162])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 2959066E0089;\r
+       Wed,  7 Dec 2011 14:13:16 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id B892B598; Wed,  7 Dec 2011 17:13:15 -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: <87iplsb23a.fsf@nikula.org>\r
+References:\r
+ <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org>\r
+       <cover.1323176771.git.jani@nikula.org>\r
+       <87hb1dru9c.fsf@servo.finestructure.net>        <87iplsb23a.fsf@nikula.org>\r
+User-Agent: Notmuch/0.10.2+73~g6bbc3f1 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 07 Dec 2011 14:13:13 -0800\r
+Message-ID: <87ipls81za.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 22:13:23 -0000\r
+\r
+--=-=-=\r
+\r
+On Wed, 07 Dec 2011 21:42:33 +0200, Jani Nikula <jani@nikula.org> wrote:\r
+> I wonder, though, whether the samples should be created only when\r
+> creating the database, or whenever the hooks directory does not exist?\r
+> The latter, I guess. Otherwise existing notmuch users would hardly get\r
+> the sample hooks.\r
+\r
+I agree, the later would be better.  notmuch new should just create the\r
+hooks directory (and example scripts) if they don't already exist.\r
+\r
+I also think it's nice to have the scripts not executable to begin with,\r
+and the hook runner only executes the script if they are executable.\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
+iQIcBAEBCAAGBQJO3+T5AAoJEO00zqvie6q8c4AP/RM7KZsgqm8U7LmnrMR50wfU\r
+jsKJvmHL1CAJs4B5Do9z8xZHopzeC11Ik8g5XeOHmvYmn1L7oydyosXgAoCIoi0Y\r
+csRbCx6VECg9lhdRmWlgJB+UFN/VLXQ68JXZtMcEyWE59MZwVKUyWcVW0TPVUSec\r
+KAI/vxBqp3U455WPaIME3r6o9pZRWZe8Ttpe0zKnP2IaMtgZcFCfmC6Xm6VOe7ZM\r
+Os6dKD3bveuC9877oxxaAt4wwOtTBUSRfoSOlA7FA+il1x+3t96FnwSKzytXC0ey\r
+LvAxihpBuwV6HQ847UDfryXeV5jCltVgc4X4zbGFFrNPwrnmNzOd/BGLjAqrwwGe\r
+vn6Ck+Fz1ckne/as5mbxBqR65iYeHJPvqHtZKST/lKKBwJ8d+vIIi56tN/QYT8ll\r
+GOoNUWcOflCcZQkZApcesaAOEslbcuMI30xuMBhqQAa9rHvUl4/u94bIYDrss8xw\r
+btty8qG7UrKlfuZax6OfZOE5qm8eSvFizjCmNW53EqkiZqhqcM4fm79pQ6Zjl4cJ\r
+6quuwlOnbArlZWwLJBU0MqjzDn29KMw5ttnRnd1fwhUmxzThNA8ufEZ8Yst2/rmB\r
+Cg623LJWho/NK5V8eiPBgsKcCS9qisGw0FceoOFSFGv4ExPjyy/FyVFnUjyY+aeZ\r
+GtyBPhTkF5UBllWprXsK\r
+=6nfP\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r