Emacs cannot run ipython correctly

Bug #909160 reported by Peter Milliken
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

Emacs version: 23.2.1
iPython version: 0.12
python-mode.el revision: 752

I get no prompt i.e. In [?]: when I run ipython from within an emacs session. I get the startup message, if I type in something like 2+ 3 I get the response of "Out [1]: 5".

When I type quit(), all the missing input prompts are printed in the buffer as ipython exits.

I have reduced my .emacs to a bare minimum (see attachment).

With this .emacs, I get the following error message when loading a .py file:

File mode specification error: (void-variable py-mode-map)

And iPython is automatically started!

Thanks
Peter

Revision history for this message
Peter Milliken (peter-milliken) wrote :
Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.1
importance: Undecided → Medium
Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 909160] Re: Emacs cannot run ipython correctly

Am 27.12.2011 22:50, schrieb Peter Milliken:
> ** Attachment added: ".emacs"
> https://bugs.launchpad.net/bugs/909160/+attachment/2648568/+files/.emacs
>

Hi,

can't reproduce for now.

BTW your checkout should contain an INSTALL file -

(setq py-install-directory "PATH/TO/PYTHON-MODE/") seems not set in .emacs

Andreas

Changed in python-mode:
status: New → Incomplete
Changed in python-mode:
importance: Medium → Undecided
assignee: Andreas Roehler (a-roehler) → nobody
milestone: 6.1.1 → none
Revision history for this message
Andreas Roehler (a-roehler) wrote :

this should be fixed in trunk.

please flag "new" again, should you see it still

thanks,

Andreas

Changed in python-mode:
importance: Undecided → Medium
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.1.0
status: Incomplete → Fix Committed
Revision history for this message
Peter Milliken (peter-milliken) wrote :

What the hell is "new"? :-)

No, original bug still exists i.e. I do not get the "In" prompt until I enter something and hit return i.e.

4 + 7

In [2]:
In [2]: Out[2]: 11

I have given up on mython-mode working with ipython - please don't bother anymore, but thanks anyway.

Peter

Changed in python-mode:
status: Fix Committed → New
Revision history for this message
Andreas Roehler (a-roehler) wrote :

will some minor bugs around still exist, this should be gone now.

Changed in python-mode:
status: New → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.