From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Org + Elpy Python + IPython Date: Wed, 07 May 2014 22:52:34 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiERy-0002Rn-K4 for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiERp-0002Vd-DX for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:52:46 -0400 Received: from mail-qc0-x230.google.com ([2607:f8b0:400d:c01::230]:35859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiERp-0002VX-41 for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:52:37 -0400 Received: by mail-qc0-f176.google.com with SMTP id r5so2168235qcx.7 for ; Wed, 07 May 2014 19:52:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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.