From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] [bug] Header argument :file in call_ lines Date: Mon, 26 Mar 2012 13:35:39 -0400 Message-ID: <878vinz2ms.fsf@gmx.com> References: <87vclrnre0.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCFi2-0006JJ-NA for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 15:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCFi0-0002BB-Lf for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 15:36:06 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:42442 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SCFi0-0002At-EW for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 15:36:04 -0400 In-Reply-To: <87vclrnre0.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Mon, 26 Mar 2012 20:33:59 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > Hi all, > > I think there is a bug in babel concerning inline source block calls. > > Suppose, I have a source block that generates a file: > #+name: someplot > #+begin_src R :results graphics :file someplot.pdf :var somemax=10 > plot(1:somemax) > #+end_src > > #+results: someplot > [[file:someplot.pdf]] > > I am trying to set the file name when I call this source block: > > Like in this file: > call_someplot[:results graphics :file somebiggerplot.pdf]()[:results file] > where I still get the "someplot.pdf" as result. > > Note, that it functions as expected on non-inline call lines: > #+call: someplot[:results graphics :file somebiggerplot.pdf]() :results file > > #+results: someplot[:results graphics :file somebiggerplot.pdf]() > [[file:somebiggerplot.pdf]] Hi Andreas, I just pushed up a fix for this issue. Thanks for reporting, -- Eric Schulte http://cs.unm.edu/~eschulte/