From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] Executing sh-code Date: Mon, 07 Dec 2009 10:59:28 +0100 Message-ID: <87skbnyuin.fsf@mundaneum.com> References: <87k4xey99s.fsf@mundaneum.com> <87k4x2yipv.fsf@mundaneum.com> <87pr6uq1a3.fsf@mundaneum.com> <200912071010.25335.torsten.wagner@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Torsten, Torsten Wagner wrote: >> 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. >>=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 instea= d of=20 > bash.... > Maybe this is somehow interesting for bug-fixing. What's your value for PS1 under zsh? What's your value for comint-prompt-regexp under Emacs shell? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode