coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Peter LeFanu Lumsdaine <p.l.lumsdaine AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Vernacular command to show version of running Coq, or similar info?
- Date: Thu, 8 Apr 2021 18:29:20 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=p.l.lumsdaine AT gmail.com; spf=Pass smtp.mailfrom=p.l.lumsdaine AT gmail.com; spf=None smtp.helo=postmaster AT mail-lf1-f50.google.com
- Ironport-hdrordr: A9a23:TPlUA69hW2sv4tEcCY9uk+BlI+orLtY04lQ7vn1ZYxpTb8CeioSSjO0WvCWE7wo5dVMBvZS7OKeGSW7B7pId2+MsFJqrQQWOghrKEKhM9o3nqgeBJwTb1spwkZhtaLJ/DtqYNzlHpOL3+hOxHdpl4PTvytHLuc7kw31gTR5nZshbhm8TNi+gDkZ0SANabKBJcaa028wvnUvFRV0nKuq+Ql0IRfLKqdGOro/vfBJuPXIawTjLozWv5rv3VzW7/jNbaTNAxr8+7XPI+jaV2oyT99+8zBHY2yvo64lO3OHm1sBICKW35fQ9G3HWhgylZJtsVtS50gwInA==
- Ironport-phdr: A9a23:SPByMh01E985xsq/smDODgQyDhhPgJ3EezUN459isYplN5qZl7zcNUDSrc9gkEXOFd2Cra4d2qyP7PCrADVeqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba52IRmssAnctMobjYR/JqosyxbCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCM//WrKiMJ/kbhbrQquqBJ/zYDaY5ybOuRica7GZ9wWWXBMU9xNWyBdAI6xaZYEAeobPeZfqonwv0EAogWiBQayHuPk1zlGiWH206Ig1eQhDBzN0go9H9ILq3Tbsc/6NKYUUe+r0aLFyi3DY+lS2Tvn7IjIbxUhoeqRUr1qcMrRz1cgGhjKjlWVs4PlPjeV2v4RvGic6uptTOSigHMopA9tuDag3NssipXXiYIPzFDJ7SV0zoYpKdC6R0N2Yt6qHZVQuSyYOYV7Rt0vTW9ntSs4y7AKpJ62cTYXxZk5xRPRZP6KfoqM7x/jVuudPzR1iXxjdbmihBiy6VCtxvPgWsSwylpHrSpInsPRun0M1RHf8MiKRud780y8wziAzRrT5ftBIU0slarUNZohwrkom5oWq0vDHyv2lFzyjK+Ya0ko4+ao5uT7brn8qZ+cMIh0ig76MqswgMCwHeM4Mg0WU2ia/+SzyqHj8FXnTLlWivA6iKrUvZDAKcgGp6O0ARVZ34Y/5xqnCjepytUYnX0JLFJffxKHipDkO0nULPD8F/u/h0mskDJwx//bJLLhA5PNIWbYnbfueLZy8U9cyA4pwd9D4JJUD6kNIOjvVU/pqNzYEhg5PhSozObgEdVxz58RWWaSAqCCK67Sql+J5uc3I+aWfoMVuTD9K+Ik5/H0l3M5l0UdLuGV2s4cb2n9FfB7KW2YZ2Dti5EPCzQkpA07GdTnlFCYGRpeSX+0QuoY+zQgBIunC4qLEpjrhPqFwSKgEpRXYG1uBVWFEHOufIKBDaRfIBmOK9Nsx2RXHYOqTJUsgEnGnD+/8KJuK6/vwgNdtZ/n07Bd4uTSkVQ2+2UxAZnFlW6KSG5wkyUDQDpkhMhXkQlG0l6GlJNArbldHN1X6elOV28SOpvVzug8ANf3CFupVufMc06vR5CdOR90Vsg4q/cBZk98H5OpiRWRh0KX
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+.