emacs-orgmode
[Top][All Lists]
Advanced

[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:03:08 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)

Sébastien Vauban <address@hidden> writes:

> Hi Eric,
>
> "Eric Schulte" wrote:
>> Sébastien Vauban <address@hidden> writes:
>>>>>
>>>>> #+begin_src sh :session "ecm"
>>>>> ls *.org
>>>>> #+end_src
>
> Nothing to do with the problem, but better to write `:session ecm' than
> `:session "ecm"', no?
>

Correct, it will be interpreted as a string either way but :session
"ecm" will actually name your buffer '"emc"' quotes included

[...]
> That was it. Fixing my PS1 prompt to be like yours (temporarily keeping your
> regexp from the comint-prompt) *did* solve the problem.
>
>> #+begin_src sh :session eric
>>   cd ~/Desktop/clj/
>>   ls *.clj
>> #+end_src
>>
>> #+results:
>> | "ants.clj" | "" | "concurrent.clj" | "" | "hello.clj" | "" | 
>> "spell-checker.clj" |
>
> Similar results for my directory.
>
> Thanks a lot!!!
>

Excellent, happy this has been resolved -- Eric

>
> Best regards,
>   Seb




reply via email to

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