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.