aboutsummaryrefslogtreecommitdiff
path: root/coq/coq-autotest.el
AgeCommit message (Collapse)Author
2018-12-14Fix remaining uses of CL; Make files more declarativeStefan Monnier
Emacs occasionally loads Elisp files just to get more info (e.g. for C-h f), so loading a file should "no effect". Fix the most obvious such effects: the splash screen and the autotests by moving those effects into a function. * coq/coq-autotest.el: Make it declarative. Use lexical-binding. (coq-autotest): New function holding the code that used to be at top-level. * generic/proof.el: Use lexical-binding. Don't call proof-splash-message just because we're being loaded. * generic/proof-script.el: Use lexical-scoping; fix all warnings. (pg-show-all-portions): Simplify the code with a closure. (proof-activate-scripting): Declare activated-interactively as dyn-scoped. (proof--splash-done): New var. (proof-mode): Call proof-splash-message upon first use. * generic/proof-splash.el (proof-splash-message): Don't check byte-compile-current-file now that we're only called when the mode is activated. * acl2/acl2.el (auto-mode-alist): Use `add-to-list` and \'. * coq/coq-db.el (coq-build-menu-from-db-internal): Avoid silly O(N²). * coq/coq-seq-compile.el: * coq/coq-par-test.el: * coq/coq-par-compile.el: Fix leftover uses of CL's `assert`. * generic/proof-utils.el: * generic/pg-movie.el: * etc/testsuite/pg-test.el: * coq/coq-syntax.el: Fix leftover uses of CL's `incf`. * generic/pg-autotest.el: Fix leftover uses of CL's `decf`. * obsolete/plastic/plastic.el (plastic-preprocessing): Fix leftover use of CL's `loop`. * generic/pg-user.el (proof-add-completions): Do nothing if no proof-assistant is set yet (i.e. during byte-compilation). (byte-compile-current-file): No need to test this any more. * generic/proof-syntax.el (proof-regexp-alt-list): Use mapconcat. Remove unnecessary "\\(?:...\\)". (proof-regexp-alt): Redefine in terms of proof-regexp-alt-list.
2018-12-13Use `cl-lib` instead of `cl` everywhereStefan Monnier
Use lexical-binding in a few files where it was easy. Don't require `proof-compat` when it's not used. * coq/coq-db.el: Use lexical-binding. * coq/coq-system.el: Use lexical-binding. (coq--extract-prog-args): Use concatenated-args rather than recomputing it. * coq/coq.el: Require `span` to silence some warnings. * generic/pg-user.el: Use lexical-binding. (complete, add-completion, completion-min-length): Silence warnings. * generic/pg-xml.el: Use lexical-binding. (pg-xml-string-of): Prefer mapconcat to reduce+concat. * generic/proof-depends.el: Use lexical-binding. (proof-dep-split-deps): Use `push`. * generic/proof-shell.el: Require `span` to silence some warnings. (proof-shell-invisible-command): Don't use lexical-let just to build a wasteful η-redex! * lib/holes.el: Use lexical-binding. Remove redundant :group args. * lib/span.el: Use lexical-binding. (span-read-only-hook): Use user-error. (span-raise): Remove, unused.
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-03-08Remove compile-time calls to proof-ready-for-assistantClément Pit--Claudel
Compilation used to run in a separate Emacs process for each file, but that's not what happens when installing PG with package.el.
2017-03-08Fix incorrect assumption that noninteractive == byte-compilingClément Pit--Claudel
The PG Makefile does ensure (using --batch) that noninteractive is non-nil while compiling, but package.el doesn't.
2012-09-02Remove ref to file parsingcheck-412.v missing from CVS, so "make ↵David Aspinall
coq.autotest" runs again
2011-12-27Extra testDavid Aspinall
2011-08-23Note TODO for indent testing!David Aspinall
2011-06-09Add etc/coq/parsingcheck-410.v to executed filesDavid Aspinall
2011-04-26Fix compileDavid Aspinall
2011-04-26Fix so that make test.coq runs successfully.David Aspinall
2011-01-31Old debug settingDavid Aspinall
2011-01-26Add autotest-start with debug for nowDavid Aspinall
2011-01-25Remove proof-shell-wait that causes deadlock with new multiple-file code.David Aspinall
2011-01-18Add multiple file test caseDavid Aspinall
2011-01-18set proof-auto-action-when-deactivating-scripting to 'retract,David Aspinall
to stop new multiple file handling for Coq interactive queries
2010-09-08Add simple clear test for multiple files without requireDavid Aspinall
2010-08-25Make tests succeed, although still two or three underlying bugsDavid Aspinall
2010-08-13More testsDavid Aspinall
2010-08-03UpdateDavid Aspinall
2009-09-16Fix compile warningsDavid Aspinall
2009-09-10Fix compilation for Coq, including requires and some old/renamed settings.David Aspinall
2009-09-05Clean whitespaceDavid Aspinall
2009-09-01Remove some old X-Symbol references.David Aspinall
2008-01-15Many compatibility updates, bug fixes, rearrangements for compilation.David Aspinall
2007-12-14Fix compilation problems and rearrange startup settings for ↵David Aspinall
coq-prog-name,coq-prog-args
2007-12-14Remove eval-when, seems unreliableDavid Aspinall
2007-12-14Improve loading; these tests are not functioning yetDavid Aspinall
2005-02-13Added simple testing framework (in progress)David Aspinall