diff options
| author | Emilio Jesus Gallego Arias | 2017-11-27 18:50:40 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-03-05 20:44:36 +0100 |
| commit | fd840fcfb6a94efe8bbfd5392b7a4b98c61cbbc0 (patch) | |
| tree | 4e222c9cb5276e2b99bef26af88179b2554ac7dd /dev | |
| parent | 15331729aaab16678c2f7e29dd391f72df53d76e (diff) | |
[toplevel] Modify printing goal strategy.
Instead of using a command-analysis heuristic, coqtop will now print
goals if the goal has changed. We use a fast goal comparison
heuristic, but a more refined strategy would be possible.
This brings some [IMHO very welcome] change to PG and `-emacs`, which
will now disable the printing of goals. Now, instead of playing with
`Set/Unset Silent` and a bunch of other hacks, PG can issue a `Show`
command whenever it wishes to redisplay the goals.
This change will break PG, so we need to carefully coordinate this PR
with PG upstream (see ProofGeneral/PG#212).
Some interesting further things to do:
- Detect changes in nested proofs.
- Uncouple the silent flag from "print goals".
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions
