magit-todos
magit-todos copied to clipboard
Emacs 29.0.x: eieio error in magit-todos
I am using magit-todos
with Emacs 29 on macOS Monterey, and got this error. And in some projects, the TODO list won't be displayed in magit.
Debugger entered--Lisp error: (wrong-type-argument (or eieio-object class cl-structure-object) nil obj)
signal(wrong-type-argument ((or eieio-object class cl-structure-object) nil obj))
#f(compiled-function (obj slot) "Return the value in OBJ at SLOT in the object vector." #<bytecode -0xdcca8b6d503a22>)(nil children)
eieio-oref--closql-oref(#f(compiled-function (obj slot) "Return the value in OBJ at SLOT in the object vector." #<bytecode -0xdcca8b6d503a22>) nil children)
apply(eieio-oref--closql-oref #f(compiled-function (obj slot) "Return the value in OBJ at SLOT in the object vector." #<bytecode -0xdcca8b6d503a22>) (nil children))
eieio-oref(nil children)
magit-todos--insert-items(#<buffer keymap.c<seagle0128>> (#s(magit-todos-item :filename "tmk_core/protocol/lufa/lufa.c" :org-level nil :line 793 :column nil :position nil :keyword "FIXME" :suffix ":" :description "Needs doc")) :branch-p t)
magit-todos--git-diff-callback(:callback nil :magit-status-buffer #<buffer keymap.c<seagle0128>> :results-regexp "\\(?:^\\(?8:[^:]+\\):\\(?2:[[:digit:]]+\\):\\(?:\\(?1:\\*+..." :search-regexp-elisp "\\(?:^\\(\\*+\\)[[:blank:]]+\\(\\(?:BUG\\|D\\(?:\\(?:EFEC\\|..." :heading "TODOs (branched from master)" :exclude-globs (".git/") :process #<process magit-todos--scan-with-git-diff>)
apply(magit-todos--git-diff-callback (:callback nil :magit-status-buffer #<buffer keymap.c<seagle0128>> :results-regexp "\\(?:^\\(?8:[^:]+\\):\\(?2:[[:digit:]]+\\):\\(?:\\(?1:\\*+..." :search-regexp-elisp "\\(?:^\\(\\*+\\)[[:blank:]]+\\(\\(?:BUG\\|D\\(?:\\(?:EFEC\\|..." :heading "TODOs (branched from master)" :exclude-globs (".git/") :process #<process magit-todos--scan-with-git-diff>))
#f(compiled-function (&rest args2) #<bytecode 0x1e0678e9fe03be68>)(#<process magit-todos--scan-with-git-diff>)
magit-todos--async-when-done(#<process magit-todos--scan-with-git-diff> "finished\n")
Hi,
I can't offer support for Emacs 29; Emacs 28 isn't even released yet. I can only recommend trying to reproduce in a clean configuration, e.g. using https://github.com/alphapapa/with-emacs.sh.
Then feel free to close it, or leave it for future tracking. Thanks, anyway!
The package is working for me on Emacs 29.1 without any changes.