Skip to content

Add additional magit-section wrapping #55

@Oghma

Description

@Oghma

Hi. I started to get this error when I use M-x magit-todos-list

magit-todos: Not overriding bind of "jT" in 'magit-status-mode-map'.
helm-M-x: Wrong type argument: eieio-object, nil, obj

If I try with only magit and magit-todos enabled with the same command I get

eieio-oset: Wrong type argument: eieio-object, nil, obj

I tried to run M-x toggle-debug-on-error on an empty init.el except for magit and magit-todos and I get the following stack trace:

Debugger entered--Lisp error: (wrong-type-argument eieio-object nil obj)
  signal(wrong-type-argument (eieio-object nil obj))
  eieio-oset(nil children (#<magit-section "master" [branch] 1-38>))
  magit-insert-headers(magit-status-headers-hook)
  magit-insert-status-headers()
  magit-todos-list-refresh-buffer()
  apply(magit-todos-list-refresh-buffer nil)
  magit-refresh-buffer()
  magit-mode-setup-internal(magit-todos-list-mode nil)
  magit-mode-setup(magit-todos-list-mode)
  magit-todos-list-internal("/Users/Oghma/Documents/Progetti/prova/")
  magit-todos-list(nil)
  funcall-interactively(magit-todos-list nil)
  call-interactively(magit-todos-list record nil)
  command-execute(magit-todos-list record)
  execute-extended-command(nil "magit-todos-list" "magit-todos-li")
  funcall-interactively(execute-extended-command nil "magit-todos-list" "magit-todos-li")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

I have the issue with both mac os 10.11.6 and archlinux. I’m using emacs 26.1 and in both os I have ripgrep installed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions