From: Ken Mankoff <mankoff@gmail.com>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Cc: John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Org + Elpy Python + IPython
Date: Wed, 07 May 2014 22:52:34 -0400 [thread overview]
Message-ID: <m2eh05gex9.fsf@gmail.com> (raw)
FYI Org + Elpy + IPython all play nicely now.
There have been some previous posts about people (me included) having
trouble using the full IPython stack in Org Mode. Some of those problems
were limited to when using sessions, and others only if trying to take
full advantage of the nice Python support provided by Elpy (enabled via
the (elpy-use-ipython) command).
I think the primary issue was Org text analysis on the >>> prompt which
in IPython becomes "In [n]:". This is solved with the "--classic" flag
to ipython.
With this setup:
(setq org-babel-python-command "ipython --pylab=qt4 --pdb --nosep --classic --no-banner --no-confirm-exit")
I now have Org, Python, IPython, and Elpy (including (elpy-use-ipython))
all running together in session and non-session mode.
-k.
next reply other threads:[~2014-05-08 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-08 2:52 Ken Mankoff [this message]
2014-05-08 6:32 ` Org + Elpy Python + IPython Puneeth Chaganti
2014-05-20 16:47 ` Ken Mankoff
2014-05-20 20:23 ` Ken Mankoff
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2eh05gex9.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.