Recent versions of app-emacs/python-mode no longer define the variable py-mode-map which dev-python/ipython assumes exists. See bug 407179 for further explanations. dev-python/ipython-0.12-r1 needs RDEPEND <=app-emacs/python-mode-6.0.3-r1 The ipython maintainer should probably report the issue upstream. Reproducible: Always
The issue is already known upstream, see URL.
Hi, I had the same problem and solved it by emerging ipython with useflag "-emacs". I did not find any problem with this. It seems that the problem is that ipython installs ipython.el that interacts with python-mode. May be the solution would be that the useflag "emacs" requires *only* python-mode and not install ipython.el Juan
So far the best workaround seems to be to alias that variable in .emacs (require 'python-mode) (setq py-mode-map python-mode-map) Maybe something like that should be added to a site-gentoo.d/ file for python-mode, for backwards compatibility. something like (add-hook 'python-mode-hook (lambda () (defvaralias 'py-mode-map 'python-mode-map))) But I wasn't able to get that working.
This version isn't in the tree anymore. Issue should be closed.
Please reopen if still exists with >ipython-2