coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Vernacular command to show version of running Coq, or similar info?
Chronological Thread
- From: Anton Trunov <anton.a.trunov AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Vernacular command to show version of running Coq, or similar info?
- Date: Fri, 9 Apr 2021 10:08:48 +0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=anton.a.trunov AT gmail.com; spf=Pass smtp.mailfrom=anton.a.trunov AT gmail.com; spf=None smtp.helo=postmaster AT mail-lj1-f174.google.com
- Ironport-hdrordr: A9a23:WOFtHK6wqdJUTmJh1gPXwQ2BI+orLtY04lQ7vn1ZYxpTb8CeioSFmfwAz3bP6Qo5cncmhNyGJe28Wnva75F4+s08Or2lUQngtgKTTL1Kx43k3jHmBmnC5vdQvJ0QFZRWJdXsATFB5/rSzxK/F78bsbq62YSJocub8Ht3VwFtbMhbnn1EIz2WGEF3WwVKbKBRfPGhz/BarDmtc2l/VLXDOlA5WYH4yuHjpdbPZBIcGj4rgTPhsRqYrJb+HwOE5BsETD9V/Kc6/QH+4mnEz5Tmm/S20QLg13LX4/1t9+fJ+59qAcCWl/YYIQ/rgh/AXvUYZ5Sy+BgxrPqz1logrMLIyi1QXfhb2jf0dmGxrQCF4Xic7B8er1n4yVGZhnPnidfjRC0zDvdAgY4xSGqk12MQ+OhZ4eZwxmqc3qAncy/orWDFw+mNaB1wjEqzphMZ4JEupk0aa4oXc79Xo8g0+kRbEJlFIDn+gbpXdNVGPYXn5f5McVSVK0vUum9zzJiRXnlbJGbgfmEy/vaV2yNXm3488XEj78QEkksa8fsGOuJ5zuDJKL5hmr0LTsJ+V85AONs=
- Ironport-phdr: A9a23:dkm0iRVYuAf+ryf83cIgnHWnsXnV8KxKVTF92vIco4ILSbyq+tHYBGea288FpGHAUYiT0f9Yke2e6/mmBTVRp8/R6DtcLtRlbFwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzW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t4mA/r+Zg9uORREJlo390MUgo+Mvb0yuV7D5X2WFuEcI7WFBCpRdKpBTx3RdU0kYdmS3Y4IM2ri1X45wTvBrYUk7KRA5lc2q3Z1nn1Yc16ziSfvJQ=
Dear Peter,
You can ask Proof General about that:
M-x coq-show-version
or
M-x coq-autodetect-version
Best,
Anton
> On 8 Apr 2021, at 20:29, Peter LeFanu Lumsdaine <p.l.lumsdaine AT gmail.com>
> wrote:
>
> Dear all,
>
> Is there a vernacular command that gives the version of the Coq process —
> i.e. prints similar info to what “coqtop --version” outputs, but which can
> be called inside a Coq session? Alternatively, is there any command that
> gives the location of the currently active Coq executable, or something
> else from which the version can be robustly deduced? I’ve searched through
> the manual a bit, but haven’t managed to find these.
>
> (My use-case: I occasionally find myself in a Proof General session, but
> uncertain which copy/version of Coq has been invoked by Emacs/Proof
> General. Of course, one can easily check what command Proof General issued
> to invoke it, but Emacs often has a different $PATH from the ambient
> system, and other such issues, so it can take several surprisingly
> non-trivial steps to figure out precisely which version it’s invoked. I’m
> sure for serious emacs people this is second nature, but I find it quite
> tricky each time, so I hoped there might be a vernacular command “Print
> Version.” or similar.)
>
> Best,
> –Peter.
>
>
- [Coq-Club] Vernacular command to show version of running Coq, or similar info?, Peter LeFanu Lumsdaine, 04/08/2021
- Re: [Coq-Club] Vernacular command to show version of running Coq, or similar info?, Anton Trunov, 04/09/2021
- Re: [Coq-Club] Vernacular command to show version of running Coq, or similar info?, Gaëtan Gilbert, 04/09/2021
Archive powered by MHonArc 2.6.19+.