Emacs opens new *Python* frame instead of using existing one

Bug #837940 reported by Lars Bungum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

I am using python-mode to write python code in Emacs, and when I use the useful C-c C-c key combination to interpret the buffer, Emacs always opens another window inside the window I am using.

I prefer using Emacs split in two windows (one on each physical screen) where I program in one of them and use the Python interpreter in the other. When I asked about this on news, it was indicated to me that this was likely a bug. When Emacs already has an open buffer with the Python interpreter in it, it seems right that the code should be evaluated there.

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.3
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Gennady N. Uraltsev (gennady-uraltsev) wrote :

Dear Lars,

I cannot reproduce this behavior with the latest version. Actually I think that this bug has already been addressed some time ago:

https://bugs.launchpad.net/python-mode/+bug/822409

(To Andreas: Can you please check if this is actually a duplicate?)

Lars, you can also check the status of your py-shell-switch-buffers-on-execute variable by executing:

M-: py-shell-switch-buffers-on-execute
and seeing the output...

This variable is customizeable and should control this behavior.

All the best,
Gennady.

Changed in python-mode:
assignee: Andreas Roehler (a-roehler) → Gennady N. Uraltsev (gennady-uraltsev)
assignee: Gennady N. Uraltsev (gennady-uraltsev) → nobody
assignee: nobody → Andreas Roehler (a-roehler)
Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 837940] Re: Emacs opens new *Python* frame instead of using existing one

Am 31.08.2011 22:03, schrieb Gennady N. Uraltsev:
> Dear Lars,
>
> I cannot reproduce this behavior with the latest version. Actually I
> think that this bug has already been addressed some time ago:
>
> https://bugs.launchpad.net/python-mode/+bug/822409
>
> (To Andreas: Can you please check if this is actually a duplicate?)
>

Hi Gennady,

thanks being that attentive. Pondered that question already. Must dig
into relation of processes and frames a little bit before answering
this. Interesting item BTW...

Cheers,

Andreas

> Lars, you can also check the status of your py-shell-switch-buffers-on-
> execute variable by executing:
>
> M-: py-shell-switch-buffers-on-execute
> and seeing the output...
>
> This variable is customizeable and should control this behavior.
>
> All the best,
> Gennady.
>

Changed in python-mode:
milestone: 6.0.3 → 6.1
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Hi,

as Gennady stated already, that bug no longer exists.

Could you check out the current trunk?
Should also not exist in latest release.

Flag it to "committed" for now.

Thanks for the report,

Andreas

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

Other bug subscribers

Remote bug watches

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