[ocaml-platform] ocp-index in user-setup
Louis Gesbert
louis.gesbert at ocamlpro.com
Mon Oct 17 11:12:53 BST 2016
Thanks! I'm glad user-setup is being useful.
About the multiple, conflicting instructions: it may not be up-to-date, but
there is a tweak in the opam files to make them not display the instructions
when they detect user-setup has been installed as well.
For example, ocp-index has:
post-messages: "...instructions..." {success & !user-setup:installed}
I think it was put in merlin's definition as well, but didn't get upstream and
was lost in the updates.
To complete this, the helper packages should mention in their doc "either
install opam-user-setup, or follow these manual instructions". If they find
any limitations in user-setup, I invite the maintainers of these packages to
contribute!
Put together, these two should be enough to ease the confusion ?
Thanks for the feedback!
Louis Gesbert -- OCamlPro
PS: another option that was mentionned in the past was to provide a "starter-
kit" metapackage that would install all these tools with a simpler command.
On lundi 17 octobre 2016 11:50:29 CEST David CHEMOUIL wrote:
> Dear all
>
> I have recently switched to relying on user-setup for Emacs and I' m
> very pleased about it. However, I realized that it does not install
> ocp-index keymap as defined in
> <https://github.com/OCamlPro/ocp-index/blob/master/tools/ocp-index.el#L398>.
> Is it planned to update user-setup to deal with this?
>
> More globally, the merlin and ocp-* tools experience is really a huge
> improvement over the past (event though Tuareg was already very nice)
> but I think things may be misleading for newcomers or casual users:
> - installing merlin and ocp-* tools directly through opam ends up with
> configuration instructions being displayed on the console by opam
> - but these are different from the corresponding documentation for these
> packages (available on their respective web pages)
> - and user-setup uses yet another Elisp code to setup the environment.
>
> I guess it is quite tedious to do but getting all the standard setup
> made through user-setup would be great; both other ways could for
> instance be described explicitly on their respective web pages (and opam
> installation messages) as reserved for experts who don't want to rely on
> user-setup.
>
> Thanks again for the good work,
>
> dc
More information about the Platform
mailing list