From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [babel] Executing sh-code Date: Fri, 04 Dec 2009 10:04:06 -0700 Message-ID: References: <87k4xey99s.fsf@mundaneum.com> <200911271900.08393.torsten.wagner@googlemail.com> <87ws1cgsd6.fsf@mundaneum.com> <877htb4uow.fsf@stats.ox.ac.uk> <87638tnivd.fsf@mundaneum.com> <87iqcr9fo3.fsf@mundaneum.com> <87k4x2yipv.fsf@mundaneum.com> <87pr6uq1a3.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGbZp-0007Uh-71 for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGbZk-0007OL-1r for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:16 -0500 Received: from [199.232.76.173] (port=48452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGbZj-0007OC-Tk for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:11 -0500 Received: from mail-pz0-f181.google.com ([209.85.222.181]:62222) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGbZj-0007eq-NU for emacs-orgmode@gnu.org; Fri, 04 Dec 2009 12:04:11 -0500 Received: by pzk11 with SMTP id 11so2501784pzk.14 for ; Fri, 04 Dec 2009 09:04:10 -0800 (PST) In-Reply-To: <87pr6uq1a3.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Fri, 04 Dec 2009 15:09:08 +0100") 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > Hi Eric, > > S=C3=A9bastien 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 = your >> regexp from the comint-prompt) *did* solve the problem. > > Testing that a bit further, I notice that: > > - my Bash prompt must be uncolored for the output to be catchable by > Org-babel; > > - ls can be colored, but control characters are then passed "as is" to > Org-babel, so better not doing it. > Thanks for these notes. I'll add a task related to this, as it shouldn't be too difficult to strip out the ansi-color characters. Thanks -- Eric > > Dunno about the multiline prompt. Stopped using this. Causes me too much > trouble anyway with other configs as well (such as Tramp). > > Best regards, > Seb