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
Fallback for coqtop #541
Comments
I see requests for aliases for coqide on https://forum.snapcraft.io/t/aliases-request-for-coq-prover/21925 ; why not for coqtop/coqidetop? |
We could have requested these additional aliases indeed (and we still can), but @gares considered that as these are internal executables, this didn't matter as much. There are not that many user interfaces to adapt either. But feel free to disagree and to open a request for new aliases instead. |
No disagreement — I won't have time to do either ^^ |
Would some other PG maintainer be available to implement this? |
Hi, as far as I am concerned I'd really prefer we add some additional aliases so that |
Asking for aliases can be done by anyone, not just me, but it is better to synchronize since the procedure requires the request to get 2 positive votes, so one cannot do it alone either. See https://forum.snapcraft.io/t/aliases-request-for-coq-prover/21925 for and example of the procedure to follow. |
Two PG maintainers saying the same thing is enough to me. I can take care of opening the request for more aliases based on this feedback. |
Beware that coqidetop has a .opt extension (if you ask, ask for both), I mean, vscoq (and coqide) load So the aliases should be
|
(this was another reason I was not in love with these aliases) |
I guess I can propose a PR that also tries coq-prover.coqtop and coq-prover.coqc as possible executable names. But definitely not happy with such adhoc code. Shouldn't we (IDE developpers) rather come up with some common shell variable name to look at when looking for coq{top,c,...}? |
Well, there is indeed Between the lines I read that PG also calls |
Yes, during auto-compilation of "Requires". Actually we also need coqdep. |
Yes, auto compilation calls |
... and for 8.9.1 or before it may also call |
|
If this works on all systems it looks like a very good solution. |
In the end, PG can follow all the proposals mentioned so far in this issue. The question is the relative effort and if there is somebody willing to implement and maintain it. I have not looked into how complicated it is to apply for aliases, but to me it seems to be the solution that requires the least effort. Would it be possible to apply for the aliases, and if that fails implement one of the proposals made so far? |
Sure. I'll do that next week, unless someone else wants to take care of it. |
The additional aliases having been granted, this issue can now be closed. |
Thanks for the work @Zimmi48. |
Thanks!
|
Hello,
The Coq platform is now available as a Snap package. As explained in coq-community/vscoq#192, when Coq is installed that way, the name of the
coqtop
/coqidetop
executables are prepended withcoq-prover.
It would be great if Proof-General could test these name as default fallbacks whencoqtop
/coqidetop
are not available so that users have a good experience when installing Coq that way.Thanks!
The text was updated successfully, but these errors were encountered: