Error code is:
(setq tabulated-list-format
;; The sum of column width is 80 characters:
#[("Package" 25 t)
("Status" 13 t)
("Last Event" 23 t)
("Time" 10 t)])
(tabulated-list-init-header))
Error:
Debugger entered--Lisp error: (invalid-read-syntax "Invalid byte-code object")
read(#<buffer *load*-898483>)
(you can paste mentioned code to fresh latest emacs and eval it)
This error unrelated to use-package, I think.
I haven't noticed this syntax so far, what does #[..] means?
Also for others hitting this problem, one workaround to move forward is to comment:
(define-derived-mode use-package-statistics-mode tabulated-list-mode ...)
in use-package-core.el
I haven't noticed this syntax so far, what does
#[..]means?
Is a way to enter a byte-code objects: https://www.gnu.org/software/emacs/manual/html_node/elisp/Byte_002dCode-Objects.html
thank you @kpbochenek your are right
Yes, the patch is good. Sorry @arichiardi, my comment was actually unrelated.
What I don't understand is that this line is two (!) years old https://github.com/jwiegley/use-package/blame/0ba3071cda77957822bfe3e58009375f395777f4/use-package-core.el#L1033
Original commit: https://github.com/jwiegley/use-package/commit/c60387a31b25f71e78e968b6e6a98bd4fe092f82#diff-8ef140df8b4408418fab781244480094R1027
This means it was broken for two years?
Yes
Most helpful comment
Also for others hitting this problem, one workaround to move forward is to comment:
(define-derived-mode use-package-statistics-mode tabulated-list-mode ...)in
use-package-core.el