Nicolas --

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

I didn't think so, no. Certainly, it doesn't behave this way in any other 
context, nor does the documentation make me think it should.

> What did you expect instead?

I expect the results of a call block to be the same as from evaluating the 
named src block directly. Why would I expect anything else?

Nicolas Goaziou writes:

> 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,


--
Cheers,
Ross

Reply via email to