[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Default silent results
From: |
Nick Dokos |
Subject: |
Re: [O] Default silent results |
Date: |
Mon, 13 Mar 2017 13:29:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Jarmo Hurri <address@hidden> writes:
> Jérémie Juste <address@hidden> writes:
>
> Greetings.
>
>> you can tweek the default behaviour using
>> org-babel-default-header-args:org variable
>>
>> My default configuration for org is the following. I did not modify
>> it.
>>
>> org-babel-default-header-args:org is a variable defined in ‘ob-org.el’.
>> Its value is ((:results . "raw silent") (:exports . "code"))
>
> So the default value is really language dependent, not always "replace"
> as the manual suggested. Ok, that explains it. Thanks!
>
I wonder if that's intended behavior though: what's the reason for org
blocks to have non-default behavior?
Most languages set org-babel-default-header-args:<LANG> to '(),
although some do non-trivial stuff (abc, asymptote, ditaa, dot,
gnuplot, mscgen, plantuml all set :results to file e.g.), but it's not
clear to me why org sets it to "raw silent".
--
Nick