aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-menu.el
Commit message (Collapse)AuthorAge
* Reduce the impact of proof-site, in case PG is not usedGravatar Stefan Monnier2018-12-25
| | | | | | | | | | | | | | | | * generic/proof-autoloads.el: Remove `require`s; not needed. * generic/proof-site.el: Don't require `pg-vars`. (proof-ready-for-assistant): Move to proof-script.el. * generic/proof-menu.el (proof-assistant-format): Make dynamically scoped var explicit (preparation for lexical-binding). * generic/proof-script.el: Require `pg-vars`. (proof-ready-for-assistant): Move from proof-site.el. * generic/proof-syntax.el (proof-replace-regexp-in-string): * generic/proof-shell.el (proof-shell-live-buffer): Don't mark it as inlinable: it's not performance sensitive.
* 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.
* Use cl-caddr instead of caddrGravatar Clément Pit-Claudel2018-12-15
| | | | | | Hopefully fixes #409. Reported-By: @lysxia
* 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.
* 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
|
* Bind C-c C-m (= C-c RET) to proof-goto-point [tty] (#228)Gravatar Erik Martin-Dorel2018-02-20
| | | Close ProofGeneral/PG#31
* Remove mmm and ML4PG contribs and remove references to them in code and docsGravatar Paul Steckler2017-05-24
|
* Fix incorrect uses of defvarGravatar Clément Pit--Claudel2017-03-08
| | | | | | | It didn't really matter that these variables were defined and set to nil during compilation, since we ran compilation in a clean Emacs in --batch mode; it does matter now, however, since package.el compiles PG in the user's currently running Emacs instance.
* 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
* Fixed a compilation issue + small display glitch in coqpgGravatar Pierre Courtieu2014-12-22
|
* Add option proof-layout-windows-on-visit-file, addressing Trac #444Gravatar David Aspinall2012-08-16
|
* merge ProofTreeBranch into main trunk:Gravatar Hendrik Tews2012-01-03
| | | | | | | | | | | | | | | | - add support for proof-tree displays (currently Coq only) - new file generic/proof-tree.el contains generic code - Coq specific code has been added to coq/coq.el Changes to existing Proof General functions: - proof-shell-exec-loop and proof-shell-filter-manage-output call proof-tree display functions, when the proof-tree display is on - proof-shell-exec-loop returns t if proof-action-list is empty _or_ contains only items for updating the proof-tree - proof-shell-should-be-silent returns nil when the proof-tree display is on - coq-last-prompt-info, coq-last-prompt-info-safe return as additional 4th element the name of the current proof
* Patch from Tom Prince to fix Emacs 24 byte compilation (replace ↵Gravatar David Aspinall2011-10-13
| | | | interactive-p with called-interactively-p)
* Capitalize menu itemsGravatar David Aspinall2011-08-24
|
* Remove PG prefix from toolbar button names (needed for disambiguity in older ↵Gravatar David Aspinall2011-08-23
| | | | Emacsen, displayed in Emacs 24 UI)
* Add proof-output-tooltips option to turn off output highlighting for people ↵Gravatar David Aspinall2011-04-13
| | | | who read or edit by waving mouse at text
* Only make settings commands for dynamic settings which differ from their ↵Gravatar David Aspinall2011-01-31
| | | | defaults
* Make proof-assistant-settings follow currently available dynamic settings, ↵Gravatar David Aspinall2011-01-31
| | | | and keep possibly customized variables bound. Closes Trac #387.
* Improve handling of dynamic preferences. Addresses Trac #387.Gravatar David Aspinall2011-01-31
|
* Remove commentGravatar David Aspinall2011-01-12
|
* Add additional support for pgipfloat typeGravatar David Aspinall2011-01-11
|
* Patch to add pgipfloat type.Gravatar David Aspinall2010-12-16
|
* Move mouse button bindings to avoid clashes (patch from Trac #365, Erik ↵Gravatar David Aspinall2010-10-04
| | | | Martin-Dorel)
* Adjust menu layout for Quick Options. Add Document Centred and Default ↵Gravatar David Aspinall2010-09-21
| | | | convenience commands.
* Implement the eagerly anticipated Beyond Script Management Feature No.2 ↵Gravatar David Aspinall2010-08-27
| | | | (i.e., automatic preview of next command)
* Split proof-assistant-settings-cmds and proof-assistant-settings-cmdGravatar David Aspinall2010-08-24
|
* Use C-c C-H for proof-help as suggested in Trac #341, since C-c h clashes ↵Gravatar David Aspinall2010-08-22
| | | | | | with holes mode (unfortunately).
* Move binding of proof-help from C-c C-h to C-c h (see Trac #341)Gravatar David Aspinall2010-08-22
|
* Add Fast Process Buffer optionGravatar David Aspinall2010-08-19
|
* Preliminary and experimental support for automatically sending commands.Gravatar David Aspinall2010-08-15
|
* Checkdoc cleanupsGravatar David Aspinall2010-08-08
|
* Move key binding for proof assistant keymap (fixes compilation bug)Gravatar David Aspinall2010-08-03
|
* Add support for basic "movie" recording. See http://mws.cs.ru.nl/proviola.Gravatar David Aspinall2010-08-03
|
* Rework script span element hiding to avoid buffer-invisibility-spec. Add ↵Gravatar David Aspinall2009-12-03
| | | | command elements.
* Add proof-sticky-errors to quick options menu.Gravatar David Aspinall2009-12-02
|
* Remove mention of `proof-script-use-old-parser'.Gravatar David Aspinall2009-12-01
|
* proof-splice-separator -> mapconcat builtinGravatar David Aspinall2009-12-01
|
* reverse settings within each group, to prevent upside-down presentation;Gravatar Makarius Wenzel2009-11-24
|
* Clean up hints about buffer displayGravatar David Aspinall2009-09-29
|
* Menu entry <PA>-set-command invisible when function undefined (not inactive)Gravatar David Aspinall2009-09-28
|
* Trace buffer: do not show this trace-output-regexp not setGravatar David Aspinall2009-09-27
|
* Rotate Output Buffers: do not show this if in three window modeGravatar David Aspinall2009-09-27
|
* Follow Upper Case Convention for menu entriesGravatar David Aspinall2009-09-27
|
* Tweak hint textGravatar David Aspinall2009-09-27
|
* Put Display submenu first in Quick Options menuGravatar David Aspinall2009-09-27
|
* Shorten menu nameGravatar David Aspinall2009-09-26
|
* Add Hide/Show to extra modes menuGravatar David Aspinall2009-09-21
|
* Rearrange options, add customize user options to top level menuGravatar David Aspinall2009-09-21
|