coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Clément Pit--Claudel <clement.pit AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top"
- Date: Wed, 10 Feb 2016 12:21:38 -0500
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=clement.pit AT gmail.com; spf=SoftFail smtp.mailfrom=clement.pit AT gmail.com; spf=None smtp.helo=postmaster AT mout.kundenserver.de
- Ironport-phdr: 9a23:evxJZxP+psMnoZWQaUUl6mtUPXoX/o7sNwtQ0KIMzox0KPj+rarrMEGX3/hxlliBBdydsKIbzbGM+PG+EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxjLr5qsObSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK79ZuEzSaFSJDUgKWE8osPx5jfZSg7azX+dV2gQji1wAhSAqTr+V4r9vy+y4uF51SyXO9GwVbEocTun5qZvDhTvjXFUZHYC7GjLh5ko3+pgqxW7qkknzg==
Hi Pete,
On 02/10/2016 11:01 AM, Peter Vanderbilt wrote:
> I strongly suspect that I need to get the flags ‘-R "." Top’ to coqtop, but
> I don’t know how.
You could add this "-R Top" to the `coq-prog-args' variable, in a
.dir-locals.el. But that's much more complicated than just adding a
_CoqProject.
> Does Proof General work for you using Coq8.5 with multiple files and
> “Require Export”?
Yes, it seems to work fine.
> What do you have in your .emacs file for Coq and PG?
(require 'proof-site "~/.emacs.d/lisp/PG/generic/proof-site")
(I also have (add-hook 'coq-mode-hook #'company-coq-mode), but that's beyond
PG)
> I don’t use a _CoqProject file. Would that help?
Yes, it should help. But not with the version of PG that you're currently
using :)
> More details:
>
> I’m using Version 4.2 of Proof General obtained via brew (Homebrew for Mac,
> which is where I get Coq).
4.2 dates back to October 2012. Pierre Courtieu has been actively maintaining
the Coq part of it since then, but we don't have access to the website, so we
can't update it. And I don't know who makes the homebrew packages either, so
I'm not sure who to ask to update them.
> The Github PG you refer to is “version 4.2 (prerelease)”. Is that more or
> less recent than what I have?
> Its COMPATIBILITY file says, “This version of Proof General has been tested
> with … (main) prover versions: Coq 8.3, Isabelle2011[-1]”.
> Has it been tested with Coq 8.5?
Someone should have updated that file a long time ago; I just did. PG has
been tested and updated to work with 8.5.
> I’m running Aquamacs 3.2 which is based on GNU Emacs 24.4.51.2. I get the
> following message:
>
>> Warning (emacs): Proof General compiled for GNU Emacs 24.2 but running on
>> GNU Emacs 24.4: “make clean; make" is recommended.
Indeed, which is another reason why installing PG via homebrew is not
recommended :)
> However, I don’t know how to do what it suggests (given that it’s built by
> brew).
>
> I’ll see about trying the Github PG and/or coming up with a small example.
Thanks!
Clément.
Attachment:
signature.asc
Description: OpenPGP digital signature
- [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/09/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Frédéric Blanqui, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Clément Pit--Claudel, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Clément Pit--Claudel, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/12/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Clément Pit--Claudel, 02/12/2016
- [Coq-Club] GitHub's ProofGeneral has old version number, Peter Vanderbilt, 02/13/2016
- Re: [Coq-Club] GitHub's ProofGeneral has old version number, Clément Pit--Claudel, 02/13/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/12/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Tej Chajed, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/12/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Clément Pit--Claudel, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Peter Vanderbilt, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Clément Pit--Claudel, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Christian Doczkal, 02/10/2016
- Re: [Coq-Club] why does coq_makefile in 8.5 add "-R . Top", Frédéric Blanqui, 02/10/2016
Archive powered by MHonArc 2.6.18.