Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Frames in hybrid mode automatically revert to vertical mode #746

Open
allen-liaoo opened this issue Mar 16, 2024 · 2 comments
Open

Comments

@allen-liaoo
Copy link

allen-liaoo commented Mar 16, 2024

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.

@Matafou
Copy link
Contributor

Matafou commented Apr 3, 2024

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
Copy link
Contributor

Matafou commented Apr 3, 2024

Tell me if this solves your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants