emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [babel] Executing sh-code


From: Sébastien Vauban
Subject: [Orgmode] Re: [babel] Executing sh-code
Date: Mon, 07 Dec 2009 10:59:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Torsten,

Torsten Wagner wrote:
>> Sébastien 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.
>
> 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 
> 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

-- 
Sébastien Vauban





reply via email to

[Prev in Thread] Current Thread [Next in Thread]