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: Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net>
- 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 11:04:09 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gaetan.gilbert AT skyskimmer.net; spf=Pass smtp.mailfrom=gaetan.gilbert AT skyskimmer.net; spf=None smtp.helo=postmaster AT relay6-d.mail.gandi.net
- Ironport-hdrordr: A9a23:XTqyqahx6sTqFHPuYG2BiHbopnBQXmwji2hD6mlwRA09T+WzkceykPMHkTr9jzgMUH8t8OrwX5Woa3Xa6JJz/M0tJr+kRgbroy+FK4tl4IvkzVTbakvD38Ra0rptdLU7Nc3oATFB/KLHySSxDtpI+rm62Y+yg+O29RlQZCFsL5pt9gJoTjuce3cGITVuIbocON6i6tFcpzymEE5nDPiTInUeReDMq5nqufvdACIuPBIs5AmQgT7A0teTeSSw5RsQXyhCxr0v6wH+/DDR3LmpsP2w13bnulP70pI+orfc4+dYCNfJosYYLSiEsHfKWK1RH5uYvD40p+mz6FEl1Pn0yi1KA/hO
- Ironport-phdr: A9a23:V3/YhxX+/xey2J6XTeIfimqPsNPV8KycUjF92vIco4ILSbyq+tHYBGea288FpGHAUYiT0f9Yke2e6/mmBTVRp8/R6DtcLtRlbFwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfQV6Kf7oFYHMks+5y/69+4HJYwVPmTGxfa5+IA+5oAnMssQam5ZuJ6UtxhfGo3ZFevldyH91K16Ugxvy/Nq78oR58yRXtfIh9spAXrv/cq8lU7FWDykoPn4s6sHzuhbNUQWA5n0HUmULiRVIGBTK7Av7XpjqrCT3sPd21TSAMs33SbA0Ximi77tuRRT1hioLKyI1/WfKgcF2kalVog+upwZnzoDJfo+VOvpwcKDTc9wUSmVOXNpeWSNaD4OgbIYCFfYNMfpWooT/oVYFsBuwBROrBOPq0jJGh2X52rEm0+s7FwHJxA0uH9MKsHvPstr1LrsSWv2ywanH1zrMce9W1i376ITSfRAhoPWMUqlufsrL1UkiDBjFjlaQqIz+PDOV1+ENs22F4Op6T+6vjXAoqx1orzWp28wjhZXHiJgPxVDY6SV23pw1JdugRUB7ZdOpDYVcujyVOYZ1Qc4uXmBltDo+x7AJpZO2cywHxZc5yhDQaPGKbYaG7xP+WeueIzp2i3ZodK+hihux/katzPD3WMqs0FtSsCZJj9vBumoP2hDP8MSLV/hw80m71TqS0w3e6flILV4pmafVMZIt3749moQJvUjeHSL7ml/6gLGKekgk/OWj9v7pba/8ppCGMo95kgH+Pboqmsy4Gek4KBYBX2yB9uW81bDv5FD2TK9PjvIsk6nZtIrWJcsBqa6/HgBV05wv6xChADe6yNgYnH8HI0xZeB+fkYTlJlPDLOr6APujmVigjTRmyv7cMrH8BpjALWDPkLL7crZ8705cxhAzzdda559MBbEOOuz8WlPru9zeFBM5PA20w+L8B9pjzIMeRXmCArSaMKLSql+I5eMvI+yJZIALojbxMf4l6ODyjXMhg18SYbGp3YcLaHC/BvlpP0KZYWP1jtgdFWcKoxExQffxiFyCVD5Tf2y9U7g95jE9EoKmDJ3MSpqjgLybj2+HGchdYXkDAVSRG1/pcZ+FUrECcnG8OMhkxxMN1qSoTbgO1BWkuRXmg+5oJ+fI8yteupPn3tVv+8XIlgAp9j1xCsmHlWeAUzcnzSszWzYq0fUn8gRGwVCZ3P0g69RoUOdL7vYMaT8UcJvVzuh0Edf3MirafcaSS1ejR9i8Rzc8UoBoq/c+Jn1lEtDntSjtmjKwCtc9jL+aH58196fRxT73Ktovkx7u5Owal1AjB/B3Gyimi6p4nyDJCorAghvcm+CvfKUYmiHE8muCi2yDoBMAODM=
At the very beginning of the *coq* buffer there should be a "welcome to coq"
message which may have the information you want.
Gaëtan Gilbert
On 08/04/2021 19:29, Peter LeFanu Lumsdaine 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+.