utop icon indicating copy to clipboard operation
utop copied to clipboard

Clarification for company mode completion

Open rottened23 opened this issue 5 years ago • 2 comments

(Very) New to emacs so not sure if this is was implied or obvious. Was using the Spacemacs flavour of emacs and wasn't getting any code completion in utop despite seeing it work properly with tuareg when ending *.ml/mli files. Turns out just needed to enable company as a minor mode when using utop as a major mode ~/.emacs

Figured might as well try posting in-case as it took me a couple of hours of elisp debugging to figure this out.

After additional debugging it seems that opam-user-setup actually did a lot of this heavy lifting for tuareg mode

rottened23 avatar May 24 '20 17:05 rottened23

Good catch and resolved the spelling mistake/extra backtick!

rottened23 avatar Jun 23 '22 15:06 rottened23

company-mode is mostly used as a global mode (global-company-mode), so I wouldn't recommend the current wording. (or we can have more examples)

bbatsov avatar Jul 19 '22 12:07 bbatsov