magit / forge

Work with Git forges from the comfort of Magit
GNU General Public License v3.0
1.3k stars 113 forks source link

cl-no-applicable-method: No applicable method: clone, nil #684

Closed hexmode closed 1 month ago

hexmode commented 1 month ago

I got multiple errors about the lack of clone:

error in process sentinel: cl-no-applicable-method: No applicable method: clone, nil

until I turned on backtrace on error and discovered that forge--buffer-topics-spec was not set. After finding the symbol, I saw that I needed to call forge--init-buffer-topics-spec to populate it, but the function wasn't defined. evaling the function allowed me to populate the buffer-local variable in my magit-status buffer.

Looking at forge-topic.el, it seems this file is not being loaded.

For reference, this is with a freshly cloned and compiled emacs with a freshly cloned via straight magit and forge repositories.

tarsius commented 1 month ago

This has already been reported in #681 and should be fixed by 03d012ae24eafa89a1a5ba7d9ed4069b05d54e21.

You need to update Forge and restart Emacs.