aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-config.el
AgeCommit message (Collapse)Author
2021-04-16omit proofs: emit warning on nested proofs and continueHendrik Tews
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-03-17Remove evaluate-elisp-comment-regexp and set-elisp-variable-regexpClément Pit-Claudel
Closes GH-557.
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.
2020-06-04New hook for early prompt/output analyzis.Pierre Courtieu
proof-state-change-pre-hook happens earlier than proof-state-change-hook, i.e. before proof-done-advancing. This should be used to register information in the currently processed span before proof-done-advancing classifies it. Historically PG design was to gather these information during proof-done-advancing (or in its hook called at the end) by just looking at the command statement. But it is often useful to look at the output (messages and/or prompt) to gather more accurate information. Some of this information may be needed DURING proof-done-advancing. Hence this early hook.
2020-05-29Apply reviews of @erikmdCyril Anaclet
2020-05-29Fix name clash & rephrase some stringsErik Martin-Dorel
2020-05-29All case for Show and regex variableCyril Anaclet
2020-05-28Fix default value for proof-shell-last-cmd-left-goals-p.Pierre Courtieu
This variable was still not used anywhere, but will soon.
2020-05-27Add proof-shell-last-cmd-left-goals-p.Pierre Courtieu
Prover specific analyzis of the last prompt/output to determine if there are open goals left.
2020-04-15Span menu entry for proof using annotation + doc.Pierre Courtieu
2020-04-10Fixed proof using annotation mechanism.Pierre Courtieu
I ended up using (in a slight devious way) the lemma dependency mechanism of PG: the dependency information stored in the span is only the ones suggested by coq: only the one that should appear in theproof using annotation (and only when coq felt the need to suggest them.
2019-05-16proof-assistant-format: Support format character "%l" a.k.a. lambdaErik Martin-Dorel
This patch allows one to load the `coq-diffs' option at Coq startup, provided the ambient Coq version is >= 8.10. This additional "lambda" format is needed because [Set Diffs "on".] is neither: - a boolean setting from Coq side (there are three possible values) - a string setting from Emacs side (it is implemented as a radio/symbol option) - a cross-version compatible Coq setting.
2018-08-23Fix most doc issues raised by (checkdoc)Erik Martin-Dorel
2018-02-21Update copyright messages and improve the header of elisp files.Erik Martin-Dorel
2017-02-23Fixing #154.Pierre Courtieu
2016-12-14fix generic interrupt procedure to interrupt parallel background compilationHendrik Tews
2015-10-13proof-retract-command-hook added + more auto adjust width in coq mode.Pierre Courtieu
2015-10-12proof-assert-command-hook added + Auto adjust width in coq mode.Pierre Courtieu
This hook was missing, it allows to send complete commands before the (set of) command(s) sent by the user. It shall be used when proof-shell-insert-hook cannot be used (because of multiple prompts appearing).
2015-10-09Fixing 4096 character limit of scomint-send-input.Pierre Courtieu
Extended the fix of #453 (trac tracker) for emacs 25 (>=24 instead of = 24).
2015-02-04cleaned previous commits (generic variable to disable error coloring).Pierre Courtieu
2014-12-18Fixed response display spurious newlines for coq.Pierre Courtieu
Added an option about that in proof-config. To check: I adapted proof-treee regrexp accordingly.
2012-11-13- first version of parallel asynchronous compilation for coq inHendrik Tews
coq-par-compile.el (must be activated via coq-compile-parallel-in-background) - items in the queue region are not necessarily in proof-action-list any more! Require commands and the following items are stored elsewhere until the compilation finishes. Variable proof-second-action-list-active notifies the generic machinery if queue items are stored elsewhere. In this case, Proof General must neither release the proof shell lock nor delete the queue span when proof-action-list is empty. - to kill background processes as early as possible, the new hook proof-shell-signal-interrupt-hook is used
2012-09-14proof-shell-process-connection-type: try using pipes by default in Emacs 24,David Aspinall
to avoid Trac #453: http://proofgeneral.inf.ed.ac.uk/trac/ticket/453
2012-01-09Improve configuration for HOL Light. Allow goals display to be prefixed by ↵David Aspinall
ignored junk (val it : goalstack =).
2012-01-09proof-shell-end-goals-regexp doc: fix inaccuracy, goals always startDavid Aspinall
at *start* of proof-shell-start-goals-regexp.
2012-01-03merge ProofTreeBranch into main trunk:Hendrik Tews
- add support for proof-tree displays (currently Coq only) - new file generic/proof-tree.el contains generic code - Coq specific code has been added to coq/coq.el Changes to existing Proof General functions: - proof-shell-exec-loop and proof-shell-filter-manage-output call proof-tree display functions, when the proof-tree display is on - proof-shell-exec-loop returns t if proof-action-list is empty _or_ contains only items for updating the proof-tree - proof-shell-should-be-silent returns nil when the proof-tree display is on - coq-last-prompt-info, coq-last-prompt-info-safe return as additional 4th element the name of the current proof
2011-12-06fix a log of broken customization typesHendrik Tews
2011-11-15Quick stab at support for switching to proof shell when interactive support ↵David Aspinall
expected, see Trac #430
2011-10-13To fix pgshell mode, restore proof-shell-insert support for a single string ↵David Aspinall
argument and allow nil setting for proof-shell-start-goals-regexp.
2011-05-05- flushed proof-done-advancing-require-function andHendrik Tews
proof-shell-require-command-regexp - TAGS updated to really flush them
2011-04-13proof-shell-insert-hook: Clean docstring, addressing #396.David Aspinall
2011-01-23Make proof-shell-quit-timeout a prover-specific customize option, default to ↵David Aspinall
45 for Isar. See http://proofgeneral.inf.ed.ac.uk/trac/ticket/384.
2011-01-23Fix typoDavid Aspinall
2011-01-18- fixed compilation errorsHendrik Tews
2011-01-14- move proof-no-fully-processed-buffer to generic/proof-configHendrik Tews
- add documentation for it - add a test case demonstrating it in coq/ex/test-cases/retract-completely-asserted
2011-01-12Add preliminary support for multiple files for coq.Hendrik Tews
The following points are implemented already: - recompile either via an external command (make) or let ProofGeneral handle everything internally - complete dependency tracking and recompilation for coq files in internal mode - support for extending the LoadPath: does almost work, even if specified file-locally - move back to clean state if recompilation fails There are the following known problems: - coq-load-path extensions are not retracted - fails on partially qualified library names
2010-12-16Patch to add pgipfloat type.David Aspinall
2010-09-29Support proof-shell-init-cmd being a listDavid Aspinall
2010-08-27Replace proof-terminal-char with proof-terminal-string.David Aspinall
2010-08-24Reduce quit timeout to sensible valueDavid Aspinall
2010-08-19proof-shell-process-connection-type: Revert to long-lived previous default ↵David Aspinall
of t (for safety, no ill behaviour observed)
2010-08-18proof-shell-process-connection-type: remove near obsolete test and textDavid Aspinall
about Solaris. Experiment using pipe instead of pty communication as default now scomint buffer not intended for interactive input and runs prover process directly.
2010-08-17Clean up handling of pending interrupts, remove experimental ↵David Aspinall
proof-shell-interrupts-after-commit.
2010-08-15proof-shell-interrupts-after-commit: support commit-before-interrupt mode ↵David Aspinall
[experimental/temporary].
2010-08-08Checkdoc cleanupsDavid Aspinall
2009-12-04docstringDavid Aspinall
2009-11-30Replace proof-locked-end -> proof-unprocessed-beginDavid Aspinall
2009-11-30even higher proof-shell-quit-timeout -- saving main HOL takes 20s on a ↵Makarius Wenzel
*fast* machine;
2009-11-29raised proof-shell-quit-timeout to accomodate bulky write-back images;Makarius Wenzel