Comment 25 for bug 1018996

Revision history for this message
Thomas Caswell (tcaswell-gmail) wrote : Re: [Bug 1018996] Re: inconvenient window splitting behavior

If you look at https://code.launchpad.net/~tcaswell-gmail/python-mode/window_fix
I re-worked py-shell-manage-windows to address the 3-window problem
(it is the pop-to-buffer commands that are causing it).

I have also started a more agressive re-factoring of the whole
py-execute-* stack on
https://code.launchpad.net/~tcaswell-gmail/python-mode/execute_refactor
so that we can wrap all of the work in sending the code to the
process in a save-window-excursion, which will make sure that the
window configuration before py-shell-manage-windows is in the state
the user last had it in. We can then work on how to manage the
windows from a known state.

On Wed, Jan 2, 2013 at 2:18 PM, Andreas Roehler
<email address hidden> wrote:
> ** Changed in: python-mode
> Status: Fix Committed => New
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1018996
>
> Title:
> inconvenient window splitting behavior
>
> Status in An Emacs mode for editing Python code:
> New
> Status in Debian GNU/Linux:
> Confirmed
>
> Bug description:
> I thought that before (with one of the tentative debian packages) I
> have managed to make it convenient -- that I split the window to have
> in one buffer the code and in another ipython shell, so that C-! jumps
> into ipython, and C-c C-c sends buffer to ipython shell but
> everything remains as is -- just 2 buffers visible.
>
> Now with 1:6.0.10-1 it is chaos for me
>
> - if I disable splitting and shell-switch-buffers-on-execute is off -- it would maximize code buffer thus hiding all other visible before
> - if -focus- is on -- then it works only if I have split into 2 ... if I had more splits -- only 2 survive upon C-c C-c and it might be not the actual buffer with code sent which would be visible after C-c C-c
>
> - If I enable splitting -- it becomes complete mad possibly making
> more splits, or making other splits show the buffer which I have sent
> with C-c C-c
>
> is it just me or you see it too?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/python-mode/+bug/1018996/+subscriptions

--
Thomas Caswell
<email address hidden>