Hello,

Sergey <srg.koshe...@protonmail.com> writes:

> Code block header argument ~replace~ seems to not to work in conjunction
> with ~raw~. This leads to output being pre-pended instead of being
> replaced to the results block.
>
> Below is a working example:
>
> #+begin_src python :session *python-test* :results output raw replace
> print('This line will be added every time this code runs')
> #+end_src
>
> #+RESULTS:
> This line will be added every time this code runs

This is expected. With "raw", Org has no way to determine where the
output starts, ends, or even if there is one already. You may want to
use another option if you want to replace results.

Regards,
-- 
Nicolas Goaziou

Reply via email to