Comment 9 for bug 1066994

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1066994] [NEW] Current bzr head always pops up the *Python3* buffer when you find-file a .py file

Am 25.11.2012 18:39, schrieb Barry Warsaw:
> On Nov 25, 2012, at 03:21 PM, Andreas Roehler wrote:
>
>> do you get this still?
>>
>> The last remaining major issue before release 6.1.0 AFAIS.
>
> Yes, it still happens.
>
> Tracing py-shell-manage-windows, I end up in this section:
>
> (if (< (count-windows) py-max-split-windows)
> (progn
> (funcall py-split-windows-on-execute-function)
> (display-buffer py-buffer-name 'display-buffer-reuse-window))
> (display-buffer py-buffer-name 'display-buffer-reuse-window)))
>
> (count-windows) -> 1
> py-max-split-windows -> 2
>
> so, it goes on to call py-split-windows-on-execute-function which is set to
> split-windows-vertically. So the window gets split, and the *Python3* buffer
> gets displayed in the lower window.
>

what is the command used before?

should not happen, if py-split-windows-on-execute-p is nil