Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 14292429E25 for ; Thu, 8 Dec 2011 08:29:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kbgDavdwb6qQ for ; Thu, 8 Dec 2011 08:29:15 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id A0342431FB6 for ; Thu, 8 Dec 2011 08:29:15 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 0880466E0213; Thu, 8 Dec 2011 08:29:11 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 3400C66E00D8; Thu, 8 Dec 2011 08:29:07 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id D991669C; Thu, 8 Dec 2011 11:29:06 -0500 (EST) From: Jameson Graef Rollins To: Tomi Ollila , Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH v3 0/2] notmuch hooks In-Reply-To: References: <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org> <87hb1dru9c.fsf@servo.finestructure.net> <87iplsb23a.fsf@nikula.org> <87ipls81za.fsf@servo.finestructure.net> User-Agent: Notmuch/0.10.2+73~g6bbc3f1 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Thu, 08 Dec 2011 08:29:04 -0800 Message-ID: <874nxb81tb.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:29:18 -0000 --=-=-= On Thu, 08 Dec 2011 10:49:43 +0200, Tomi Ollila wrote: > If the hooks are named as 'pre-new.sample' and 'post-new.sample' and > executable then users need just copy the file and start editing (and > not remember to do any chmod's)... It seems simpler and cleaner to me to just have notmuch new check for executability, and give the example scripts the proper names. That's certainly what git does, so there's already precedent, and since we're modeling this on git it seems good to keep things consistent. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJO4OXQAAoJEO00zqvie6q8kAQP/R2mdhnssXrLcoh9nWLywv3G Exn3IWdSM7j2SgB8uvNK0DzTTGXRNF/iuspONCxBB3brqos8X11allYIlrHE26rf 9QP9gNrdS4LkGpfaSFYtOvT8TFBjPOuIRUScVVdgF/wM7yE2gDeAfG40ea4WlMP0 2sb+ZtfFpxXARDNQ8L3XmPSh/RWAxxXpc23TJyn3vmg2Nu359IPpk3VplBGNwFrj jBJzw2oU2jP1FlCV8qsq2/orJB+yDcbwU9F+dxA06MRtYm+0eCWPtcGcbV5mQsdU 66ZnGF9v3lcM2VTlxT3Aqie+gD3/K+nFKVqqXJ6eL9GMRSWUJYTSVsxuj931SIpb iGw+jC8IFa+H1h5RHwDzKiQCcVHBjVW8yi78BoswWpYX0MohmZ+VXkTtuaFsT80p jZAEEbiue6wVJdjhVV26zZUEep0fwzz9vJxz31V6CmFq0CmNMkgCa9xfTWgNWVqz egan5w7hssarx6VO9E69jSLpSFaioMXNXN6krj3Td1iKAkli12HO45e+S+huuurH CTFoRvyOyDsympAeEaj/+VoSq0dUac0t+l+l8CUmRk1U0oaUbSfK6WCgBrQVF5ya EmJBUf6m916zx9mypujQvva1lfObgr6XyXRvsdZ5REedLpf0EUDlhKjbemKAUl0A shYDDjUljqLaGVIu1Fb1 =tPwb -----END PGP SIGNATURE----- --=-=-=--