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: Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Plugin development in emacs with merlin
  • Date: Fri, 20 Jul 2018 13:04:38 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gaetan.gilbert AT skyskimmer.net; spf=Pass smtp.mailfrom=gaetan.gilbert AT skyskimmer.net; spf=None smtp.helo=postmaster AT relay9-d.mail.gandi.net
  • Ironport-phdr: 9a23:MwiWYBH6bCFKFD78wWz34Z1GYnF86YWxBRYc798ds5kLTJ7zpc6wAkXT6L1XgUPTWs2DsrQY07SQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDuwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOSMn/mHZisJ+j6xVrxyuqBN934Hab5qYNOZ9c67HYd8WWWRMU8RXWidcAo28dYwPD+8ZMOhZtYb6u0cOogG4BQa0Be3vyztIiWTo0q0gz+QqDAbL3AM6EN0QrHTbttP1OL0dUeC0yKnH1ivMb+lK2Trm84jIcRAgoeqPXbJxdMrRzFcgFxnfglWWt4PlIyqY2+IQuGaV6OpgUPigi28hqwxpvjevwd0sio/XiYIRzlDI7zt2z5soJdC+VUV1YsakHYNOuy2HNYZ6WMEvT31ytConybALt4S3cDUOxZkj3xLSauKLf5KV7h7/SuqdOyp0iX1mdb6lmhq/8katx+vhXceuyllKtDBKktzUu3ANyRPT7s+HR+Nn/ki/3TaAzQDS5+VdLU8pj6bbLoQuwr80lpYJvkTMBCn2l1j3jKOMcEUr5PSo5/zmYrXguJCcK5d5hh/jPqksgMCyA/g0PhITU2WY9+mwzqDv8En9TblSi/05iKjZsJTUJcQBoa65BhdY0ok55BmhEzepytIYkWMILFJEfBKIlJbmO0vSIP3jFve/gFStkCxox/DHO73hB4vCLmLZnLfnY7l991ZQyBAvwtBH+5JUFrYBLervVU/2rdzUFwM2Mwipw+n8E9h9zYMfWWeXAqCDKq/SsFmI5vguI+aWfoMVtiz9eLAZ4KvlimZ8klsAd4Go24EWYTa2BKdIOUKcNFXlAcsIF1Alvw40Qfb2wAmNWDNPbnD0UKM47DwhFKq9DpbYRYGohbGbmiG2AssFNSh9FlmQHCKwJM2/UPAWZXfKe54zonk/TbGkDrQZ+1SrvQ7+xaBgK7OKqDYbpIng1d1w6veVkxwup2UtU5atllqVRmQxpVsmAics1fkh81d+20yA0K19juYeE9FPtasQD1UKcKXExuk/MOjcHwLMetDTFQS8T9GvEGB0QpQ0yt4KJUl0HdmjyBbOw3jyDg==

Nevermind I don't know how to get it to run from opam

Gaëtan Gilbert

On 20/07/2018 13:03, Gaëtan Gilbert wrote:
make install-merlin looks related

Gaëtan Gilbert

On 20/07/2018 13:01, Abhishek Anand wrote:
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 <mailto: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

<mailto: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
       
<mailto: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

<mailto: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.

            --             -- Abhishek
            http://www.cs.cornell.edu/~aa755/
            <http://www.cs.cornell.edu/%7Eaa755/>


--
-- Abhishek
http://www.cs.cornell.edu/~aa755/ <http://www.cs.cornell.edu/%7Eaa755/>



Archive powered by MHonArc 2.6.18.

Top of Page