Hello,

Ross Donaldson <gast...@gmail.com> writes:

> When the header argument ~:results verbatim~ is set in a #+PROPERTY,
> the results of #+CALL blocks are surrounded by full quotes:

Isn't it the point of the "verbatim" parameter?

> * Good
> #+name: first-demo
> #+BEGIN_SRC sh
> echo 5 #+END_SRC
>
> #+RESULTS: first-demo
> : 5
> #+call: first-demo()
>
> #+RESULTS:
> : 5
>
> * Bad
> :PROPERTIES:
> :header-args: :results verbatim
> :END:
>
> #+name: second-demo
> #+BEGIN_SRC sh
> echo 5 #+END_SRC
>
> #+call: second-demo()
>
> #+RESULTS: : "5 : "

What did you expect instead?

> * Weird
> #+name: third-demo
> #+BEGIN_SRC sh :results verbatim
> echo 5 #+END_SRC
>
> #+call: third-demo()
>
> #+RESULTS:
> : 5

Also, what did you expect? Note that :results verbatim is applied to the
block, not to the call line.


Regards,

-- 
Nicolas Goaziou

Reply via email to