aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-21Merge pull request #559 from hendriktews/omit-proofsHEADmasterErik Martin-Dorel
Add feature to omit complete opaque proofs
2021-04-21Document the "Proof using" requirement for 'proof-omit-proofs-optionErik Martin-Dorel
2021-04-16omit proofs: emit warning on nested proofs and continueHendrik Tews
2021-04-16omit proofs feature documented in PG-adaptingHendrik Tews
2021-04-16fix omit proofs test for emacs <= 25Hendrik Tews
Work around the wrong order returned by `overlays-at' in Emacs <= 25.
2021-04-16document the omit proofs feature manual and changes fileHendrik Tews
2021-04-16add test for omit proofs featureHendrik Tews
2021-04-16prefix arg for temporarily disabling omitting proofsHendrik Tews
Make proof-goto-point and proof-process-buffer prefix argument aware. With argument, both commands temporarily switch off proof-omit-proofs-option, such that all proofs are completely processed for one particular invocation.
2021-04-16add feature to omit complete opaque proofsHendrik Tews
This commit adds a feature to recognize complete opaque proofs in the asserted region and to replace them with an admitted proof. This can drastically improve the processing time for the asserted region at the cost of not checking the omitted proofs. Omitted proofs are displayed slightly darker compared to other parts of the locked region. With this commit, the feature is supported for Coq for files in which proofs are started with some form of Proof and ended with either Qed, Defined, Admitted or Abort. To enable, configure proof-omit-proofs-option or click Proof General -> Quick Options -> Processing -> Omit Proofs.
2021-04-08Fixing "match with" generation.Pierre Courtieu
2021-04-08Fix useless quotes generatinf warnings.Pierre Courtieu
2021-04-08Fixing hypothesis folding GUI.Pierre Courtieu
2021-03-21Fix #562. Lazy/multi_?match indentation support.Pierre Courtieu
Actually it seems that even multimatch and lazymatch was poorly supported.
2021-03-21Fix #563 avoid dual-send bug in search blacklist customization.Pierre Courtieu
Splitting the coq into two commands made me remove coq-search-blacklist-string from defpgcustom. The visible effect is that the menu entry has moved, and the command name changed. This is explained in the CHANGES. To squash.
2021-03-17Remove evaluate-elisp-comment-regexp and set-elisp-variable-regexpClément Pit-Claudel
Closes GH-557.
2021-03-17coq: Update coq-prettify-symbols-alist for consistency with company-coqClément Pit-Claudel
There's no need for ("not" . ?¬) because Coq already has a "~" for it.
2021-02-27Merge pull request #553 from ProofGeneral/test-emacsenErik Martin-Dorel
test: Add Emacs 27.1 in CI & Bump the minimal-required version of Emacs (24.5 for now)
2021-02-26Merge pull request #554 from ProofGeneral/proof-upgrade-menuErik Martin-Dorel
feat: Add proof-upgrade-menu triggering proof-upgrade-elpa-packages
2021-02-25refactor: Simplify proof-upgrade-elpa-packagesErik Martin-Dorel
* Lastly, package-menu-async keeps its initial value even if we C-g.
2021-02-25docs(CHANGES): Add "M-x proof-upgrade-elpa-packages RET" & menu itemErik Martin-Dorel
2021-02-25$ make autoloadsErik Martin-Dorel
2021-02-25feat(proof-upgrade-elpa-packages): autoloadErik Martin-Dorel
2021-02-25Merge pull request #552 from hendriktews/issue-551Erik Martin-Dorel
protect uses of coq-callcoq
2021-02-25feat: Add proof-upgrade-menu triggering proof-upgrade-elpa-packagesErik Martin-Dorel
* require package.el (in a safe way thanks to `proof-try-require`)
2021-02-25test: Add Emacs 27.1 & Remove Emacs 24.3, 24.4 CI testsErik Martin-Dorel
* Document (in README.md) the proposed policy: supporting Emacsen from the versions packaged in Debian Stable / Ubuntu LTS until their EOS.
2021-02-22protect uses of coq-callcoqHendrik Tews
Uses of coq-callcoq need to correctly handle nil as result for the case that coq-callcoq fails. Additionally, add a regression test. Fixes #551
2021-02-13Update README.mdJulin S
Fix a tiny typo
2021-02-13update magical documentation in manual for vok featureHendrik Tews
2021-02-13update changes and documentation for vok featureHendrik Tews
2021-02-13improve/fix code documentation for vok processingHendrik Tews
2021-02-13add second stage -vok for Coq >= 8.11Hendrik Tews
New value vos-and-vok for coq-compile-vos customization option, existing value vos stands now for vos-no-vok. The implementation uses the existing vio2vo infrastructure with symbols vok and vio2vo. Documentation is still missing.
2021-02-13generalize vio2vo symbol names for vok compilationHendrik Tews
In functions, variables and symbols vio2vo is replaced with second-stage to accommodate for vok compilation. For backward compatibility, the options coq-compile-vio2vo-delay and coq-max-background-vio2vo-percentage are kept. They provide default values for their renamed counterparts, if they have been set manually or through the customization system. Documentation has only been marked but not updated yet.
2021-02-13new github action for make magicHendrik Tews
This action checks that - make -C doc magic works - the manual is currently up-to-date The second check fails when somebody changes variable or function documentation of something that appears in one of the manuals without updating the manuals at the same time. Further, it fails when emacs changes such that the function `texi-docstring-magic' produces different output.
2021-01-31update manuals with make magicHendrik Tews
2021-01-31fix typos and unicode single quotations in doc stringsHendrik Tews
Backported those typos that were fixed only in the manual texi sources and not in the doc strings, from which the text was imported. Convert a few symbols quoted with curved unicode single quotations to ascii, such that make magic recognizes them.
2021-01-31report arguments for closures with make magicHendrik Tews
Switching to lexical scope and emacs using closure (instead of lambda) broke argument printing with make magic.
2021-01-31fix make magic problem with emacs 26 and olderHendrik Tews
Set text quoting style to get doc strings without unicode single quotation marks to keep the regular expressions in texi-docstring-magic working.
2021-01-31fix another make magic problem from 2018Hendrik Tews
In 7389d43893569ff0e1eff892254901876fc8225e proof-ready-for-assistant was moved to proof-script.el, breaking make magic in a complicated chain. The auto load for proof-ready-for-assistant caused proof-script.el to be loaded before proof-assistant was set, causing proof-eval-when-ready-for-assistant, to put stuff into proof-ready-for-assistant-hook. proof-ready-for-assistant loads pg-custom.el by require, therefore, for the first proof assistant in the loop in docstring-magic everything was defined when executing the hooks at the end of proof-ready-for-assistant. The second assistant caused errors than. Fixes #542
2021-01-31fix make magic problem from 2018Hendrik Tews
this problem was introduced in a921439a4eb5b0d96182748e779c78e2f6a41a5f
2021-01-31fix make magic problem from 2017Hendrik Tews
After 574b09 92e3cb4b7a4ad88400b9a5ab0198a96ca5, make magic fails with a recursive require chain. No requires were changed in that commit, it's unclear to me, why there is no recursive require chain with (eval-when (compile).
2021-01-15Preventive support of "goal instead of "subgoal" in coq messages.Pierre Courtieu
Coq team is currently considering changing all messages containing "subgoal[s]" into "goal[s]". This commit allows for both. I make this change as early as possible, even if this chage may not land in coq's master, so that we support this as early as possible. I don't see how this could break anything but again the earliest the best.
2021-01-10add Coq compile test for a delayed requireHendrik Tews
2020-12-26make-temp-file without text argument for emacs 25Hendrik Tews
fixes #534
2020-12-19ensure vo compilation for tests, increase parallelism, more config outputHendrik Tews
2020-12-19reimplement functions not present in earlier emacs versionsHendrik Tews
2020-12-19include compile tests in CI elisp compilationHendrik Tews
2020-12-19enable coq background compilation tests in github CIHendrik Tews
extend the github workflow to additionally run the tests in ci/compile-tests
2020-12-19fix 2 background compilation bugs for a dependency in state readyHendrik Tews
2020-12-19add auto compile test to trigger two bugs for dependees in state readyHendrik Tews
See also the committed test.el. The test is not completely robust, it needs to be improved in the future.
2020-12-19add test for recompilation with changesHendrik Tews