coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Plugin development in emacs with merlin
- Date: Fri, 20 Jul 2018 07:01:03 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=abhishek.anand.iitg AT gmail.com; spf=Pass smtp.mailfrom=abhishek.anand.iitg AT gmail.com; spf=None smtp.helo=postmaster AT mail-yw0-f173.google.com
- Ironport-phdr: 9a23:6AlGzBRzy3Q9pd4gib9kszrMpdpsv+yvbD5Q0YIujvd0So/mwa6yZRKN2/xhgRfzUJnB7Loc0qyK6/6mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbJ/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/27ZisNyjKxVrhGvqQFhzYHIe4yaLuZyc7nHcN8GWWZMXMBcXDFBDIOmaIsPCvIMMPpDoIn9plsOthu+ChevBOjy1jJIgGX53asn3O88FgzJxhcvH9IPsHTPrNX6KqQSXfqvw6nO1zrDae5Z1S386IjJbhAhruqBXb11ccXLyEkvExnJgUmXqYzgJj6Y0PkGvWac7+plT+2vimgnphltrTio3McsjJfGhoYRylze6yp23Zs1KcWkR058e96kFoVftyWeN4dsWM8tXXxnuDs8x7YbupC7ZDAHxIo7yxPbcfCKcIiF7gj+WOuQPDt0nm9pdbCxihu07EOu0PfzVtOu31ZPtidFksfDtnQK1xHL78iIUPp9/kO41TeP2QHf9vhIIU4pmafZJZMt2LEwlp0UsUTMGi/5hl/6g7ORdkUh4uSo6uLnbav6ppKEKYN4lgXzPr4tl8G/G+g0LwkDU3WB9eih1rDu81X1QLBQgf03lqnZvoraJcMepqOhGQBayYYj6xekDzemztsYnmMLI0hDeB2diYjmJkvCIPH5DfejjFShizhrx/XcMb3gBpXBNGTMkLDkfbpl8U5T1BIzzcxD55JTErwOPPXzWlbouNPECh85Lhe7zv38CNR904MeQXiADrWYMKPUq1+I5/ggL/OCZI8P637BLK0u4Oerhnskk3cce7Oo1N0ZciOWBPNjdmyTYXv3gtoCWU4MtwwyBLjjgl2DSj5eZDC7Was66nc6CZ6pJYjGT4GpxreG2XHoTdVtemlaBwXUQj/TfIKeVqJUMXPAEopaijUBEIOZZcok3BCquhX9zuM+fOXR8ywc85nk0YosvrGBpVQJ7TVxSv+l/SSVVWgtxzEHQjY32OZ0pkkvkg7eg5g9uORREJlo390MUgo+MsSCnelzCtS3Sx2ZO9nQFw3gTdKhDjU8CNk2xo1Wbg==
While installing Coq using opam, is there a way to ask that the .cmt files for Coq's OCaml sources be generated and installed at the appropriate place?
-- Is there any significant downside to doing that by default?
On Sat, Apr 21, 2018 at 5:09 PM Hans Jacob Fehrmann Rojas <hans.jfehrmann AT gmail.com> wrote:
Thanks. This was the solution.Hans.On Sat, Apr 21, 2018 at 1:58 PM, Théo Zimmermann <theo.zimmi AT gmail.com> wrote: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 -annotateThen, in ~/.merlin, I add the following:FLG -rectypesB X/configB X/libB X/intfB X/kernelB X/kernel/byterunB X/libraryB X/engineB X/pretypingB X/interpB X/proofsB X/tacticsB X/printingB X/parsingB X/toplevelB X/toolsB X/tools/coqdocB X/devB X/stmB X/plugins/ltacB X/vernacThen, 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:Hans.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,
- Re: [Coq-Club] Plugin development in emacs with merlin, Abhishek Anand, 07/20/2018
- Re: [Coq-Club] Plugin development in emacs with merlin, Gaëtan Gilbert, 07/20/2018
- Re: [Coq-Club] Plugin development in emacs with merlin, Gaëtan Gilbert, 07/20/2018
- Re: [Coq-Club] Plugin development in emacs with merlin, Gaëtan Gilbert, 07/20/2018
Archive powered by MHonArc 2.6.18.