From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] options to the example directive Date: Wed, 04 Nov 2009 15:01:29 -0700 Message-ID: References: <87ljinwtdm.wl%ucecesf@ucl.ac.uk> <87ws27jyv7.fsf@stats.ox.ac.uk> <87639qy672.wl%ucecesf@ucl.ac.uk> <87vdhqcebc.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5nvA-0006OU-FB for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:01:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5nv5-0006L2-Jq for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:01:39 -0500 Received: from [199.232.76.173] (port=58245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5nv5-0006Kw-FS for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:01:35 -0500 Received: from mail-pw0-f47.google.com ([209.85.160.47]:48033) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5nv4-0006aB-UD for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 17:01:35 -0500 Received: by pwj10 with SMTP id 10so3605467pwj.26 for ; Wed, 04 Nov 2009 14:01:33 -0800 (PST) In-Reply-To: <87vdhqcebc.fsf@stats.ox.ac.uk> (Dan Davison's message of "Wed, 04 Nov 2009 13:52:55 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs org-mode mailing list Dan Davison writes: > Eric S Fraga writes: > >> At Tue, 03 Nov 2009 13:57:22 -0700, >> Eric Schulte wrote: >>> >>> Dan Davison 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. > This changes has now been merged into the main branch.