aboutsummaryrefslogtreecommitdiff
path: root/isar/isar.el
AgeCommit message (Collapse)Author
2018-12-13Use `cl-lib` instead of `cl` everywhereStefan Monnier
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.
2018-12-12Cleanup patch; Moving defvar to toplevelStefan Monnier
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.
2017-05-05Change (eval-when (compile) ...) to (eval-when-compile ...)Clément Pit--Claudel
This fixes a bunch of compilation warnings
2017-03-08Remove compile-time calls to proof-ready-for-assistantClément Pit--Claudel
Compilation used to run in a separate Emacs process for each file, but that's not what happens when installing PG with package.el.
2017-03-08Remove unnecessary calls to 'eval-and-compile'Clément Pit--Claudel
2013-07-05more appropriate URL;Makarius Wenzel
2011-10-17Require cl only during compileDavid Aspinall
2011-01-31proof-shell-theorem-dependency-list-regexp: change to match altered output ↵David Aspinall
format.
2010-10-11isar-set-undo-commands: prevent opening new script files calling ↵David Aspinall
proof-deactivate-scripting
2010-09-08use-linear-undo: use default of t againDavid Aspinall
2010-08-27Fix bug with nested spans, solving #344/#335David Aspinall
2010-08-27Replace proof-terminal-char with proof-terminal-string.David Aspinall
2010-08-24isar-set-undo-commands: encourage the user not to change while processing a ↵David Aspinall
buffer
2010-08-24Tidy commentsDavid Aspinall
2010-08-24isar-strip-terminators: backward-delete-char -> delete-char to fix Emacs 24 ↵David Aspinall
compile warning
2010-08-22isar-describe-help-keys: remove this, available by default as C-c C-a h C-hDavid Aspinall
(see Trac #341)
2010-08-18Work on Trac #335 (broken old style script management)David Aspinall
2010-08-18Add command bound to C-c C-a h ? to show available help keysDavid Aspinall
2010-08-17Fix key bindings. Ref Trac#334David Aspinall
2010-08-17Clean up handling of pending interrupts, remove experimental ↵David Aspinall
proof-shell-interrupts-after-commit.
2010-08-16Set proof-shell-interrupts-after-commit = nilDavid Aspinall
2010-08-15proof-shell-interrupts-after-commit: support commit-before-interrupt mode ↵David Aspinall
[experimental/temporary].
2010-08-11Support custom syntactic fontification.David Aspinall
2010-08-04isabelle-string-face: introduce custom string colour as font lock default is ↵David Aspinall
terrible
2010-08-04isar-remove-file: remove (tail) recursion, leads to stack overflowDavid Aspinall
2010-08-02Fix for matching names in regexps, restores behaviour of name-aware code ↵David Aspinall
such as imenu.
2010-07-01isar-shell-adjust-line-width: save-excursion -> with-current-buffer to avoidDavid Aspinall
spurious warning in Emacs 23.2
2010-06-29removed some old commands;Makarius Wenzel
2009-11-26additional menu entries;Makarius Wenzel
2009-10-21menu items for atp_info, atp_kill;Makarius Wenzel
2009-10-17disable indent-tabs-mode for theory mode;Makarius Wenzel
2009-10-14Remove function-menu settingDavid Aspinall
2009-10-03Start using new parser, adjusting isar-any-command-regexp.David Aspinall
2009-09-28Functions find-and-forget and count-undos now return lists of commandsDavid Aspinall
2009-09-27display_drafts, print_drafts: query to save bufferDavid Aspinall
Follow Upper Case Convention for menu entries Remove duplicate menu entry: Commands -> set isabelle
2009-09-15Fix compile errorsDavid Aspinall
2009-09-14Add outline-heading-alist setting. Fix compilation.David Aspinall
2009-09-14Rename mode namesDavid Aspinall
2009-09-10Typo in var name: fixes toggling of use-linear-undo.David Aspinall
2009-09-10Experimental changes to queue several commands at once and to allow ↵David Aspinall
pre-processing of commands when they're queued from script
2009-09-09Support linear_undo. Add minimal font-lock for readability in *isabelle*.David Aspinall
2009-09-08Remove barely useful proof-shell-abort-goal-regexp (only served to sanitize ↵David Aspinall
LEGO messages)
2009-09-07Fix proof-shell-trace-output-regexp: match on annotation \^AI now tooDavid Aspinall
2009-09-07Revert change in 10.26 to use defpacustom after all, this givesDavid Aspinall
the prover-specific menu entry automatically. Fix compiler warning with a defvar.
2009-09-07Fix initialisation of isar-use-find-theorems-form in compiled file.David Aspinall
2009-09-07Fix compiler warningsDavid Aspinall
2009-09-07isar-use-find-theorems-form: use defcustom, not defpacustomDavid Aspinall
isar-keywords-name: fix custom group
2009-09-07isar-preprocessing: remove unnecessary save-match-data.David Aspinall
Fix a compile warning.
2009-09-06Configuration changes for shell mode revision.David Aspinall
2009-09-05Add bug refDavid Aspinall