aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar
Commit message (Collapse)AuthorAge
* * coq-mode.el: New file to make coq-mode independent from PGGravatar Stefan Monnier2018-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the part of coq.el that is not specific to ProofGeneral into coq-mode.el to make `coq-mode` into a major mode that can work without PG. * coq/coq-mode.el: New file, with code extracted from coq.el. (coq-use-pg): New var. (coq-near-comment-region): Complete rewrite. * Makefile.devel (autoloads): Add `coq` to the scanned subdirectories. * generic/proof-autoloads.el: Regenerate. * generic/proof-site.el: Don't override pre-existing major-mode definitions. * coq/coq-syntax.el (coq-init-syntax-table): Delete function. Setup the syntax-table while loading coq-mode.el instead. * coq/coq-system.el (coq-prog-name, get-coq-library-directory) (coq-library-directory, coq-tags): Move to coq-mode.el. * coq/coq.el: Set proof-assistant when loaded. (coq-may-use-prettify, coq-outline-regexp) (coq-outline-heading-end-regexp, coq-mode) (coq-prettify-symbols-alist, coq-fill-paragraph-function) (coq-adaptive-fill-function): Move to coq-mode.el. (coq-shell-mode-syntax-table, coq-response-mode-syntax-table) (coq-goals-mode-syntax-table): Just reuse the already setup coq-mode-syntax-table... (coq-shell-mode-config, coq-goals-mode-config, coq-response-config): ... instead of calling coq-init-syntax-table. (coq-get-comment-region): Delete, not used any more. (coq-pg-mode-map): New var. Move top-level keymap setup here. (coq-pg-setup): Rename from coq-mode-config. Move all the non-PG specific settings to coq-mode. * generic/proof-script.el (proof-mode): Simplify call to proof-splash-message since it does the same extra tests internally. (proof-config-done-related): Don't touch font-lock-defaults if the mode doesn't provide any font-lock-defaults. * isar/isar-syntax.el: Use lexical-binding. (isar-font-lock-fontify-syntactically-region): Make it callable from font0lock-keywords. (isar-font-lock-keywords-1): Call isar-font-lock-fontify-syntactically-region. * generic/proof-syntax.el (font-lock-fontify-keywords-region): Remove advice. (proof-ids): Remove, unused. * lib/bufhist.el (bufhist-erase-buffer): Don't let-bind after-change-functions. * generic/pg-pbrpm.el (pg-pbrpm-auto-select-around-point): Fix one more left-over cl.el use. * generic/proof-utils.el (proof-with-script-buffer): Add edebug spec.
* Use `cl-lib` instead of `cl` everywhereGravatar Stefan Monnier2018-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Cleanup patch; Moving defvar to toplevelGravatar Stefan Monnier2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `defvar`s used to silence warnings outside of eval-when-compile. Make sure they don't actually give a value to the var. * pg-init.el: Simplify. Use (if t ...) to avoid running `require` at compile-time. Don't add subdirs to load-path here since this code is never used. (pg-init--script-full-path, pg-init--pg-root): Inline their definition into their sole user. * generic/proof-utils.el (proof-resize-window-tofit): Inline definitions of window-leftmost-p and window-rightmost-p previously in proof-compat.el. * lib/proof-compat.el (proof-running-on-win32): Remove, not used. (mac-key-mode): Remove, there's no carbon-emacs-package-version in Emacs≥24.3. (pg-custom-undeclare-variable): Use dolist. (save-selected-frame): Remove, save-selected-window also saves&restores the selected frame at the same time. Update all users (which already used save-selected-window around it). (window-leftmost-p, window-rightmost-p, window-bottom-p) (find-coding-system): Remove, unused. * hol-light/hol-light.el (caml-font-lock-keywords): Don't try to defvar it to a dummy value and... (hol-light): ...check its existence before using it instead. * coq/coq.el (coq-may-use-prettify): Simplify initialization.
* Remove mmm and ML4PG contribs and remove references to them in code and docsGravatar Paul Steckler2017-05-24
|
* Change (eval-when (compile) ...) to (eval-when-compile ...)Gravatar Clément Pit--Claudel2017-05-05
| | | | This fixes a bunch of compilation warnings
* Remove compile-time calls to proof-ready-for-assistantGravatar Clément Pit--Claudel2017-03-08
| | | | | Compilation used to run in a separate Emacs process for each file, but that's not what happens when installing PG with package.el.
* Remove unnecessary calls to 'eval-and-compile'Gravatar Clément Pit--Claudel2017-03-08
|
* Fix incorrect assumption that noninteractive == byte-compilingGravatar Clément Pit--Claudel2017-03-08
| | | | | The PG Makefile does ensure (using --batch) that noninteractive is non-nil while compiling, but package.el doesn't.
* Make shell and perl scripts executable.Gravatar Erik Martin-Dorel2016-09-19
| | | | This addresses part of the issues pointed out in #112
* Summary: Build in default path for Isabelle2014 Mac packageGravatar David Aspinall2015-03-11
|
* Summary: Fix compile warning on isar-markup-mlGravatar David Aspinall2015-03-05
|
* Fix colours for dark backgroundsGravatar David Aspinall2015-03-05
|
* unicode tokens for \<open>, \<close>, \<newline>;Gravatar Makarius Wenzel2014-01-18
|
* more appropriate URL;Gravatar Makarius Wenzel2013-07-05
|
* Repair operation with compiled code. Fails with interpreter, see Trac #445Gravatar David Aspinall2012-09-02
|
* Summary: Don't quote lambda expressionsGravatar Stefan Monnier2012-08-30
| | | | | | | | | | | | | | | | * coq/coq-indent.el (coq-indent-inner-regexp): Remove old X-Symbol element. (coq-save-count, coq-proof-count): * obsolete/plastic/plastic.el (plastic-shell-handle-output): * lib/texi-docstring-magic.el (texi-docstring-magic-insert-magic): * lib/pg-dev.el (emacs-lisp-mode-hook): * lib/maths-menu.el (maths-menu-filter-predicate) (maths-menu-tokenise-insert): * lib/holes.el (holes-next): * lego/lego.el (lego-shell-handle-output): * isar/isabelle-system.el (isabelle-docs-menu): * coq/coq.el (coq-compile-command, coq-compile-auto-save) (coq-compile-ignored-directories, coq-load-path-safep) (proof-shell-handle-delayed-output-hook): Don't quote lambda.
* Change default Unicode Tokens font back to DejaVU Sans, more reliable ↵Gravatar David Aspinall2012-04-30
| | | | without installing STIX.
* Add fix and regression test for Trac #138Gravatar David Aspinall2011-10-17
|
* Attempt to support stricter bytecomp warningsGravatar David Aspinall2011-10-17
|
* Require cl only during compileGravatar David Aspinall2011-10-17
|
* Patch from Tom Prince to fix Emacs 24 byte compilation (replace ↵Gravatar David Aspinall2011-10-13
| | | | interactive-p with called-interactively-p)
* brute-force method to enable tool-bar-mode, which is especially important on ↵Gravatar Makarius Wenzel2011-09-17
| | | | GNU Emacs for Mac OS X (change was already present in Isabelle2011);
* clarified isar-improper-regexp -- "prems" is already reported as legacy by ↵Gravatar Makarius Wenzel2011-08-31
| | | | the prover (after Isabelle2011);
* generalized font-lock regexps: isar-text allows any non-control characters ↵Gravatar Makarius Wenzel2011-07-06
| | | | to be marked up (e.g. notation for "free" and "skolem" variables after Isabelle2011);
* Replace proof-boring-face -> isabelle-quote-face, reported onGravatar David Aspinall2011-05-05
| | | | Isabelle-users list by Peter Lammich.
* Update with files from Isabelle2011 (no actual changes).Gravatar David Aspinall2011-01-31
|
* New files.Gravatar David Aspinall2011-01-31
|
* Deleted fileGravatar David Aspinall2011-01-31
|
* proof-shell-theorem-dependency-list-regexp: change to match altered output ↵Gravatar David Aspinall2011-01-31
| | | | format.
* auto-solve -> auto-solve-direct for Isabelle2011.Gravatar David Aspinall2011-01-31
|
* added option -f FONT;Gravatar Makarius Wenzel2011-01-27
|
* Add autotest startGravatar David Aspinall2011-01-26
|
* Remove debug messagesGravatar David Aspinall2011-01-25
|
* Update dates and versionsGravatar David Aspinall2011-01-14
|
* some attempts to indent 'notepad' 'begin' ... 'end' like a proof body;Gravatar Makarius Wenzel2010-12-08
|
* isar-set-undo-commands: prevent opening new script files calling ↵Gravatar David Aspinall2010-10-11
| | | | proof-deactivate-scripting
* isar-user-tokens: add doc so user can see it when using customizeGravatar David Aspinall2010-10-10
|
* Update version numbers, release datesGravatar David Aspinall2010-10-01
|
* use-linear-undo: use default of t againGravatar David Aspinall2010-09-08
|
* Fix bug with nested spans, solving #344/#335Gravatar David Aspinall2010-08-27
|
* Replace proof-terminal-char with proof-terminal-string.Gravatar David Aspinall2010-08-27
|
* Add unnecessary quote marks for consistent colouringGravatar David Aspinall2010-08-25
|
* isar-set-undo-commands: encourage the user not to change while processing a ↵Gravatar David Aspinall2010-08-24
| | | | buffer
* Tidy commentsGravatar David Aspinall2010-08-24
|
* isar-strip-terminators: backward-delete-char -> delete-char to fix Emacs 24 ↵Gravatar David Aspinall2010-08-24
| | | | compile warning
* isar-describe-help-keys: remove this, available by default as C-c C-a h C-hGravatar David Aspinall2010-08-22
| | | | (see Trac #341)
* iasbelle-string-face: Remove italic from defaults becauseGravatar David Aspinall2010-08-19
| | | | | STIXRegular doesn't include italic variants of symbols, resulting in empty glyphs appearing on Mac OS X
* Another test fileGravatar David Aspinall2010-08-18
|
* Work on Trac #335 (broken old style script management)Gravatar David Aspinall2010-08-18
|
* Clean flag settings for profiling. Add AHundredProofs.Gravatar David Aspinall2010-08-18
|