emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* refernce to call results
@ 2013-11-13 10:19 Andreas Leha
  2013-11-13 11:12 ` Sebastien Vauban
  2013-11-13 11:24 ` Sebastien Vauban
  0 siblings, 2 replies; 9+ messages in thread
From: Andreas Leha @ 2013-11-13 10:19 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

how do I reference the results of a #+call line?

Here are my unsuccessful attempts:

--8<---------------cut here---------------start------------->8---
* Test call results

#+name: curdir
#+begin_src sh
  echo "$PWD"
#+end_src

#+results: curdir
: /home/andreas/tmp/junk/2013/11


#+name: curdircall
#+call: curdir()

#+results: curdircall
: /home/andreas/tmp/junk/2013/11

#+begin_src sh :var test=curdircall
  echo "$test"
#+end_src

#+results:
: nil

#+begin_src sh :var test=curdircall()
  echo "$test"
#+end_src

#+results:
: nil

--8<---------------cut here---------------end--------------->8---


Regards,
Andreas

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-13 20:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 10:19 refernce to call results Andreas Leha
2013-11-13 11:12 ` Sebastien Vauban
2013-11-13 11:33   ` Andreas Leha
2013-11-13 11:24 ` Sebastien Vauban
2013-11-13 11:45   ` Andreas Leha
2013-11-13 13:33     ` Sebastien Vauban
2013-11-13 13:59       ` [feature request] " Andreas Leha
2013-11-13 18:45         ` Eric Schulte
2013-11-13 20:08           ` Andreas Leha

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).