Open cogfor opened 4 months ago
Update: When removing the Nano theme, Treemacs seems to start working. Apparently something in the theme breaks Treemacs
treemacs--setup-mode-line()
The modeline code is complicated because treemacs supports a few modeline packages that I am not familiar with. Maybe one of them changed its api somehow. Can you tell me where exactly the error is thrown in this function?
I had the same problem, but setting treemacs-user-mode-line-format to a random string solved it.
I can confirm that this indeed fixes the issue. Thanks @Meqeq !
I had the same problem, but setting treemacs-user-mode-line-format to a random string solved it.
That's not a proper fix since setting that value just means overriding treemacs' builtin modeline.
I know, I just wanted to share this temporary fix. However, I found some time to investigate and discovered the cause. The Nano Emacs theme sets mode-line-format
to an empty string using setq-default
, and treemacs--setup-mode-line
function tries to perform memq
on this.
I'm not sure if there should be a check to see if the default value of mode-line-format is a list or if it should be fixed in Nano Emacs. I don't have much experience with elisp.
This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).
I went with the easy solution for now and added a type check. Does that fix the problem?
I am having a hard time getting emacs installed with Treemacs as an IDE for Clojure coding. Whatever I try Treemacs does not show, only an empty buffer is visible.
Please let me know what else I can provide to get this resolved.
Emacs installed using Homebrew on MacOSX Sonoma
Using this
init.el
file: init.el.txtReported version (
M-x treemacs-version
): Treemacs 3.1 Installed 2024.05.16 Emacs 29.3Steps to reproduce:
emacs --debug-init
Error: