Skip to content
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

File mode specification error: (void-variable coq-cmd-force-next-proof-kept) #775

Open
DaKnig opened this issue Jun 19, 2024 · 5 comments
Open

Comments

@DaKnig
Copy link

DaKnig commented Jun 19, 2024

Steps to reproduce:

  • package-install RET proof-general
  • package-install RET company-coq
  • open a coq file ending with .v
  • get the error in the title

this error is reported again when re-enabling coq-mode

@DaKnig
Copy link
Author

DaKnig commented Jun 19, 2024

I did restart emacs a few times hoping the thing will solve itself , didnt help

@erikmd
Copy link
Member

erikmd commented Jun 19, 2024

Hi @DaKnig, thanks for your report!

Could you give more details on your configuration? (OS and (if applicable) Linux distribution, emacs --version)

@hendriktews could you take a look? the reported error mentions the custom you had introduced in: 0a793db

@erikmd
Copy link
Member

erikmd commented Jun 19, 2024

@DaKnig can you also run the following code and paste its output?

$ ls -dl ~/.emacs.d/elpa/proof-general-*

@hendriktews
Copy link
Collaborator

Can you retry without company-coq?
I only see two occurrences of coq-cmd-force-next-proof-kept, one in coq.el and the declaration in coq-syntax.el. And coq.el loads coq-syntax.el. Therefore my suspicion is that the problem comes from copany-coq.

@hendriktews
Copy link
Collaborator

If you need a workaround, put

(setq coq-cmd-force-next-proof-kept "Let")

in your .emacs

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

No branches or pull requests

3 participants