Programing

cabal 또는 작업 디렉토리가 프로젝트 디렉토리로 설정된 경우 Emacs Interactive-Haskell이 응답하지 않음

lottogame 2020. 7. 9. 08:19
반응형

cabal 또는 작업 디렉토리가 프로젝트 디렉토리로 설정된 경우 Emacs Interactive-Haskell이 응답하지 않음


의 Interactive-Haskell repl에서 이상한 행동을하고 emacs있습니다. 파일을 소싱하면 emacs미니 버퍼에 일련의 대화식 프롬프트가 표시됩니다.

Start a new project named 'myproject'?
Cabal dir (guessed from myproject.cabal):
Build target (empty for default):
Set current directory:

cabal 디렉토리 또는 현재 디렉토리를 프로젝트 디렉토리의 기본값으로두면 repl이 응답하지 않습니다. 대화식 Haskell 창에 람다 프롬프트가 표시되면 입력 할 수 있지만 Enter 키를 누르면 평가되지 않습니다. 커서는 Enter 키를 전혀 누르지 않은 것과 같은 줄에 있습니다.

두 디렉토리를 모두 프로젝트 디렉토리가 아닌 다른 경로로 변경하면 repl이 정상적으로 동작하고 예상대로 표현식을 평가합니다.


이것은 알려진 버그입니다. 그리고 좋은 캐치!

풀 요청 https://github.com/haskell/haskell-mode/pull/1116/files가 해결합니다.

참고 URL : https://stackoverflow.com/questions/31220370/emacs-interactive-haskell-repl-non-response-if-either-the-cabal-or-working-direc

반응형