Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread TEC
Nick Dokos writes: TEC writes: :results raw drawer You mean `:results drawer'? There is no reason to include `raw'. Ah yes, I mean instead of "raw" use ":results drawer"  Timothy.

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread Nick Dokos
TEC writes: > Julius Dittmar writes: >> as far as I know this is no bug. Reason: How could org tell where >> the old results end? There's no end marker. Thus instead of removing >> everything that follows, it refrains from removing anything. > > This is my understanding. It's also why I tend

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread TEC
Julius Dittmar writes: as far as I know this is no bug. Reason: How could org tell where the old results end? There's no end marker. Thus instead of removing everything that follows, it refrains from removing anything. This is my understanding. It's also why I tend to use :results raw

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread Julius Dittmar
Hi Sergey, Am 18.08.20 um 00:36 schrieb Sergey Koshelev: > When a source block (I have tested with python, see below) has `raw` > header arg it ignores `replace` argument. The result instead is prepended. > > Example: > > #+begin_src python :results output raw replace >   print('This line will be

Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-20 Thread Sergey Koshelev
Hi all! When a source block (I have tested with python, see below) has `raw` header arg it ignores `replace` argument. The result instead is prepended. Example: #+begin_src python :results output raw replace print('This line will be added every time this code runs') #+end_src #+RESULTS: