haskell / haskell/haskell-mode

haskell-compile should use shell-quote-argument

Open
#1,549 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.