hasktags
should be in PATH
, but are you sure that PATH
in Emacs is the same as PATH
in shell? I just tried, and haskell-process-generate-tags
worked for me without problem. Try to setup PATH
from Emacs with:
(setenv "PATH" (concat (getenv "PATH") ":directory_with_hasktags"))
You can also bind C-x C-s
to haskell-mode-save-buffer
as described in examples/init.el
- in this case, you can set haskell-tags-on-save
variable to t
, and hasktags
will be called on every save of you haskell files.