all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* #+CALL cross-file with reference arguments
@ 2014-03-24  8:07 Pascal Fleury
  0 siblings, 0 replies; only message in thread
From: Pascal Fleury @ 2014-03-24  8:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Hi!

I am trying to do a call across files with arguments that are references:

=========== file:config.org
#+NAME: setup
#+HEADER: :var model=""
#+BEGIN_SRC sh
some bash code that works locally
#+END_SRC

=========== file:experiment.org
#+NAME: experiment
| experiment_name | svm_classifier |
| num_samples     | 15000          |

#+NAME: failing_call
#+CALL: config.org:setup(model=experiment[0,1])

#+NAME: passing_call
#+CALL: config.org:setup(model="svm_classifier")

#+NAME: working_reference
#+BEGIN_SRC sh :var model=experiment[0,1]
echo ${model}
#+END_SRC

For the failing_call, I get the error "Reference 'experiment' not found in
this buffer". However, if I use that same reference in another code block,
it works.
Is there an issue with passing reference through #+CALL ?

btw, I am using emacs-orgmode 8.2.5h

--paf

[-- Attachment #2: Type: text/html, Size: 2110 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-24  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24  8:07 #+CALL cross-file with reference arguments Pascal Fleury

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.