From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Error "No :file header argument given" - minor bug? Date: Fri, 04 Dec 2015 09:50:05 +0100 Message-ID: <87r3j2sima.fsf@hornfels.zedat.fu-berlin.de> References: <874mg2zgeh.fsf@hornfels.zedat.fu-berlin.de> <87wpsyw411.fsf@hornfels.zedat.fu-berlin.de> <87610hl3gq.fsf_-_@hornfels.zedat.fu-berlin.de> <87h9jzbd07.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4m4S-0004w8-Pm for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 03:50:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4m4P-0006qu-KK for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 03:50:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:46913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4m4P-0006qn-6i for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 03:50:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a4m4N-0001CT-T7 for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 09:50:23 +0100 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 09:50:23 +0100 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 09:50:23 +0100 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 Aaron, Aaron Ecay writes: > Hi Loris, > > It’s difficult to say without more context, but I think you might not > need :results graphics on the code block that you are #+call-ing. > :results graphics is intended for situations where Org should arrange > for the plot to be written, whereas you have undertaken this yourself. You're right. I don't need ':results graphics'. After removing it and the ':file' header, just the file with the desired name is produced. At first I got the following error org-babel-ref-resolve: Wrong type argument: consp, nil but this was just due to not having updated the headers. Thanks for the help, Loris -- This signature is currently under construction.