aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-abbrev.el
Commit message (Collapse)AuthorAge
* Cosmetic cleanup of coq-smie, coq-syntax, and coq-abbrev.Gravatar Stefan Monnier2018-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few more cl.el leftovers. Get rid of remaining use of iso-2022. Use SMIE unconditionally. * coq/coq-abbrev.el: Use lexical-binding. (coq-install-abbrevs): Delete, only keep the relevant contents. (proof-defstringset-fn): Remove. Fold changes into the main version. * coq/coq-indent.el (coq-find-real-start): Use forward-comment. * coq/coq-smie.el: Use lexical-binding. Assume `smie` is available. (coq--string-suffix-p): Rename from coq-string-suffix-p. Use string-suffix-p for it when available. (string-suffix-p): Never define here. Change all users to use coq--string-suffix-p instead. (coq-smie-.-deambiguate): Use forward-comment. Remove unused var `beg`. (coq-backward-token-fast-nogluing-dot-friends) (coq-forward-token-fast-nogluing-dot-friends): Remove unused var `tok-other`. (coq-smie-search-token-backward): Remove unused var `p`. (coq-smie-:=-deambiguate, coq-smie-backward-token): Prefer char-before over looking-back. (coq-smie-rules): Use `pcase` over deprecated cl's `case`. * coq/coq-syntax.el: Use lexical-binding. (coq-count-match): Rewrite so it doesn't do needless heap-allocation. (coq-module-opening-p, coq-section-command-p, coq-goal-command-str-p): Use case-fold-search rather than proof-string-match. (coq-goal-command-regexp): Forward-declare. (coq-save-command-regexp-strict): Move before first use. (coq-reserved-regexp): Use a single \_< ... \_>. (coq-detect-hyps-positions): Limit search for looking-back. * coq/coq.el: Remove SMIE declarations since SMIE is always used. (coq-use-smie): Remove, unused. (coq-smie): Always require. * generic/pg-pbrpm.el: Fix leftover cl.el uses. * generic/proof-utils.el (proof-defstringset-fn): Fix copy&paste error in the docstring, improve interactive prompt. * lib/maths-menu.el: Use utf-8 and lexical-binding.
* 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
|
* Remove mmm and ML4PG contribs and remove references to them in code and docsGravatar Paul Steckler2017-05-24
|
* Merge pull request #157 from ProofGeneral/elpaGravatar Clément Pit-Claudel2017-05-05
|\ | | | | [WIP] ELPA/MELPA support
* | Added support for future new options (trunk).Gravatar Pierre Courtieu2017-03-22
| |
| * Remove uses of defpgdefault in coq-abbrevGravatar Clément Pit--Claudel2017-03-08
| | | | | | | | | | | | This file is `require'-d when compiling coq.el, and at that point the proof assistant isn't set to coq yet, so it would define variables prefixed by `nil-' instead of `coq'.
| * 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.
* save settings not defined with defpacustom (fixes #142)Gravatar Hendrik Tews2017-01-19
| | | | | | | - infrastructure for saving/resetting customizations not defined with defpacustom - improve Coq -> Auto Compilation menu - polish documentation and manual
* Merge pull request #101 from tchajed/print-universes-optionGravatar hendriktews2016-12-15
|\ | | | | Add Set Printing Universes to options menu
* | fix generic interrupt procedure to interrupt parallel background compilationGravatar Hendrik Tews2016-12-14
| |
* | option coq-compile-keep-going for parallel compilationGravatar Hendrik Tews2016-12-08
| | | | | | | | | | | | With this option set, compilation continues after the first error to compile as much as possible and to potentially report more than one error.
* | reconcile menu for auto compilationGravatar Hendrik Tews2016-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Making coq-compile-quick configurable via the Settings menu would require a lot of work, because the defpacustom/proof-menu-define-settings-menu engine does only work for simple types. On second sight, I believe the Settings menu and the whole engine behind it are more intended for options that configure the proof assistant behind Proof General. Taking this together, I believe, it makes more sense to have a separate menu entry for auto compilation in the Coq menu. This submenu contains all the options for background compilation. The compilation entries from the settings menu should be deleted, probably after the next release.
* | first version for quick compilationGravatar Hendrik Tews2016-11-16
| | | | | | | | | | | | Select "Quick compilation mode" in the Coq menu. See also documentation of coq-compile-quick, the and-vio2vo stuff is not yet there.
| * Add Set Printing Universes to options menuGravatar Tej Chajed2016-08-15
|/
* Sort the OPTIONS menu items differently & Fix a typo (UnSet -> Unset).Gravatar Erik Martin-Dorel2016-08-14
|
* Replace "Set Implicit Arguments" option with "Set Printing Implicit".Gravatar Erik Martin-Dorel2016-08-14
| | | | Closes #99.
* Adding an setting for Search Blacklist coq option.Gravatar Pierre Courtieu2015-12-09
|
* proof-assert-command-hook added + Auto adjust width in coq mode.Gravatar Pierre Courtieu2015-10-12
| | | | | | | 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).
* A command to set coq printing width smartly.Gravatar Pierre Courtieu2015-03-26
| | | | | Set the width to the current goals window. Default binding: C-c C-a C-w.
* Added a command to send Queries to coq, with completion (C-c C-a C-q).Gravatar Pierre Courtieu2015-03-13
| | | | | Should replace C-c C-v at some point. Needs to have a complete list of such queries. Obeys C-u prefix for Printing all flag.
* Added a variant of searchAbout hiding some spurious entries.Gravatar Pierre Courtieu2014-12-09
|
* Fixing coq project file parsing + moved project options.Gravatar Pierre Courtieu2013-07-22
|
* ML4PG functionality added to Coq menuGravatar joheras2013-05-30
|
* Fixed #419: coq synchronized variables are not anymore in the settingsGravatar Pierre Courtieu2012-09-25
| | | | | menu, they are in option menu that only issues commands to the prover and do not try to keep track of the values of the variables.
* Added a menu to set the 3 windows layout.Gravatar Pierre Courtieu2012-09-25
|
* Fixed double hit terminator. Now it is disabled by default, andGravatar Pierre Courtieu2012-09-05
| | | | | | | | enabling it disables electric-terminator and vice-versa. In case both are non nil at the same time, then electric teminator has priority. If people like it we may propose this to other modes than coq. + fixed window layout policy.
* Changed the behaviour of proof-layout-windows. Now it follows theGravatar Pierre Courtieu2012-08-31
| | | | 'horizontal 'vertical 'smart policy.
* Making better menus for Coq. Menus visible in response and goals buffer.Gravatar Pierre Courtieu2012-07-22
|
* Added completion to insert Require, based on coq-load-path.Gravatar Pierre Courtieu2012-07-09
|
* Fixed a small bug in indentation + added new commands for queries withGravatar Pierre Courtieu2012-07-09
| | | | Printing Implicit and Printing All flags.
* Summary: coq-smie: improve indentation.Gravatar Stefan Monnier2011-06-07
| | | | | | | | | | | | | | | | * coq.el (coq-smie-grammar): Add rules for {|...|}, Let, Record, Module..End, Section..End, and BeginSubproof..EndSubproof. (coq-smie-search-token): New function. (coq-smie-forward-token, coq-smie-backward-token): Recognize {| and |}. Distinguish Module definition from Module introduction. Merge "Module Type" and "Module". (coq-smie-rules): Refine list-intro. Improve indentation after "with". Add Function, Let and Record to the := case. Indent within Module..End and friends. Improve indentation of record def. Indent forall's body by 2. Better indent Lemmas. * coq-db.el (coq-build-abbrev-table-from-db): Mark those abbrevs as `system'. * coq-abbrev.el (coq-install-abbrevs): Don't bind save-abbrevs since it's not needed any more.
* Alternative fix to #382.Gravatar David Aspinall2011-01-18
|
* Fix trac 382 by not setting save-abbrevs.Gravatar Pierre Courtieu2011-01-18
|
* Fixed experimental feature of storing response or goal in a persistentGravatar Pierre Courtieu2010-09-01
| | | | buffer.
* CommentsGravatar David Aspinall2009-09-08
|
* Move holes menu to holes modeGravatar David Aspinall2009-09-06
|
* Moved doc of holes to holes-modeGravatar David Aspinall2009-09-06
|
* Clean whitespaceGravatar David Aspinall2009-09-05
|
* Changed the main menu of coq. Changed a shortcut for holes.Gravatar Pierre Courtieu2008-07-21
|
* Remove faulty testGravatar David Aspinall2008-07-05
|
* Fixed a bug with abbrev table definition.Gravatar Pierre Courtieu2008-05-22
|
* Fixed a problem with a wrong side effect on syntax databases (whenGravatar Pierre Courtieu2008-01-28
| | | | sorting for menus).
* Many compatibility updates, bug fixes, rearrangements for compilation.Gravatar David Aspinall2008-01-15
|
* Fixed abbrev installation. + small fixes.Gravatar Pierre Courtieu2008-01-03
|
* Fix compilation problems and rearrange startup settings for ↵Gravatar David Aspinall2007-12-14
| | | | coq-prog-name,coq-prog-args
* Remove eval-when, seems unreliableGravatar David Aspinall2007-12-14
|
* Attempt to fix compile problemsGravatar David Aspinall2007-12-14
|
* Added some unknown keyword (not changing state). Fixes bug 113 from emakarov.MGravatar Pierre Courtieu2007-04-26
|
* Fixed a small bug in indentation of coq.Gravatar Pierre Courtieu2006-08-25
| | | | Fixed behavior for making abbrev table (don't if it already exists).