Achim Gratz <strom...@nexgo.de> writes:

> Alan Schmitt writes:
>> There was a revert of a commit that fixed it, and I got back to the
>> usual state of getting stuck on some test. (I tried finding which test
>> is getting stuck, but I don't know how. I just know the last test to
>> pass is test-ob-sh/dont-insert-spaces-on-expanded-bodies. Digging a bit
>> more the stuck process is running "zsh -i".
>
> Then it certainly is the sh session test and Emacs doesn't know how to
> interpret the prompt it gets from zsh and waits indefinately for the
> shell to start or zsh tries to do session management, which doesn't work
> in emacs' emulated terminal.  This test is a bit fragile, I've seen it
> do strange things on windows as well.  If you have that on your system,
> use posh as a shell for the invocation of emacs from the makefile, in
> local.mk:
>
> EMACS = SHELL=posh /path/to/emacs
>
> Make sure the shell prompt you get ends with "$" and maybe some
> whitespace, then emacs should know the shell is active.

I don't have posh, but putting

EMACS = SHELL=sh /path/to/emacs

in my local.mk worked. Thanks for the hint.

Alan

Reply via email to