-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treemacs won't show. Error (wrong-type-argument lisp "") #1107
Comments
Update: When removing the Nano theme, Treemacs seems to start working. Apparently something in the theme breaks Treemacs |
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 ! |
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 treemacs/src/elisp/treemacs-mode.el Line 226 in 923fbbd
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? |
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 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.txt
Reported version (
M-x treemacs-version
):Treemacs 3.1 Installed 2024.05.16 Emacs 29.3
Steps to reproduce:
emacs --debug-init
Error:
The text was updated successfully, but these errors were encountered: