From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: Re: [babel] Executing sh-code Date: Mon, 7 Dec 2009 10:10:25 +0900 Message-ID: <200912071010.25335.torsten.wagner@googlemail.com> References: <87k4xey99s.fsf@mundaneum.com> <87k4x2yipv.fsf@mundaneum.com> <87pr6uq1a3.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHS4z-0005Nh-3m for emacs-orgmode@gnu.org; Sun, 06 Dec 2009 20:07:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHS4u-0005N6-H6 for emacs-orgmode@gnu.org; Sun, 06 Dec 2009 20:07:56 -0500 Received: from [199.232.76.173] (port=40998 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHS4u-0005N3-De for emacs-orgmode@gnu.org; Sun, 06 Dec 2009 20:07:52 -0500 Received: from mail-yw0-f196.google.com ([209.85.211.196]:63420) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHS4u-000459-KF for emacs-orgmode@gnu.org; Sun, 06 Dec 2009 20:07:52 -0500 Received: by ywh34 with SMTP id 34so3774411ywh.1 for ; Sun, 06 Dec 2009 17:07:51 -0800 (PST) In-Reply-To: <87pr6uq1a3.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, > Hi Eric, >=20 > S=E9bastien Vauban wrote: > > "Eric Schulte" wrote: > >> > >> [...] The following works for me without any hang. > >> The only difference I can see between our setups is a matching prompt > >> regexp. > > > > That was it. Fixing my PS1 prompt to be like yours (temporarily keeping= =20 your > > regexp from the comint-prompt) *did* solve the problem. >=20 > Testing that a bit further, I notice that: >=20 > - my Bash prompt must be uncolored for the output to be catchable by > Org-babel; >=20 > - ls can be colored, but control characters are then passed "as is" to > Org-babel, so better not doing it. As I said before, the example worked fine for me... I like to add that I use a very very colorful prompt but using zsh instead = of=20 bash.... Maybe this is somehow interesting for bug-fixing. Best regards Torsten