-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new hyps not proposed for completion when in diff mode. #250
Comments
From the number of issues raised by the diff mode for company-coq I suspect it relies too much on the |
Ah, good catch. I think your analysis is almost right… except I actually tried to avoid relying on buffer contents as much as possible and instead used variables like proof-shell-last-goals-output. I'm not too eager to depend on the contents of |
Right, relying on this variable seems better. Maybe we could try to clean that variable from the tags in PG instead. Would it make other features fail? Otherwise we just provide a function removing these tags. |
I'm not sure :) It would make it harder to implement features that need the tags. Maybe adding a filtering function is the right way to go. |
Yes probably. Hopefully we don't get into efficiency problems. |
BTW, I guess this is related to this other issue: #239 |
Hi
When a new tactic appear, it gets surreounded byt tags when in diff mode. It makes company-coq not recognize its name and hence it is not proposed as completion.
To reproduce:
The last goal in
*coq*
is like this. I suppose that this misleads the hyp name recognition mechanism.The text was updated successfully, but these errors were encountered: