Open rutenkolk opened 3 years ago
Hi!
Any chance you have a step-by-step reproduction for this with vanilla Emacs? Without spacemacs, that is.
It seems to work okay with the default value of 0.5
over here, without any 4-5 second delays.
The scenario could start like this: emacs -Q -L ~/.emacs.d/elpa/company-xxx -L ~/.emacs.d/elpa/company-quickhelp-yyy -L ~/.emacs.d/elpa/pos-tip-20191227.1356/ -l company -l company-quickhelp
.
Also try it in a *scratch*
buffer first. It would be using the completion function set up in there (one for Emacs Lisp). If it works better in some buffers than others, that would indicate a problem with the used backend. Unlikely, though.
If that sounds too difficult, you can first report the problem to Spacemacs bug tracker and/or try Doom and see whether it has the same problem.
Hi, thanks for the fast reply.
I've never done anything with vanilla emacs before, just to prefix this, but i can try. might take me a while though
Let me know how it goes, I can give some extra recommendations along the way.
I use
company-quickhelp
via the cider layer in spacemacs.However I noticed that there is an annoyingly long delay between selecting an autocomplete suggestion and the documentation popping up.
I looked at the
customize-group
company-quickhelp
menu and found out that the delay was supposed to be0.5
seconds.However when I timed it before, it seemed to be around 4 to 5 seconds.
I thought that maybe fetching the javadoc just takes so long and adjusting this would not do anything but to my surprise it does.
I have now adjusted my
.spacemacs
config as follows:This makes the documentation pop up almost immediately and is a functioning workaround for me.
Nevertheless, this seems unintended. I have no idea if this is a
company
bug, orspacemacs
oddity, or if the assumption that the units are in seconds is wrong, so forgive me if this is the wrong repo to post this issue.