aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-pgip.el
Commit message (Collapse)AuthorAge
* Make coq-mode work without generic/proof-*Gravatar Stefan Monnier2018-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the various `require`s to avoid spurious dependencies, and tweak the code here and there to eliminate the remaining dependencies. * coq/coq-db.el: Don't require proof-config nor proof-syntax. (coq-build-opt-regexp-from-db): Avoid proof-regexp-alt-list. * coq/coq-indent.el: Use lexical-binding. Don't require coq-syntax. Comment out all the code that's not used any more. (coq-empty-command-p): Use forward-comment instead of coq-find-not-in-comment-backward. Fix paren typos. (coq-script-parse-cmdend-forward, coq-script-parse-cmdend-backward): Use forward-comment i.s.o proof-script-generic-parse-find-comment-end. Use syntax-ppss i.s.o proof-buffer-syntactic-context. (coq-find-current-start): Explicit case-fold-search i.s.o proof-looking-at. * coq/coq-mode.el (coq-mode): Set comment-start/end. * coq/coq-smie.el: Require coq-syntax explicitly. (coq-smie-detect-goal-command, coq-smie-module-deambiguate): Explicit case-fold-search i.s.o proof-looking-at. (coq-indent-basic): New custom var. (coq-smie-rules): Use it in case PG is not loaded. * coq/coq-syntax.el: Don't require proof-syntax, proof-utils, and span. (coq-goal-command-p): Use overlay-get i.s.o span-property. (coq-save-command-regexp-strict, coq-save-command-regexp): Use \` and regexp-opt i.s.o proof-anchor-regexp and proof-ids-to-regexp. (coq-save-command-p): Explicit case-fold-search i.s.o proof-string-match. (coq--regexp-alt-list-symb): Rename from proof-regexp-alt-list-symb. Use mapconcat i.s.o proof-regexp-alt-list. (coq-save-with-hole-regexp): Use regexp-opt i.s.o proof-regexp-alt-list. (coq-goal-command-regexp, coq-goal-with-hole-regexp) (coq-decl-with-hole-regexp, coq-defn-with-hole-regexp) (coq-font-lock-keywords-1): Use mapconcat i.s.o proof-regexp-alt-list. (coq-find-first-hyp, coq-detect-hyps-positions-in-goals): Use current buffer i.s.o proof-goals-buffer. (coq-with-altered-syntax-table): Fix broken use of unwind-protect. * coq/coq.el (coq-detect-hyps-in-goals): Change buffer before calling coq-find-first-hyp and coq-detect-hyps-positions-in-goals. (coq-pg-setup): Use comment-start/end. * generic/pg-goals.el: Require proof-script explicitly instead of autoloading via proof-insert-sendback-command. * generic/pg-pbrpm.el: Require proof-script explicitly instead of autoloading via proof-insert-pbp-command. * generic/pg-pgip.el: Require proof-script explicitly. * generic/proof-depends.el: Require proof-script explicitly instead of autoloading via pg-set-span-helphighlights. * generic/proof-script.el (pg-set-span-helphighlights) (proof-insert-pbp-command, proof-insert-sendback-command) (proof-script-generic-parse-find-comment-end): Don't autoload. * generic/proof-syntax.el (proof-ids-to-regexp): Simplify. * lib/span.el (span-delete): η-reduce.
* 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.
* Fix most doc issues raised by (checkdoc)Gravatar Erik Martin-Dorel2018-08-23
|
* Update copyright messages and improve the header of elisp files.Gravatar Erik Martin-Dorel2018-02-21
|
* Attempt to support stricter bytecomp flagsGravatar David Aspinall2011-10-17
|
* Improve handling of dynamic preferences. Addresses Trac #387.Gravatar David Aspinall2011-01-31
|
* Patch to add pgipfloat type.Gravatar David Aspinall2010-12-16
|
* Improve messageGravatar David Aspinall2010-08-18
|
* Checkdoc cleanupsGravatar David Aspinall2010-08-08
|
* Experimental changes to queue several commands at once and to allow ↵Gravatar David Aspinall2009-09-10
| | | | pre-processing of commands when they're queued from script
* Clean compileGravatar David Aspinall2009-09-10
|
* Fix typosGravatar David Aspinall2009-09-07
|
* Fix compile warningsGravatar David Aspinall2009-09-06
|
* Clean whitespaceGravatar David Aspinall2009-09-05
|
* Fix compile warningsGravatar David Aspinall2009-08-28
|
* Use descriptions of help items to set menu tooltips (resolve trac #218)Gravatar David Aspinall2009-07-30
|
* Updated.Gravatar David Aspinall2008-01-26
|
* Reduce compiler warnings. Minor fixes.Gravatar David Aspinall2008-01-16
|
* Many rearrangements for compatibility, efficient/correct compilation, ↵Gravatar David Aspinall2008-01-15
| | | | | | | namespaces fixes. pre-shell-start-hook: remove this, use default names for modes proof-compat: simplify architecture flags, use standard (featurep 'xemacs).
* Rename: proof-show-debug-messages -> proof-general-debug.Gravatar David Aspinall2007-12-14
|
* Emacs compatibility/API updates: string-to-int -> string-to-numberGravatar David Aspinall2007-12-10
|
* Fix compile errorsGravatar David Aspinall2007-12-10
|
* Fix some compile warnings: bug in pg-pgip-interpret-choice; move defsubsts ↵Gravatar David Aspinall2007-12-09
| | | | to pg-xml.el
* Updated.Gravatar David Aspinall2006-05-26
|
* Rename PGIP packet attribute origin -> tagGravatar David Aspinall2005-09-30
|
* UpdatesGravatar David Aspinall2004-10-05
|
* Fix backward compatibility with Isabelle 2004.Gravatar David Aspinall2004-08-31
|
* Fixes for idtablesGravatar David Aspinall2004-08-26
|
* Extended and updated PGIP support for PGIP 2.XGravatar David Aspinall2004-08-25
|
* Add 'oldhaspref to update action (settings appears again on Isar menu).Gravatar David Aspinall2004-04-15
|
* Support 'oldhaspref as alias for 'haspref in PG 3.5.Gravatar David Aspinall2004-04-14
|
* Beginnings of parsescript supportGravatar David Aspinall2004-02-29
|
* Update email and web addressesGravatar David Aspinall2004-02-08
|
* Include class attribute in PGIP commandsGravatar David Aspinall2003-09-24
|
* Fix some compile errorsGravatar David Aspinall2003-02-24
|
* DocGravatar David Aspinall2002-11-28
|
* Add pg-issue-pgipGravatar David Aspinall2002-11-20
|
* Fixup code to interpret default values.Gravatar David Aspinall2002-11-18
|
* Next iteration: add post-processing step, descriptions in haspref.Gravatar David Aspinall2002-11-14
|
* Debuggin pg-pgip-haspref.Gravatar David Aspinall2002-11-07
|
* Fix autoloadGravatar David Aspinall2002-08-15
|
* GPLGravatar David Aspinall2002-06-21
|
* Year changesGravatar David Aspinall2002-03-21
|
* Fix some bugs shown by byte compGravatar David Aspinall2001-07-09
|
* Copyright date updatedGravatar David Aspinall2001-05-08
|
* Typo.Gravatar David Aspinall2000-12-07
|
* Beginnings of pgip processingGravatar David Aspinall2000-12-07
|
* Functions to process pgip commands.Gravatar David Aspinall2000-11-24