Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Why does coq_makefile impose -q option?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Why does coq_makefile impose -q option?


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Why does coq_makefile impose -q option?
  • Date: Sat, 26 Oct 2019 01:26:28 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-ed1-f52.google.com
  • Ironport-phdr: 9a23:ZAxJURQm5XFxiOyqaggL527J/Npsv+yvbD5Q0YIujvd0So/mwa69bByN2/xhgRfzUJnB7Loc0qyK6vumCDBLsMjJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRu7oR/Vu8QZjodvLqc8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMDE37XzXitdojK1FvB2huxJxw4nRYI6PNfp+eL7WcdcVSGdFW8pcUTFKDIGhYIsVF+cOMuhYoIv9qVUArhWwGBeiC//0xzBSmnP7x7c33/g9HQzE2gErAtIAsG7TrNXwLKocVfq6zLLPzTXFcvhY2C396I/TchA6vPqBWrBwftDKyUkoEQPFgU+QqYv+PzOO0ukAqGeb7+96WuKuj24rsR1+oj+qxso1jITCm4wbylfB9SpjwYY1I8W1SEt8Yd6jF5tcrT2VN4xzQs4kXmpmuz46x6UYtZKneCUG0pcqyh7FZ/CZb4SF4QjvWeaPLTp+mXlrYqiwhwyo/kil0uD8Vte70FJNriddl9nDrHEN1xjK5seZV/Rx416t2TiP2gzN8O1ELkc0la3UK54l3LE8jIYcsUPGHiPumUX2irGZdlk89+S29+jqZq/qq5ycOoNulA3yLqcjlta/DOgmKgQOWnKU+eW41L3t5035R7BKg+U0kqbDq5DaIsIbpqGjAw9SyYYj8BKyAiyp0NQdh3YHLVZFdAibgIjuPlHCOOr4Auung1SwjDdrwOjLMaHmApXUN3TMjLPhfatm5ENH0woyzdVf54pOBb0bIfLzXFXxtN3CARMjPQy02bWvNNIo3YQHHGmLH6XRZKjVqBqD4v8lC+iKfo4c/jjnfasL/fnr2F0wglgbNYaz2oAMICS6F+9hJUqDZmH30/8OFG4Lukw1S+m82w7KaiJae3vnB/F03To8Eo/zUdaaF9KdxYeZ1SL+JaV4I2VPC1SCC3DtLtzWVPIFaSbUKchkwGVdCeqRDrQ53BTrjzfUjqJ9J7ONqCIdvJPnktNy4r+LzExgxXlPF82Yllq1YSR0k2cPHWJk2al+pQlwxg7G3/UixfNfEtNX6rVCVQJobZM=

I think the better option to use for this is `-load-vernac-source`, rather than `-init-file`.  I'm not sure how coqide interacts with _CoqProject, but if neither -init-file nor -load-vernac-source work with coqide, that sounds like a bug worth reporting.

> among other reasons because then at least one
> opam package fails to build, not isolating itself from the local
> configuration.

That sounds like a bug to be reported in this opam package.

On Sat, Oct 26, 2019 at 1:19 AM Ian Zimmerman <itz AT very.loosely.org> wrote:
On 2019-10-12 22:58, Gaėtan Gilbert wrote:

> > So ... -init-file is getting passed correctly, but it has no effect
> > because it is accompanied by -q.  Why does coq_makefile pass -q to
> > coqc, and how can I change this behavior?

> make COQFLAGS=

Thanks, I didn't use this literally but it showed me the way.

But now, how to make this work in coqide?  Nothing I tried so far worked
- usually coqide refuses to even start, saying "coqidetop stopped badly"
or something like that.  If I don't do anything it starts OK but it
won't parse any file that contains ssreflect notations.

This is the same with coqide 8.9 (Gtk 2 based) and 8.10 (Gtk 3 based).

Everything works if I put those imports in my _global_ ~/.coqrc but I
don't want to do that - among other reasons because then at least one
opam package fails to build, not isolating itself from the local
configuration.

--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



Archive powered by MHonArc 2.6.18.

Top of Page