emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* What is output for org-babel?
@ 2009-11-05 11:17 andrea Crotti
  2009-11-05 14:26 ` Darlan Cavalcante Moreira
  2009-11-08 15:05 ` "Martin G. Skjæveland"
  0 siblings, 2 replies; 10+ messages in thread
From: andrea Crotti @ 2009-11-05 11:17 UTC (permalink / raw)
  To: emacs-orgmode

I'm with org-mode 6.31a, I was trying to
get output in the exported files but I never see the output.

So I investigate and for example this

#+BEGIN_SRC python
import os; os.listdir(os.getcwd())
#+END_SRC

doesn't return any output while this

#+BEGIN_SRC python
"hello"
#+END_SRC

does and this:

#+BEGIN_SRC python
return "hello"
#+END_SRC
Again doesn't.

I guess that the returned value is depending also on the language,
but in general what's the rule?

Another little thing, I have a file with many haskell source blocks.
They are separated because they are different answers,
but if they are loaded separately they don't work.
So is there a way to take all the source code and load it at once?

Something like more or less:
(append-to-buffer "haskell-buf" (get-code "exercises.org"))

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

end of thread, other threads:[~2009-11-12  0:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05 11:17 What is output for org-babel? andrea Crotti
2009-11-05 14:26 ` Darlan Cavalcante Moreira
2009-11-06 12:13   ` andrea Crotti
2009-11-06 12:17     ` Carsten Dominik
2009-11-06 16:15     ` Thomas S. Dye
2009-11-08 20:20   ` Dan Davison
2009-11-12  0:25     ` Dan Davison
2009-11-08 15:05 ` "Martin G. Skjæveland"
2009-11-08 15:19   ` "Martin G. Skjæveland"
2009-11-08 19:48   ` Dan Davison

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).