File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ the Git ChangeLog, the GitHub repo https://github.com/ProofGeneral/PG
40
40
*** New command `proof-check-annotate' to annotate all failing proofs
41
41
with FAIL comments. Useful in the development process as described
42
42
above to ensure all currently failing proofs are marked as such.
43
+ *** flag Printing Parentheses and Printing Notations can be set/unset
44
+ via menu and Coq keymap (C-c C-a C-9 and C-c C-a C-0 for
45
+ Parentheses (optimized for British and American keyboards); C-c
46
+ C-a n and C-c C-a N for Notations).
43
47
*** New options coq-compile-extra-coqc-arguments and
44
48
coq-compile-extra-coqdep-arguments to configure additional
45
49
command line arguments to calls of, respetively, coqc and coqdep
Original file line number Diff line number Diff line change 335
335
[" Unset Printing All" coq-unset-printing-all t]
336
336
[" Set Printing Implicit" coq-set-printing-implicit t]
337
337
[" Unset Printing Implicit" coq-unset-printing-implicit t]
338
+ [" Set Printing Parentheses" coq-set-printing-parentheses t]
339
+ [" Unset Printing Parentheses" coq-unset-printing-parentheses t]
340
+ [" Set Printing Notations" coq-set-printing-notations t]
341
+ [" Unset Printing Notations" coq-unset-printing-notations t]
338
342
[" Set Printing Coercions" coq-set-printing-coercions t]
339
343
[" Unset Printing Coercions" coq-unset-printing-coercions t]
340
344
[" Set Printing Compact Contexts" coq-set-printing-implicit t]
Original file line number Diff line number Diff line change @@ -1775,6 +1775,10 @@ See `coq-fold-hyp'."
1775
1775
(proof-definvisible coq-unset-printing-implicit " Unset Printing Implicit." )
1776
1776
(proof-definvisible coq-set-printing-all " Set Printing All." )
1777
1777
(proof-definvisible coq-unset-printing-all " Unset Printing All." )
1778
+ (proof-definvisible coq-set-printing-parentheses " Set Printing Parentheses." )
1779
+ (proof-definvisible coq-unset-printing-parentheses " Unset Printing Parentheses." )
1780
+ (proof-definvisible coq-set-printing-notations " Set Printing Notations." )
1781
+ (proof-definvisible coq-unset-printing-notations " Unset Printing Notations." )
1778
1782
(proof-definvisible coq-set-printing-synth " Set Printing Synth." )
1779
1783
(proof-definvisible coq-unset-printing-synth " Unset Printing Synth." )
1780
1784
(proof-definvisible coq-set-printing-coercions " Set Printing Coercions." )
@@ -2862,6 +2866,10 @@ Completion is on a quasi-exhaustive list of Coq tacticals."
2862
2866
(define-key coq-keymap [(control ?l )] #'coq-LocateConstant )
2863
2867
(define-key coq-keymap [(control ?n )] #'coq-LocateNotation )
2864
2868
(define-key coq-keymap [(control ?w )] #'coq-ask-adapt-printing-width-and-show )
2869
+ (define-key coq-keymap [(control ?9 )] #'coq-set-printing-parentheses )
2870
+ (define-key coq-keymap [(control ?0 )] #'coq-unset-printing-parentheses )
2871
+ (define-key coq-keymap [(?N )] #'coq-set-printing-notations )
2872
+ (define-key coq-keymap [(?n )] #'coq-unset-printing-notations )
2865
2873
2866
2874
; (proof-eval-when-ready-for-assistant
2867
2875
; (define-key ??? [(control c) (control a)] (proof-ass keymap)))
You can’t perform that action at this time.
0 commit comments