syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

Modeline is broken #16150

Closed rihardsk closed 1 year ago

rihardsk commented 1 year ago

Description :octocat:

After spacemacs upgrade and package upgrade, modeline doesn't show anything in the active window, it's just a blank line. Every other window (non-focused) shows stuff as expected, though. In *Messages* I get

Error during redisplay: (eval (spaceline-ml-main)) signaled (void-function treesit-available-p) [45 times]

which seems related.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: Broken modeline

Expected behaviour: :heart: :smile: Modeline shows stuff

System Info :computer:

spt29 commented 1 year ago

I have the same problem. I update spacemas + all packages every morning, yesterday things worked, now they don't. Spacemacs itself didn't change, but the package update pulled in 3 new package versions:

Rolling back those packages make the modeline work again, so it must be a new bug in one of those packages.

kGAr6Naaes commented 1 year ago

Same here.

Spacemacs ver. 0.999 Emacs ver. 29.1

Last thing I did before logging off yesterday was to update with update-packages.

Today I open my Emacs session and the modeline is empty. modeline_gone_1

If I call find-file the modeline reappears, at least until I quit the Helm window. modeline_gone_2

Warnings thrown

Error during redisplay: (eval (spaceline-ml-main)) signaled (void-variable treesit-inspect-mode) [9 times] Error during redisplay: (eval (spaceline-ml-main)) signaled (void-variable treesit-inspect-mode) [5 times]

prestancedesign commented 1 year ago

Same here.

Temporary fix that I use, disable treesiter-inspect using spaceline-toggle-treesit-inspect-off function.

The bug is coming from spaceline-segments.el package. An issue has already been opened: https://github.com/TheBB/spaceline/issues/240

rihardsk commented 1 year ago

The upstream issue is closed https://github.com/TheBB/spaceline/issues/240, updating to latest spaceline resolves the issue. Closing.