[opam-devel] Opam 1.2 breaks emacs on the mac sortof
Daniel Bünzli
daniel.buenzli at erratique.ch
Tue Sep 9 13:21:58 BST 2014
Le mardi, 9 septembre 2014 à 13:11, Yaron Minsky a écrit :
> Can someone confirm that the change in how "opam config env" really
> happened between 1.1.2 and 1.2?
Could you exhibit a sample invocation showing the problem ? I do use the
(setq shell-command-switch "-lc")
trick. But none of the other things except a
(add-to-list 'load-path
(concat
(replace-regexp-in-string "\n$" ""
(shell-command-to-string "opam config var share"))
"/emacs/site-lisp"))
and things don't break here, at least in compilation mode.
If I switch and try an `ocamlc -version` I get the correct ocamlc invoked. I suspect you should drop that `opam config env —sexp` thing aswell as updating the exec-path. These things are only going to be invoked once and thus will not adapt to the current switch (as won't the above addition to 'load-path).
Best,
Daniel
More information about the opam-devel
mailing list