Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Plugin development in emacs with merlin

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Plugin development in emacs with merlin


Chronological Thread 
  • From: Théo Zimmermann <theo.zimmi AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Plugin development in emacs with merlin
  • Date: Sat, 21 Apr 2018 16:58:44 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-ua0-f181.google.com
  • Ironport-phdr: 9a23:KhjmNxR/xrZQm0bUIrbQxCaBQ9psv+yvbD5Q0YIujvd0So/mwa69YByN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/27ZisNyjKxVrhGvqQFhzYHIe4yaLuZyc7nHcN8GWWZMXMBcXDFBDIOmaIsPCvIMM/hYr47noFsBtRixBQipBOPq1DBInHr20rc80+QnDArL2xAgH9IQv3TTttn0NaYSUeWwzKnJ1jjDYPZW1i386IjMaBwuvfaMXbdpfMfX1EIhGQTFjlCKpozkOTOYzvgCs2+B7+pmS+2vj2onpxtvrTey28chjJTCiIENyl3c6yl13II4Kce7RUN7e9KoDoZcuiOAO4drQc4uXmdlszsgxLIco560Zi0KxYwnxxHBb/yHdJCF4hf5W+aQJTd0nW9ld6ijixqr/0is1+7xWtSu3FZFqSpFldbMtnQT2BDJ9seHTf598l+g2TaJyQ/T9vlJLV4omaffMZIswb49moANvUjeHCL6glj6gayLekk8/+in8eXnYrHopp+GMI90jxnzMrgumsOhBuQ0KAkPX2me+eS51b3u5kL5QLBQgf03lqnVqozVJcMepqKhGQ9azp4j6wqjDzehyNkXgX4HLEtcdB2bi4jpJkrBLevjDfa/hlSsiC1ky+rHPr3nGJXNL2LMnK3vfbZnuAZgz184yska7JZJAJkAJujyUwn/ro/2FBg8ZjC0QuHQOtR4044EXGuJBOfNLKPfthma5+cqIsGDYYYUvHD2LP1ztK2mtmMwhVJIJfrh5pAQcn3tRq03cXXcWmLlh5I6KUlPuwM/SOLwj1jbCGxcYn+zW+Q34TRpUdv6X7eGfZikhfm65An+BodfPzkUBVWFEHOufIKBCa9VNXCiZ/R5mzlBboCPDo8s0Rb06l3/wrtja/fdomgW7MK6ktdy4OLXmFc58jkmV8k=

Note that with Coq master -debug is on by default and -annotate is now -bin-annot.
Also, there is a Merlin file in the Coq sources.

Le sam. 21 avr. 2018 à 18:44, Abhishek Anand <abhishek.anand.iitg AT gmail.com> a écrit :
There's probably a better way to do this, but here's what I do for plugin work:

I manually build coq (the same version as that of the coq binaries) from sources, say in a directory X.
While building Coq, I pass the following options to ./configure: -debug -annotate
Then, in ~/.merlin, I add the following:

FLG -rectypes
B X/config
B X/lib
B X/intf
B X/kernel
B X/kernel/byterun
B X/library
B X/engine
B X/pretyping
B X/interp
B X/proofs
B X/tactics
B X/printing
B X/parsing
B X/toplevel
B X/tools
B X/tools/coqdoc
B X/dev
B X/stm
B X/plugins/ltac
B X/vernac

Then, in vscode, I am able to jump (to definition) around in Coq sources and see types of items that are in Coq sources.

On Sat, Apr 21, 2018 at 11:33 AM Hans Jacob Fehrmann Rojas <hans.jfehrmann AT gmail.com> wrote:
I am developing a plugin in emacs with merlin. Today I changed my pc and now I am not able to locate the function on the coq modules. The problem seems to be some cmt files missing. How can this be fixed?

Best,
Hans.
--



Archive powered by MHonArc 2.6.18.

Top of Page