Re: Issues with IPython and emacs (in ubuntu 14.04)
Thomas Kluyver <[email protected]> Mon, 4 May 2015 10:30:51 -0700
| Newsgroups | gmane.comp.python.ipython.user |
|---|---|
| Message-ID | <CAOvn4qhthsjfbsXwfO9UxWH7A5yCFtQM774aYz2oDtT=Q4d+Pg@mail.gmail.com> |
Hi Emanuele, I don't think any of the core developers are regular emacs users now, so you might have more luck asking on Stackoverflow or something. Also, we're slowly phasing out the ipython-user list and consolidating discussion on ipython-dev, so this list might not reach many people. Thanks, Thomas On 4 May 2015 at 07:27, Emanuele Olivetti <[email protected]> wrote: > Hi, > > I recently upgraded my laptop from Ubuntu 12.04 LTS to 14.04 LTS. As a > consequence, IPython was upgraded from v0.12.1 to v1.2.1. I am very happy > with the more recent IPython, but I am also experiencing a number of > issues with its use within emacs, both v23 and v24, like: > "py-execute-buffer" > (C-c C-c) not working, "py-execute-region" (C-c |) not working, > TAB-completion > not working, among others. > With IPython v.0.12.1 everything was working well within emacs. > > I followed these instructions on the IPython website: > http://ipython.org/ipython-doc/1/config/editors.html > and removed all my emacs customizations in order to understand where the > issue is. My .emacs is now just > (require 'ipython) > as suggested there. Notice that the python-mode package shipped with > Ubuntu 14.04 is v6.1.3, which should be recent enough. > > I also tried the instructions for the more recent IPtyhon v3.x: > http://ipython.org/ipython-doc/3/config/details.html#editor-configuration > Which boil down to: > (require 'python) > (setq python-shell-interpreter "ipython") > Still no luck. > > I then upgraded python-mode.el with the most recent one (dev, i.e > >v0.6.2.0) > available from here: > https://launchpad.net/python-mode > and many issues disappeared with the following .emacs: > (add-to-list 'load-path "/PATH_TO/python-mode/") > (setq py-install-directory "/PATH_TO/python-mode/") > (require 'ipython) > (setq python-shell-interpreter "ipython") > (require 'python-mode) > > Still "py-execute-region" (C-c |) is not working, with different output in > emacs v24 ("Indentation error") vs. emacs v23 (hangs). > > What is your working set-up for emacs and IPython? Is there a way to make > it work well as it was before? > > Thanks, > > Emanuele > > _______________________________________________ > IPython-User mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/ipython-user > _______________________________________________ IPython-User mailing list [email protected] http://mail.scipy.org/mailman/listinfo/ipython-user