Comments (7)
I met the same error and I'm also on Emacs 29. It seems some upstream changes broke some function in lsp-metals-treeview.el
.
@thoradam Which commit of Emacs 29 are you using (and has this problem)? And which commit is good? I could do a git bisect to find which commit is responsible for this problem.
from lsp-metals.
@VitalyAnkh I installed Emacs from the Homebrew emacs-plus formula:
"tap": "d12frosted/emacs-plus",
"tap_git_head": "4b34ed7402a4f3e1f212b2c6fa0851f4b59e247c",
Unfortunately this is my first time using Emacs with lsp-metals so I don't have a working commit for reference.
from lsp-metals.
Treeview is broken after breaking the change in treemacs. It should be disabled until this is fixed.
from lsp-metals.
what is the status of this? what is the recommended work around until fixed (one which lets you continue to use metals)?
from lsp-metals.
This patch for the treemacs package works for me:
diff --git a/src/elisp/treemacs-treelib.el b/src/elisp/treemacs-treelib.el
index d30c8c6..9825fbf 100644
--- a/src/elisp/treemacs-treelib.el
+++ b/src/elisp/treemacs-treelib.el
@@ -1018,7 +1018,7 @@ ARG: Prefix Arg"
:post-close-action
(treemacs-on-collapse (treemacs-button-get btn :path))))
-(cl-defmacro treemacs-initialize
+(cl-defmacro treemacs-initialize-ext
(extension
&key
(with-expand-depth 0)
It seems that lsp-metals wants to call the other treemacs-initialize
so renaming this one to something else fixes the issues at least for lsp-metals.
from lsp-metals.
Does it stop work completely? For me lsp-metals works fine after this error happens.
from lsp-metals.
It stopped working in the latest Emacs (snapshot) due to the commit emacs-mirror/emacs@80cf13a
eager expansions is now error not warning.
Related issue: emacs-lsp/lsp-mode#3738
from lsp-metals.
Related Issues (20)
- Tab does not indent HOT 1
- can't find java.
- the following functions are not known to be defined: -compose, -rpartial, -andfn, -not HOT 2
- dap-debub templates fails with error Expected BEGIN_ARRAY but w as BEGIN_OBJECT at path $.environmentVariables
- Can't install server (signature expired) HOT 6
- using lsp-metals under guix with coursier linux binary launcher HOT 1
- Cannot install Metals 0.11.3+ HOT 1
- Hovering over output in worksheet not working HOT 3
- Instructions on how to debug scala gradle project with DAP
- Running unit test HOT 2
- Scala version on independent worksheet files HOT 6
- Symbol’s function definition is void: treemacs-define-leaf-node HOT 9
- LSP metals won't load, stops configuration of SemanticDB in 2.13.10 projects HOT 1
- LSP/Emacs hangs while updating metals server HOT 2
- Autosave leads to workspace/willRenameFiles being triggered
- Metals Not Loading Correctly for Project HOT 1
- Imenu provides too detailed leafs
- Poor contrast in treeview in light mode HOT 1
- In OpenBSD installing `lsp::metals` results in Linux binary being installed [solution]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-metals.