sebastiencs / company-box

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

Company: frontend company-box-frontend error #123

Closed seagle0128 closed 4 years ago

seagle0128 commented 4 years ago

I got this error today after upgrading the package. No backtrace, no messages, no logs.

Company: frontend company-box-frontend error "Invalid alignment size -3, aborting" on command update
sebastiencs commented 4 years ago

@seagle0128 Thanks for reporting this.

Can you do:

[M-x] toggle-debug-on-error

And reproduce the error ? It will show a backtrace

seagle0128 commented 4 years ago

Already turn on it, but no backtrace unfortunately. Disable company-box-mode, the issue disappears.

seagle0128 commented 4 years ago

@sebastiencs I think I found the root cause. If (setq company-box-highlight-prefix t), the issue occurs.

sebastiencs commented 4 years ago

Should be fixed with https://github.com/sebastiencs/company-box/commit/adcb52b71f447e27493c4c98ad1d1711639f6e10

seagle0128 commented 4 years ago

Confirm. It's fixed. Thanks!