[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [babel] Executing sh-code
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Re: [babel] Executing sh-code |
Date: |
Fri, 04 Dec 2009 10:04:06 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) |
Sébastien Vauban <address@hidden> writes:
> Hi Eric,
>
> 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.
>
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
[Orgmode] Re: [babel] Executing sh-code, Sébastien Vauban, 2009/12/02