Skip to content

documentation popup delay seems off by factor of 10 #120

@rutenkolk

Description

@rutenkolk

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 be 0.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:

(defun dotspacemacs/emacs-custom-settings ()
  "Emacs custom settings.
This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization."
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(company-quickhelp-delay 0.02)

...

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, or spacemacs 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions