From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrea Crotti Subject: What is output for org-babel? Date: Thu, 5 Nov 2009 11:17:39 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N60Ss-0004bv-M8 for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:25:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N60Sn-0004WR-IP for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:25:18 -0500 Received: from [199.232.76.173] (port=56813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N60Sn-0004W5-9x for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:25:13 -0500 Received: from lo.gmane.org ([80.91.229.12]:37227) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N60Sm-000216-It for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:25:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N60RS-00047p-0O for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 12:23:50 +0100 Received: from ip116-027.hgracht.RWTH-Aachen.DE ([134.130.116.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Nov 2009 12:23:49 +0100 Received: from andrea.crotti.0 by ip116-027.hgracht.RWTH-Aachen.DE with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Nov 2009 12:23:49 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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"))