ocaml / tuareg

Emacs OCaml mode
GNU General Public License v3.0
360 stars 79 forks source link

Use opam var/env/exec instead of opam config x #244

Closed rjbou closed 3 years ago

rjbou commented 3 years ago

They are compatible 2.0 & 2.1+ cf. ocaml/opam#4503

tmcgilchrist commented 3 years ago

Could this get fixed up and merged? The change should look like https://github.com/tmcgilchrist/tuareg/commit/532057ba14931a04ef744b8050377f773f5f788b

avsm commented 3 years ago

Merging this in ahead of opam 2.1 as it’s been the recommended cli for years now (since 2.0.0)

tmcgilchrist commented 3 years ago

Nothing special required to release this, it will follow the GitHub master versions. Running M-x list-packages the latest git commit on master shows up as an option to install

Package tuareg is available.

     Status: Available from melpa -- Install
    Archive: melpa
    Version: 20210628.1257
     Commit: 2e8482e23f45f0e6246a8d075a3b8696c5f49070
    Summary: OCaml mode for Emacs.
   Requires: caml-3.12.0.1, emacs-24.4
   Homepage: https://github.com/ocaml/tuareg
   Keywords: ocaml languages 
 Maintainer: Albert Cohen <Albert.Cohen@inria.fr>
    Authors: Albert Cohen <Albert.Cohen@inria.fr>
             Sam Steingold <sds@gnu.org>
             Christophe Troestler <Christophe.Troestler@umons.ac.be>
             Till Varoquaux <till@pps.jussieu.fr>
             Sean McLaughlin <seanmcl@gmail.com>
             Stefan Monnier <monnier@iro.umontreal.ca>
Other versions: 20210605.1629 (installed).

Description:
Tuareg helps editing OCaml code, to highlight important parts of
the code, to run an OCaml REPL, and to run the OCaml debugger
within Emacs.

Installation:
If you have permissions to the local `site-lisp' directory, you
only have to copy `tuareg.el', `ocamldebug.el'
and `tuareg-site-file.el'.  Otherwise, copy the previous files
to a local directory and add the following line to your `.emacs':

(add-to-list 'load-path "DIR")