Closed
Description
Hello! I recently updated haskell-mode
and noticed that the tag generation (when I save/reload a file) gets "locked" into powershell. I don't know why, bu when the current command is run inside emacs:
(format ":!powershell -Command \"& { cd %s ; hasktags -e -x (ls -fi *.hs -exclude \\\"#*#\\\" -name -r) ; exit }\""
(haskell-session-cabal-dir
(haskell-process-session (car state))))
Everything just freezes. The equivalent command, in the shell itself, does not hang.
Why we must do this with powershell? Is there a specific reason to not use hasktags
directly?
On my configuration, I changed the above line with:
(format ":!hasktags --output=%s\\TAGS -x -e %s"
(haskell-session-cabal-dir (haskell-process-session (car state)))
(haskell-session-cabal-dir (haskell-process-session (car state))))
And the result looks the same to me (it's even recursive).
If the above solution is acceptable, I can send a patch/pull request later.
Metadata
Metadata
Assignees
Labels
No labels