| Commit message (Collapse) | Author | Age |
... | |
|\
| |
| | |
Fix spurious scrolling of *goals* and *response* buffers
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some people prefer ";" tactical to be non indented, in particular in
Ltac definitions. Setting this variable to 0 (2 by default) does it. You
can still have some indentation by putting ; at beginning of lines:
tac1
; tac2
; tac3.
|
| |
| |
| |
| | |
proof-script-buffer was not set before calling proof-shell-ready-prover.
|
| | |
|
| |
| |
| |
| | |
Maybe need coq fix.
|
| |
| |
| |
| |
| |
| | |
See https://github.com/cpitclaudel/company-coq/issues/8 and
https://github.com/cpitclaudel/company-coq/issues/32 for some background
info.
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Need some more refactoring actually: Some code from coq-compile-common
became necessary to coq/pg globally. We shoudl refelct this by moving
these parts somewhere else.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Dedicated regexp for bullets when searching backward.
|
|
|
|
|
| |
Experimenting on more regexp and less adhoc searching in the smie lexer.
In particular the regexp for bullet seems now capture only real bullets.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Works well for a single induction/destruct.
Works sometimes for inversion.
Does not work in presence of eqn flag yet (easy to fix).
Does not work on ;-combined tactics (hard to fix).
Does not work on a lot of inversion invocation (but some are ok).
We basically need another "as" tactical with a retro-predictable input.
That is: when seeing the resulting goal we can deduce what would have
been the right "as" close. This is currently the case only for
destruct/induction !foo (notice the exclamation mark).
|
|
|
|
| |
Closes #12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug recipe:
* Process some imports
* Enable on the fly compilation
* Kill coq process
Error:
Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
maphash((lambda (ancestor state) (if (eq state (quote locked)) (progn (coq-unlock-ancestor ancestor) (puthash ancestor nil coq-par-ancestor-files)))) nil)
(progn (maphash (function (lambda (ancestor state) (if (eq state (quote locked)) (progn (coq-unlock-ancestor ancestor) (puthash ancestor nil coq-par-ancestor-files))))) coq-par-ancestor-files))
(if (or t coq-par-ancestor-files) (progn (maphash (function (lambda (ancestor state) (if (eq state (quote locked)) (progn (coq-unlock-ancestor ancestor) (puthash ancestor nil coq-par-ancestor-files))))) coq-par-ancestor-files)))
coq-par-unlock-ancestors-on-error()
coq-par-emergency-cleanup()
run-hooks(proof-shell-signal-interrupt-hook)
proof-shell-kill-function()
kill-buffer(#<buffer *coq*>)
proof-shell-exit(nil)
funcall-interactively(proof-shell-exit nil)
#<subr call-interactively>(proof-shell-exit nil nil)
ad-Advice-call-interactively(#<subr call-interactively> proof-shell-exit nil nil)
apply(ad-Advice-call-interactively #<subr call-interactively> (proof-shell-exit nil nil))
call-interactively(proof-shell-exit nil nil)
command-execute(proof-shell-exit)
|
| |
|
|
|
|
|
| |
Only in coq mode for now. There are still some strange frame deletion
some times.
|
| |
|
|
|
|
| |
Less guessing, separate guessing code.
|
| |
|
|
|
|
|
| |
The warning is displayed when failing to retrieve last prompt info. Once
we understand what happened we can remove this warning.
|
|
|
|
|
|
| |
Command line options changed heavily betwenn 8.4 and 8.5. We need an
option to force V8.4 in some cases, mainly to infer the right
coqtop/coqdep invocations.
|
|
|
|
|
|
|
|
|
| |
Now there is acommand that adds as close to the next to be scripted
command. Finally found a way to make this close to correct for
destruct and induction by using "!" modifier on the destructed names,
so that the automatic naming does not reuse the this name.
Probably still very approximated for inversion.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
delete-selection-mode requires command that insert text to be annotated
with a 'delete-selection property.
|
| |
|
| |
|
|
|
|
| |
Added a newline and removed the useless intros.
|
| |
|
| |
|
|
|
|
|
| |
Hooks modifying things in *goals* or *response* now try to operate on
the right frame/windows.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Surprising that this did not raise before...
|
| |
|
| |
|
| |
|
|
|
|
| |
|| is either a boolean operator or a tactical.
|
| |
|