| Summary: | dev-python/ipython-0.12-r1 is incompatible with > app-emacs/python-mode-6.0.3-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jean-Francois Ostiguy <jfostiguy> |
| Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | emacs |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugs.launchpad.net/python-mode/+bug/912919 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jean-Francois Ostiguy
2012-03-10 20:19:39 UTC
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 |