Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utop emacs completion-at-point-functions support? #261

Closed
ghost opened this issue Oct 16, 2018 · 1 comment · Fixed by #406 or ocaml/opam-repository#23695
Closed

utop emacs completion-at-point-functions support? #261

ghost opened this issue Oct 16, 2018 · 1 comment · Fixed by #406 or ocaml/opam-repository#23695
Labels

Comments

@ghost
Copy link

ghost commented Oct 16, 2018

Hi.
Is it possible to add completion-at-point-functions for utop.el?
I don't want a completion list displayed everytime when I try to complete something, when I don't have company-mode enabled.
You can use any backend when you have a completion-at-point-functions (e.g. ivy and company).
I think a completion-at-point-functions support will be convinent.
Thanks.

@rgrinberg
Copy link
Collaborator

rgrinberg commented Oct 16, 2018

Sure, feel free to add them but AFAIK the main issue is that you can't support completion-at-point asynchronously. It would be nice if the mode could fallback to completion-at-point if company mode isn't available

@emillon emillon added the emacs label Jul 4, 2022
emillon pushed a commit to j-shilling/utop that referenced this issue Apr 19, 2023
emillon pushed a commit that referenced this issue Apr 19, 2023
emillon added a commit to emillon/opam-repository that referenced this issue Apr 21, 2023
CHANGES:

* Fix regression with unit qualification when a `Unit` module is in scope with
  no `()` constructor (ocaml-community/utop#429, fixes ocaml-community/utop#428, @emillon)

* emacs: add completion-at-point implementation (ocaml-community/utop#406, fixes ocaml-community/utop#261, @j-shilling)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants