all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org + Elpy Python + IPython
@ 2014-05-08  2:52 Ken Mankoff
  2014-05-08  6:32 ` Puneeth Chaganti
  2014-05-20 16:47 ` Ken Mankoff
  0 siblings, 2 replies; 4+ messages in thread
From: Ken Mankoff @ 2014-05-08  2:52 UTC (permalink / raw)
  To: Org-mode mailing list; +Cc: John Kitchin


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-20 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08  2:52 Org + Elpy Python + IPython Ken Mankoff
2014-05-08  6:32 ` Puneeth Chaganti
2014-05-20 16:47 ` Ken Mankoff
2014-05-20 20:23   ` Ken Mankoff

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.