sebastiencs / company-box

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

New changes in company-mode not compatible with company-box. This is making emacs unusable #167

Closed CsBigDataHub closed 3 years ago

CsBigDataHub commented 3 years ago

https://github.com/company-mode/company-mode/blob/master/NEWS.md

mainly company-show-numbers variable.

seagle0128 commented 3 years ago

I encountered the same issue. The recent changes of company broke company-box. I got this error:

Debugger entered--Lisp error: (void-function nil)
  nil(1)
  byte-code("\301\302\303\"\302\304\211\2W\203*\0\211\3\1\305\10\306\5T\307\"!!\3\307V\205\37\0\310PI\266\2\211T\262\1\202\6\0\266\2\207" [company-show-numbers-function make-vector 20 nil 0 string-trim mod 10 " "] 11)
  (defconst company-box--numbers (byte-code "\301\302\303\"\302\304\211\2W\203*\0\211\3\1\305\10\306\5T\307\"!!\3\307V\205\37\0\310PI\266\2\211T\262\1\202\6\0\266\2\207" [company-show-numbers-function make-vector 20 nil 0 string-trim mod 10 " "] 11))
  #<subr autoload-do-load>((autoload "company-box" "Company-box minor mode.\n\nIf called interactively, ..." t nil) company-box-mode nil)
  apply(#<subr autoload-do-load> ((autoload "company-box" "Company-box minor mode.\n\nIf called interactively, ..." t nil) company-box-mode nil))
  autoload-do-load((autoload "company-box" "Company-box minor mode.\n\nIf called interactively, ..." t nil) company-box-mode nil)
  #<subr command-execute>(company-box-mode record nil nil)
  ad-Advice-command-execute(#<subr command-execute> company-box-mode record)
  apply(ad-Advice-command-execute #<subr command-execute> (company-box-mode record))
DarkWingMcQuack commented 3 years ago

This gave me a headache for the last hour thanks for resolving it that fast

CsBigDataHub commented 3 years ago

No worries @DarkWingMcQuack. You might be also interested in PR #169 if you enabled company-numbers.