emacs-jupyter/jupyter auto completion in org files doesnt't work well with new corfu module
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*
### Expected behavior
Expected that it work as good as with company, no errors in messages and good autocompletion in src blocks.
### Current behavior
When I open file with src block of jupyter-python with some imports and start jupyter server and try to get autocompletion like writing "numpy" and placing "." to get functions and other things, I get error:
Error running timer ‘corfu-popupinfo--show’: (void-function company-doc-buffer)
It gives me autocompletion sometimes, but with error, no nerd icons (but I enabled them in init.el) and no extra information like parameters and docstrings. If I open simple .py file I will get everything above working right.
The only thing that I have modified in jupyter is next thing, but it was implemented when I was using company, it lets to run jupyter itself without errors.
``` emacs-lisp
(with-eval-after-load 'ob-jupyter
(org-babel-jupyter-aliases-from-kernelspecs))
```
### Steps to reproduce
1. Open org file
2. Make src block with jupyter-python, kernel - python3, session - py, with some imports in it
3. Run jupyter server by pressing RET two times inside src block
4. Try to get autocompletion inside src block
### System Information
https://pastebin.com/qaU8Dg9n
Contributor guide
Assessment
This issue has not been assessed yet.