From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Jones Subject: Example not quite right Date: Fri, 4 Jan 2013 09:43:23 -0500 Message-ID: Reply-To: gmj@pobox.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0d33067c30c04d27780eb Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr8Ua-0005Vc-SI for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 09:43:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr8UX-00055n-ME for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 09:43:28 -0500 Received: from mail-we0-f180.google.com ([74.125.82.180]:65224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr8UX-00055P-Fp for emacs-orgmode@gnu.org; Fri, 04 Jan 2013 09:43:25 -0500 Received: by mail-we0-f180.google.com with SMTP id t57so7607492wey.25 for ; Fri, 04 Jan 2013 06:43:24 -0800 (PST) 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 --047d7bf0d33067c30c04d27780eb Content-Type: text/plain; charset=ISO-8859-1 FYI, >From http://orgmode.org/worg/org-contrib/babel/intro.html #+name: square(x) #+begin_src python return x*x #+end_src Now we use the source block: #+call: square(x=6) yields Reference 'square' not found in this buffer . It works fine if the parameter name is removed from the #name block: #+name: square #+begin_src python return x*x #+end_src Now we use the source block: #+call: square(x=6) #+RESULTS: square(x=6) : 36 ---George Jones --047d7bf0d33067c30c04d27780eb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBzdHlsZT5GWUksoDwvZGl2PjxkaXY+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