Closed hwboen closed 2 years ago
Debugger entered--Lisp error: (void-function treemacs-define-leaf-node) (treemacs-define-leaf-node metals-leaf 'dynamic-icon :ret-action #'lsp-metals-treeview--exec-node-action :mouse1-action #'(lambda (&rest args) (interactive) (lsp-metals-treeview--exec-node-action args))) load-with-code-conversion("/Users/rhyme/.emacs.d/elpa/28.2/develop/lsp-metals..." "/Users/rhyme/.emacs.d/elpa/28.2/develop/lsp-metals..." nil t) require(lsp-metals-treeview) byte-code("\305\306!\210\305\307!\210\305\310!\210\305\311!\210\305\312!\210\305\313!\210\314\315\316\317\320\306\321\322\323\324&\11\210\325\303\326\327\330DD\331\320\315\332\333\323..." [lsp-metals-coursier-download-url lsp-metals-coursier-store-path lsp-metals-coursier-decompress lsp-metals-server-command lsp-metals-metals-store-path require lsp-mode dap-mode lsp-lens lsp-metals-protocol lsp-metals-treeview view custom-declare-group lsp-metals nil "LSP support for Scala, using Metals." :group :link (url-link "https://scalameta.org/metals") :package-version (lsp-metals . "1.0") custom-declare-variable funcall function #f(compiled-function () #<bytecode 0x1f40e8cab7314>) "The command to launch the Scala language server." :type file (lsp-metals . "1.0") lsp-metals-server-args #f(compiled-function () #<bytecode 0x1f400016fe914>) "Extra arguments for the Scala language server." (repeat string) (lsp-metals . "1.0") lsp-metals-server-install-dir #f(compiled-function () #<bytecode -0x1c0691efc7d5ff44>) "Installation directory for Metals server." directory (lsp-metals . "1.2") #f(compiled-function () #<bytecode -0x1008f25fb16b75ff>) "The path where Coursier will be stored." (lsp-metals . "1.2") #f(compiled-function () #<bytecode -0x1c069cec94b823c4>) "The path where Metals will be stored." (lsp-metals . "1.2") #f(compiled-function () #<bytecode 0x16d0f3e7f9dd505e>) "Download url for coursier." string (lsp-metals . "1.2") #f(compiled-function () #<bytecode -0x1df073503092ccfa>) ...] 12)
mapc(#
apply(#
projectile-completing-read("Switch to project: " ("~/Documents/Dev/Projects/Rhyme/BackStore/" "~/Documents/Dev/Projects/Drip/drip-zd/zd-monorepo/" "~/.emacs.d/" "~/Documents/Dev/Projects/Drip/drip-zd/zd-monorepo/...") :action #f(compiled-function (project) #<bytecode 0x6a7cf74bac005ad>)) projectile-switch-project(nil) funcall-interactively(projectile-switch-project nil) command-execute(projectile-switch-project)
I have opened a similar issue against lsp-metals (see above), where I first noticed it, but this might be the main cause.
Almost certainly this commit as that removes the whole module where that macro lives. Probably intentional.
Very much intentional. A rewrite of the extensions api has been in the works for years now, and has dropped a few weeks ago. As annoying as that breaking change must be for you, for me it means an api that is no longer terrible to maintain and that supports long requested features like async extensions, so there is nothing I can do here but close this ticket.
You can still stick to treemacs v2.11 until lsp-metals can update.
Eager macro-expansion failure: (wrong-number-of-arguments (1 . 1) 0) File mode specification error: (void-function treemacs-define-leaf-node)