haskell / haskell/haskell-mode
haskell-compile should use shell-quote-argument
Open
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
I don't use haskell-mode, but I like to answer Emacs questions on Stack Overflow. I came across this: https://stackoverflow.com/questions/46042828/directory-not-found-when-compiling-haskell-with-emacs, and I think it could be easily fixed by using `shell-quote-argument`.
E.g.
(format haskell-compile-command (shell-quote-argument srcname))
Contributor guide
Assessment
This issue has not been assessed yet.