emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gary Oberbrunner <garyo@oberbrunner.com>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Fwd:  run python from org, draft
Date: Fri, 29 Mar 2013 08:11:53 -0400	[thread overview]
Message-ID: <CAFChFyhaLzHpgxHk+LsBhHzdLLyGt7QsfGu_DKBd2F_BuPap5g@mail.gmail.com> (raw)
In-Reply-To: <CAFChFyjZyxcnH1_jSWEUgXNkvJ0c3F8f4ojQa_EtPov2TjtziQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

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

---------- Forwarded message ----------
From: Gary Oberbrunner <garyo@oberbrunner.com>
Date: Thu, Mar 28, 2013 at 10:43 PM
Subject: Re: [O] run python from org, draft
To: Andreas Röhler <andreas.roehler@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.roehler@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

[-- Attachment #2: Type: text/html, Size: 1966 bytes --]

  parent reply	other threads:[~2013-03-29 12:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 21:55 run python from org, draft Andreas Röhler
     [not found] ` <CAFChFyjZyxcnH1_jSWEUgXNkvJ0c3F8f4ojQa_EtPov2TjtziQ@mail.gmail.com>
2013-03-29 12:11   ` Gary Oberbrunner [this message]
2013-03-29 14:47     ` Fwd: " Andreas Röhler
2013-03-29 14:57       ` John Hendy
2013-03-29 15:09         ` Eric Schulte
2013-03-29 15:29           ` Andreas Röhler
2013-03-29 16:20             ` Eric Schulte
2013-03-29 16:49               ` Andreas Röhler
2013-03-29 16:59                 ` Eric Schulte
2013-03-29 18:33                   ` Evan Misshula
2013-03-29 18:50                     ` Eric Schulte
2013-03-29 19:04                       ` Evan Misshula
     [not found]             ` <CAFChFyhRbz6hh-NyOZTfdKJcTPh=F3J=07k2fR9p+A9Wig_pRA@mail.gmail.com>
2013-03-29 20:10               ` Fwd: " Gary Oberbrunner
2013-03-29 20:58                 ` Andreas Röhler
2013-03-31 20:04                   ` Gary Oberbrunner
2013-03-29 15:35           ` John Hendy
     [not found]             ` <CAFChFyhOrPVS2E5CE9H2+zX5TFV4D-themQbjx2DaSx-WmG14g@mail.gmail.com>
2013-03-29 20:11               ` Fwd: " Gary Oberbrunner
2013-03-29 15:50           ` John Hendy
2013-03-29 16:23             ` Eric Schulte
2013-03-29 16:47               ` Eric Schulte
2013-03-29 19:06                 ` Andreas Röhler
2013-03-29 20:04                 ` Andreas Röhler
2013-03-29 19:59           ` Gary Oberbrunner
2013-03-29 20:15             ` Andreas Röhler
2013-03-29 20:25             ` Eric Schulte
2013-03-29 20:45               ` Gary Oberbrunner
2013-03-29 21:13                 ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFChFyhaLzHpgxHk+LsBhHzdLLyGt7QsfGu_DKBd2F_BuPap5g@mail.gmail.com \
    --to=garyo@oberbrunner.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).