emacs-orgmode
[Top][All Lists]
Advanced

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

Re: babel output seems to drop anything before % (in session)


From: Kaushal Modi
Subject: Re: babel output seems to drop anything before % (in session)
Date: Wed, 9 Jun 2021 00:01:23 -0400

Hi Nick,

On Tue, Jun 8, 2021 at 11:54 PM Kaushal Modi <kaushal.modi@gmail.com> wrote:

Thanks! I tried out your patch and it does fix the truncation of results output. Though, it retains the shell prompt in the first eval block and removes it only from the second eval block onwards.

I have one more feedback about the patch. I see that now indentation is stripped away from ob-shell results.

I am documenting git commands in ob-shell.

In the terminal, `git log' outputs:

=====
commit ba72672c499af8b713437d8c05eb5979969954dd (HEAD -> main)
Author: Foo Bar <foo.bar@fakeemail.com>
Date:   Tue Jun 8 23:56:48 2021 -0400

    first commit
=====

But in shell src block results, I see that that indentation is gone:

=====
#+begin_src shell
git log
#+end_src

#+RESULTS:
:
: commit 34924761f042eab59567ec150a73c730ab2c929c (HEAD -> main)
: Author: Foo Bar <foo.bar@fakeemail.com>
: Date:   Tue Jun 8 23:56:48 2021 -0400
:
: first commit
=====



Kaushal Modi

reply via email to

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