An Emacs mode for editing Python code

*ubp Python* isntead of *IPython" for py-shell-name "ipython"

Reported by Yaroslav Halchenko on 2012-11-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Undecided
Unassigned

Bug Description

Just opened that file I demoed for problem with indentations:

#!/usr/bin/python
#emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
#ex: set sts=4 ts=4 sw=4 noet:

class X:
    XX = [
        "asdfasdF",
        "asdfasdf",
    # lakjsdflkjasdf
"lkajsdlkfj"
    ]

and in my .emacs I have set py-shell-name to "ipython":

py-shell-name is a variable defined in `python-mode.el'.
Its value is "ipython"
Local in buffer 1.py; global value is "python"

Now (just opened the file) I already have *ubp Python* buffer and when I do C-c ! (which used to work), nothing seems to happen -- no "*IPython*" buffer anywhere... ok -- if I enable to switch buffers upon execute , cursor atually jumps into that *ubp Python* -- so is that my IPython now? ;) if I explicitely invoke "ipython" in PyShell menu -- seems to bring IPython finally, but C-c C-c executes again in "*ubp Python*"

Yaroslav Halchenko (yarikoptic) wrote :

damn -- where to close/remove a bug report? or I can't as a submitter?
I forgotten about the shebang being there...

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

Other bug subscribers