Skip to content

Conversation

@Matafou
Copy link
Contributor

@Matafou Matafou commented Jan 7, 2026

Holes is a poor man's yasnippet that I wrote a long time ago. Yasnippet is 1) much better 2) maintained by someone else. Hence I am happy to remove this library from proofgeneral. The policy is: if if yasnippet is present then we use it by default (unless company-coq is present and takes precedence). Otherwise a very basic abbreviation system is used. One can opt out from yasnippet with coq-use-yasnippet and independently one can opt out from the default yasnippet templates we build from coq-db.

I will merge once maintainers pf other proof assistant instances confirm they don't need it.

coq-show (C-c C-a C-s) used to be smart and tried to look at the
cursor position. If the cursos was on the locked region it tried to
extract the goal state as stored at this point. But states are not
stored anymore (coq runs silently now). This was marked as disabled in
comments but the code was not unplugged.

Even if this becomes possible again I think this feature (looking at
the goal at point in file instead of at the end of locked region)
needs to be a different command.
Move the declaration of user options coq-use-yasnippet and
coq-yasnippet-use-default-templates to remove a cyclic dependency.

Insertion of named goals is OK. But scripting does not support the use
of curly braces together with them (which is there main advantage
imho). This will be fixed in another PR.
@Matafou
Copy link
Contributor Author

Matafou commented Jan 8, 2026

@strub @dominique-unruh do you confirm you don't use holes.el.
I checked in the code and it seems to be the case.

@dominique-unruh
Copy link
Contributor

I don't use holes.el.

@strub
Copy link
Contributor

strub commented Jan 8, 2026

Pinging @MM45

@MM45
Copy link

MM45 commented Jan 9, 2026

Good to go for me, EasyCrypt extension doesn't use holes either

@Matafou Matafou merged commit 649f8f0 into ProofGeneral:master Jan 9, 2026
140 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants