PG icon indicating copy to clipboard operation
PG copied to clipboard

Bug: Frames in hybrid mode automatically revert to vertical mode

Open allen-liaoo opened this issue 1 year ago • 2 comments

I have the following configs of PG:

(use-package proof-general
  :mode ("\\.v\\'" . coq-mode)
  :init
  (setq coq-prog-name ".../bin/coqtop")
  (setq proof-splash-enable nil)
  (setq proof-three-window-enable t)
  (setq proof-three-window-mode-policy 'hybrid)
  (setq proof-delete-empty-windows t)
  (setq proof-shrink-windows-tofit t)
  (setq proof-electric-terminator-enable t)
)

When I type a terminator, the frames automatically revert to the bottom of the screen (vertical mode) even though it starts out on the side (hybrid mode). The GUI menu shows me that PG is still in hybrid layout even though it is not.

allen-liaoo avatar Mar 16 '24 15:03 allen-liaoo

Hi. proof-three-window-mode-policy is a customizable variable, so you will probably have abetter effect using (customize-set-variable 'proof-three-window-mode-policy 'hybrid). . To know if a variable is a customizable one look at its documentation, near the end you should see "You can customize this variable."

Matafou avatar Apr 03 '24 19:04 Matafou

Tell me if this solves your problem.

Matafou avatar Apr 03 '24 19:04 Matafou