set py-split-windows-on-execute-p to nil via
'toggle-py-split-windows-on-execute. This disables the splitting
which fixes the problem for me.
On Tue, Mar 27, 2012 at 16:00, Richard Stanton
<email address hidden> wrote:
> The same problem exists in r911. I have some additional information:
>
> The splitting problem seems to depend on what python shell is selected.
>
> If I edit the following script file and press C-c C-c, all works as
> expected. The window splits in two, one half shows the script file, and
> the other half shows the python buffer:
>
> ---------------
>
> #!/usr/bin/python
> print "Hi, Richard"
>
> ------------
>
> If I add one character to this file, changing "python" in line 1 to
> "ipython", then press C-c C-c, the window now splits OK, but instead of
> one half showing the (i)python buffer, both halves of the window now
> display the original python script.
>
> --
> You received this bug notification because you are a member of python-
> mode.el developers, which is the registrant for python-mode.el.
> https://bugs.launchpad.net/bugs/957561
>
> Title:
> Script buffer appears instead of python shell buffer
>
> Status in An Emacs mode for editing Python code:
> New
>
> Bug description:
> Using today's (3/16) current version of python-mode under Windows
> (Emacs 24.0.94), things are getting very close to working properly!
> Just a minor buffer visibility problem. E.g.,
>
> 1) Open run.py.
>
> 2) Press C-c !, the window splits and an ipython buffer opens as
> desired
>
> 3) In the script buffer, press C-c C-c.
>
> The good: The script runs properly, and inside the same ipython buffer
> opened in step 2.
>
> The bad: The ipython buffer disappears from view, and the split window
> now displays two copies of the original python script.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/python-mode/+bug/957561/+subscriptions
set py-split- windows- on-execute- p to nil via py-split- windows- on-execute. This disables the splitting
'toggle-
which fixes the problem for me.
On Tue, Mar 27, 2012 at 16:00, Richard Stanton /bugs.launchpad .net/bugs/ 957561 /bugs.launchpad .net/python- mode/+bug/ 957561/ +subscriptions
<email address hidden> wrote:
> The same problem exists in r911. I have some additional information:
>
> The splitting problem seems to depend on what python shell is selected.
>
> If I edit the following script file and press C-c C-c, all works as
> expected. The window splits in two, one half shows the script file, and
> the other half shows the python buffer:
>
> ---------------
>
> #!/usr/bin/python
> print "Hi, Richard"
>
> ------------
>
> If I add one character to this file, changing "python" in line 1 to
> "ipython", then press C-c C-c, the window now splits OK, but instead of
> one half showing the (i)python buffer, both halves of the window now
> display the original python script.
>
> --
> You received this bug notification because you are a member of python-
> mode.el developers, which is the registrant for python-mode.el.
> https:/
>
> Title:
> Script buffer appears instead of python shell buffer
>
> Status in An Emacs mode for editing Python code:
> New
>
> Bug description:
> Using today's (3/16) current version of python-mode under Windows
> (Emacs 24.0.94), things are getting very close to working properly!
> Just a minor buffer visibility problem. E.g.,
>
> 1) Open run.py.
>
> 2) Press C-c !, the window splits and an ipython buffer opens as
> desired
>
> 3) In the script buffer, press C-c C-c.
>
> The good: The script runs properly, and inside the same ipython buffer
> opened in step 2.
>
> The bad: The ipython buffer disappears from view, and the split window
> now displays two copies of the original python script.
>
> To manage notifications about this bug go to:
> https:/