From mboxrd@z Thu Jan  1 00:00:00 1970
From: Alan Schmitt <alan.schmitt@polytechnique.org>
Subject: Re: Compilation problem
Date: Wed, 19 Sep 2012 09:28:51 +0200
Message-ID: <m2a9wma2to.fsf@polytechnique.org>
References: <m2pq5u2h8h.fsf@top.irisa.fr> <87d31j1k1m.fsf@bzg.ath.cx>
	<m2pq5jcpbm.fsf@polytechnique.org> <877grrgkz4.fsf@Rainer.invalid>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:45738)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1TELHw-0005JS-AG
	for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 10:30:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1TELHp-0003U3-ES
	for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 10:30:03 -0400
Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:40921)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1TELHp-0003Rw-8D
	for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 10:29:57 -0400
In-Reply-To: <877grrgkz4.fsf@Rainer.invalid> (Achim Gratz's message of "Tue,
	18 Sep 2012 22:00:15 +0200")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org

Achim Gratz <Stromeko@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