From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Lupton Subject: Re: Bug: Extra spaces in babel #+call arguments [7.9.3d (release_7.9.3d-823-gd06fa4 @ /usr/share/emacs/24.2/site-lisp/org/) Date: Fri, 1 Feb 2013 12:46:16 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1G42-0001he-T7 for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 07:49:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1G3x-00055g-9F for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 07:49:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:49968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1G3x-00055E-2u for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 07:49:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U1G4B-0006Ud-V5 for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 13:50:04 +0100 Received: from rcl33pc.eng.cam.ac.uk ([129.169.141.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 13:50:03 +0100 Received: from r.lupton by rcl33pc.eng.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 13:50:03 +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 Thomas S. Dye tsdye.com> writes: > Rick Lupton gmail.com> writes: > > > As a separate question, is it possible to get ":results file" as the > > default from the original block so it doesn't have to be repeated in each > > #+CALL ? > > This should work: > > * Appropriate Heading Level > :PROPERTIES: > :RESULTS: file > :END: > Yes, that works fine thanks. For the other question, it's easy to work around -- as below -- though it'd be nice not to have to. #+name: nbimg #+begin_src sh :var nb="" :var tag="" :results output file # get rid of spurious trailing spaces fn=$(echo $nb | sed 's/^ *//g') nbimage -o auto_images "$fn.ipynb" "$tag" #+end_src Thanks, Rick