aboutsummaryrefslogtreecommitdiff
path: root/coq/coq-abbrev.el
AgeCommit message (Collapse)Author
2021-03-21Fix #563 avoid dual-send bug in search blacklist customization.Pierre Courtieu
Splitting the coq into two commands made me remove coq-search-blacklist-string from defpgcustom. The visible effect is that the menu entry has moved, and the command name changed. This is explained in the CHANGES. To squash.
2021-02-13add second stage -vok for Coq >= 8.11Hendrik Tews
New value vos-and-vok for coq-compile-vos customization option, existing value vos stands now for vos-no-vok. The implementation uses the existing vio2vo infrastructure with symbols vok and vio2vo. Documentation is still missing.
2020-05-29Fix name clash & rephrase some stringsErik Martin-Dorel
2020-05-29First try for feature #487Cyril Anaclet
2020-04-15menu entry for coq-compile-vosHendrik Tews
2020-04-15Span menu entry for proof using annotation + doc.Pierre Courtieu
2020-04-09Merge branch 'master' of https://github.com/ProofGeneral/PGPierre Courtieu
2020-04-09Automatic "Proof using" insertion.Pierre Courtieu
When "Suggest Proof Using" is set in coq, coq suggests "Proof using" annotations. We insert these annotation (by default after asking the user).
2020-04-01SearchAbout is deprecated since 8.5; use Search insteadClément Pit-Claudel
2019-05-16Highlight diffs in goals and some error messagesJim Fehrle
using Coq's proof diffs feature.
2019-05-02Fix typosJim Fehrle
2018-12-15Cosmetic cleanup of coq-smie, coq-syntax, and coq-abbrev.Stefan Monnier
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.
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-05-24Remove mmm and ML4PG contribs and remove references to them in code and docsPaul Steckler
2017-05-05Merge pull request #157 from ProofGeneral/elpaClément Pit-Claudel
[WIP] ELPA/MELPA support
2017-03-22Added support for future new options (trunk).Pierre Courtieu
2017-03-08Remove uses of defpgdefault in coq-abbrevClément Pit--Claudel
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'.
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.
2017-01-19save settings not defined with defpacustom (fixes #142)Hendrik Tews
- infrastructure for saving/resetting customizations not defined with defpacustom - improve Coq -> Auto Compilation menu - polish documentation and manual
2016-12-15Merge pull request #101 from tchajed/print-universes-optionhendriktews
Add Set Printing Universes to options menu
2016-12-14fix generic interrupt procedure to interrupt parallel background compilationHendrik Tews
2016-12-08option coq-compile-keep-going for parallel compilationHendrik Tews
With this option set, compilation continues after the first error to compile as much as possible and to potentially report more than one error.
2016-11-18reconcile menu for auto compilationHendrik Tews
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.
2016-11-16first version for quick compilationHendrik Tews
Select "Quick compilation mode" in the Coq menu. See also documentation of coq-compile-quick, the and-vio2vo stuff is not yet there.
2016-08-15Add Set Printing Universes to options menuTej Chajed
2016-08-14Sort the OPTIONS menu items differently & Fix a typo (UnSet -> Unset).Erik Martin-Dorel
2016-08-14Replace "Set Implicit Arguments" option with "Set Printing Implicit".Erik Martin-Dorel
Closes #99.
2015-12-09Adding an setting for Search Blacklist coq option.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-03-26A command to set coq printing width smartly.Pierre Courtieu
Set the width to the current goals window. Default binding: C-c C-a C-w.
2015-03-13Added a command to send Queries to coq, with completion (C-c C-a C-q).Pierre Courtieu
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.
2014-12-09Added a variant of searchAbout hiding some spurious entries.Pierre Courtieu
2013-07-22Fixing coq project file parsing + moved project options.Pierre Courtieu
2013-05-30ML4PG functionality added to Coq menujoheras
2012-09-25Fixed #419: coq synchronized variables are not anymore in the settingsPierre Courtieu
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.
2012-09-25Added a menu to set the 3 windows layout.Pierre Courtieu
2012-09-05Fixed double hit terminator. Now it is disabled by default, andPierre Courtieu
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.
2012-08-31Changed the behaviour of proof-layout-windows. Now it follows thePierre Courtieu
'horizontal 'vertical 'smart policy.
2012-07-22Making better menus for Coq. Menus visible in response and goals buffer.Pierre Courtieu
2012-07-09Added completion to insert Require, based on coq-load-path.Pierre Courtieu
2012-07-09Fixed a small bug in indentation + added new commands for queries withPierre Courtieu
Printing Implicit and Printing All flags.
2011-06-07Summary: coq-smie: improve indentation.Stefan Monnier
* 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.
2011-01-18Alternative fix to #382.David Aspinall
2011-01-18Fix trac 382 by not setting save-abbrevs.Pierre Courtieu
2010-09-01Fixed experimental feature of storing response or goal in a persistentPierre Courtieu
buffer.
2009-09-08CommentsDavid Aspinall
2009-09-06Move holes menu to holes modeDavid Aspinall
2009-09-06Moved doc of holes to holes-modeDavid Aspinall
2009-09-05Clean whitespaceDavid Aspinall