8000 Fix `Set Default Proof Mode` being ignored by whonore · Pull Request #377 · whonore/Coqtail · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Set Default Proof Mode being ignored #377

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

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Conversation

whonore
Copy link
Owner
@whonore whonore commented Jan 4, 2025

Due to a change in how Coq parses vernacular commands (rocq-prover/rocq@4037361#diff-66d601f10f9baccbf2b788a65d749b194c0b828dab399f69c216da8e63100303R65), certain options, including Default Proof Mode cannot be set by SetOptions in Coq >=8.18. The solution is just to use Add instead. Unfortunately, Coq complains about setting certain options like Printing All this way, so these few cases still use SetOptions.

Fix #375.

Due to a change in how Coq parses vernacular commands
(rocq-prover/rocq@4037361#diff-66d601f10f9baccbf2b788a65d749b194c0b828dab399f69c216da8e63100303R65),
certain options, including `Default Proof Mode` cannot be set by `SetOptions`
in Coq >=8.18. The solution is just to use `Add` instead. Unfortunately, Coq
complains about setting certain options like `Printing All` this way, so these
few cases still use `SetOptions`.

Fix #375
@whonore whonore merged commit 9bd2a18 into main Jan 4, 2025
20 checks passed
@whonore whonore deleted the set-option-with-add branch January 4, 2025 23:22
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

Successfully merging this pull request may close these issues.

Set Default Proof Mode is ignored in 8.20
1 participant
0