PG icon indicating copy to clipboard operation
PG copied to clipboard

Feature wish: avoid reseting the windows layout as much as possible.

Open Matafou opened this issue 2 years ago • 0 comments

I.e. avoid calling proof-layout-windows when not absolutely necessary. In particular when switching the scripting buffer (which restarts the coq process) we should avoid destroying the windows sizing and splitting the user made, it is annoying.

The user can always call proof-layout-windows by hand (C-c C-l or menu of M-x proof-layout-windows) anyway.

Actually it implies two modifications:

  • avoid calling proof-layout-windows unless necessary
  • avoid killing the associated buffers, which has been already implemented by this PR: #639. We need to set proof-shell-kill-function-also-kills-associated-buffers to nil by default

Matafou avatar Mar 29 '22 11:03 Matafou