From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrea Crotti Subject: Re: What is output for org-babel? Date: Fri, 6 Nov 2009 12:13:51 +0000 (UTC) Message-ID: References: <4af2e095.0706c00a.3de8.57c8@mx.google.com> 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 1N6Nhw-0002iD-7q for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 07:14:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6Nhq-0002g0-34 for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 07:14:22 -0500 Received: from [199.232.76.173] (port=43082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Nhp-0002fo-MU for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 07:14:17 -0500 Received: from lo.gmane.org ([80.91.229.12]:44256) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6Nhp-00029p-5P for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 07:14:17 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N6Nhl-0002jy-QU for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 13:14:13 +0100 Received: from 44-028.eduroam.RWTH-Aachen.DE ([134.61.44.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Nov 2009 13:14:13 +0100 Received: from andrea.crotti.0 by 44-028.eduroam.RWTH-Aachen.DE with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Nov 2009 13:14:13 +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 Darlan Cavalcante Moreira gmail.com> writes: > > However, if the code is sent to the python interpreter as it is, then it > bugs me > why "import os; os.listdir(os.getcwd())" didn't work. I tried to look at the code of org-babel-python but it's a bit too complicated to understand how my body is manipulated... For the second question I made, it would be even better to have a mechanism that allows to insert logical parts of another buffer in my org-mode file. Something like #+INCLUDE file.hs::fun_def Where fun_def is the definition of a function. programming modes know how to split this kind of things, so also org-mode could now, right?