Re: [ocaml-platform] ocp-index in user-setup

2016-10-17 Thread Louis Gesbert
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
> .
> 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

___
Platform mailing list
Platform@lists.ocaml.org
http://lists.ocaml.org/listinfo/platform


Re: [ocaml-platform] ocp-index in user-setup

2016-10-17 Thread David CHEMOUIL

Le 17/10/2016 à 11:50, David CHEMOUIL a écrit :

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
.
Is it planned to update user-setup to deal with this?


Oops sorry ignore this part, it's ok :)



--
David Chemouil
ONERA/DTIM, Université de Toulouse
tel:+33-5-6225-2936

___
Platform mailing list
Platform@lists.ocaml.org
http://lists.ocaml.org/listinfo/platform


[ocaml-platform] ocp-index in user-setup

2016-10-17 Thread David CHEMOUIL

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

--
David Chemouil
ONERA/DTIM, Université de Toulouse
tel:+33-5-6225-2936

___
Platform mailing list
Platform@lists.ocaml.org
http://lists.ocaml.org/listinfo/platform