"Klebanow, Edward - FSIS" <edward.klebanow@usda.gov> writes: > I want to use the pre-new hook to run a script which will call mbsync -a -V > No matter what I try it is not working within notmuch in emacs. > I created script, made it executable, put it in my PATH. I don't think being in PATH should influence whether notmuch can find the hook script. > The script is in ~/.notmuch/hooks and is called pre-new > The hook/script works on the command line when I run notmuch new but in emacs it does not work > > Any ideas?? Nothing concrete, but - Maybe PATH is different in emacs. Try writing the full path to mbsync in the script. - you can try logging output (e.g. with "echo") to a file in /tmp and see what happens when the script is run. - ~/.notmuch/hooks is not a default location for hooks so you'd have to configure that (notmuch-config(1) has the details), _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org