Re: [Orgmode] [babel] options to the example directive

From:

Dan Davison

Subject:

Re: [Orgmode] [babel] options to the example directive

Date:

Wed, 04 Nov 2009 13:52:55 -0500

User-agent:

Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Eric S Fraga <address@hidden> writes:
> At Tue, 03 Nov 2009 13:57:22 -0700,
> Eric Schulte wrote:
>>
>> Dan Davison <address@hidden> writes:
>>
>> >
>> > This is a consequence of the same issue: org-exp-blocks preprocesses
>> > your src block in a pre-export buffer (a copy of the original), hands it
>> > to org-babel, which creates the results block (overwriting the version
>> > where you had manually inserted switches), and that results block lacks
>> > any switches.
>> >
>>
>> Would it be worthwhile to add a :results_switches header argument for
>> passing switches through to a results block? If that would solve the
>> problem it should be easy to implement. Best -- Eric
>
> Dan & Eric, I think this would be ideal, and results_switches is a
> perfectly fine name.
That's in branch results-switches at git://repo.or.cz/org-mode/babel.git, with
patch below.
Dan