From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [babel] [bug] Header argument :file in call_ lines Date: Mon, 26 Mar 2012 20:33:59 +0200 Message-ID: <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]:49459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCEkZ-0006on-NR for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 14:34:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCEkY-00085E-3S for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 14:34:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:58604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCEkX-00084k-Td for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 14:34:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SCEkW-0002uK-6Q for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 20:34:36 +0200 Received: from p57b66f97.dip.t-dialin.net ([87.182.111.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 20:34:36 +0200 Received: from andreas.leha by p57b66f97.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 20:34:36 +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: emacs-orgmode@gnu.org 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]]