sebastiencs / company-box

A company front-end with icons
562 stars 64 forks source link

Warnings and Errors #207

Open dadinn opened 1 month ago

dadinn commented 1 month ago

I use the following configuration via straight:

(use-package company-box
  :after (company)
  :hook
  (company-mode . company-box-mode))

I am currently using company-box at commit c4f2e243fba03c11e46b1600b124e036f2be7691.

I get the following warnings:

⛔ Warning (emacs): Warning: global binding C-x C-d to sunrise would be shadowed by ido-enter-dired
⛔ Warning (comp): company-box.el:303:36: Warning: reference to free variable `company-quick-access-hint-function'
⛔ Warning (comp): company-box.el:400:32: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:409:23: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:425:9: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:520:23: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:530:13: Warning: assignment to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:597:34: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:740:23: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:758:31: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:832:54: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:861:32: Warning: reference to free variable `company-tooltip-width-grow-only'
⛔ Warning (comp): company-box.el:1013:12: Warning: reference to free variable `company-show-quick-access'
⛔ Warning (comp): company-box.el:511:24: Warning: the function `-compose' is not known to be defined.
dadinn commented 1 month ago

After upgrading company-mode itself to version 0.10.2 most of the warnings went away, except this:

⛔ Warning (comp): company-box.el:511:24: Warning: the function `-compose' is not known to be defined.

Actually, it seems doesn't just cause a warning, but trying any completion will result in the following error too:

Company: An error occurred in auto-begin
Company: frontend company-box-frontend error "Symbol’s function definition is void: -compose" on command show

Not sure if this is somehow related to this other issue.

dgutov commented 1 month ago

-compose is part of dash, which is declared to be a dependency.