[sorry, forgot to "reply all" -- Gary]

---------- Forwarded message ----------
From: Gary Oberbrunner <ga...@oberbrunner.com>
Date: Thu, Mar 28, 2013 at 10:43 PM
Subject: Re: [O] run python from org, draft
To: Andreas Röhler <andreas.roeh...@easy-emacs.de>


Does this assume org-babel-python-mode is set to 'python-mode?  The default
is 'python, I believe.  I don't think you should unconditionally
call py-send-string-return-output like that.

Also, why would you avoid calling org-babel-python-evaluate?  Where in your
patch would it account for the setting of session, result-type or
result-params?



On Thu, Mar 28, 2013 at 5:55 PM, Andreas Röhler <
andreas.roeh...@easy-emacs.de> wrote:

> Hi,
>
> as running python from org-source has been reported broken,
> herewith a patch, which allows basic usage.
>
> Requires python-mode.el-6.1
>
> https://launchpad.net/python-**mode/trunk/6.1.1/+download/**
> python-mode.el-6.1.1.tar.gz<https://launchpad.net/python-mode/trunk/6.1.1/+download/python-mode.el-6.1.1.tar.gz>
>
> Just a draft, not thought as implementation,
>
> Andreas
>



-- 
Gary



-- 
Gary

Reply via email to