Comment 5 for bug 1579309

Revision history for this message
vkoch@lbl.gov (vkoch) wrote :

I just upgraded to emacs 25.09, no change. Still the same problem.

When it comes to inspecting the py--shell-manage-windows I am a bit at a loss. It complains about lack of arguments. I am not a lisp expert. It seems it needs at least two arguments

(defun py--shell-manage-windows (output-buffer windows-config &optional exception-buffer)

output-buffer and windows-config

Can you provide me with a sample call to get going. If use
(py--shell-manage-wiindows py-buffer-name py-window-config) and walk through with step by step win edebug I see now real issues. When I get to

    ((and
       (eq py-split-window-on-execute 'just-two)
       (not py-switch-buffers-on-execute-p))
      (switch-to-buffer py-exception-buffer)
      (delete-other-windows)
      (unless
   (member (get-buffer-window output-buffer)(window-list))
 (py--manage-windows-split py-exception-buffer output-buffer))
      ;; Fixme: otherwise new window appears above

it opens a window above, exactly the problem what I have. But I am not sure is this is related...I see the "Fixme:" statement. This happens with both the latest git version and the version I installed from melpa

Anything I can do?

Thanks
Volker