Skip to content
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

Modeline is broken #16150

Closed
rihardsk opened this issue Sep 20, 2023 · 4 comments
Closed

Modeline is broken #16150

rihardsk opened this issue Sep 20, 2023 · 4 comments

Comments

@rihardsk
Copy link

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 🪲

  • Start Emacs
  • Notice broken modeline

Observed behaviour: 👀 💔
Broken modeline

Expected behaviour: ❤️ 😄
Modeline shows stuff

System Info 💻

  • OS: gnu/linux
  • Emacs: 28.1
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. b86a074)
  • Graphic display: t
  • Running in daemon: nil
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(typescript yaml vimscript java
            (groovy :variables groovy-backend 'lsp groovy-lsp-jar-path "/home/rihards/.local/lib/groovy-language-server-all.jar")
            javascript emacs-lisp git helm
            (lsp :variables lsp-rust-server 'rust-analyzer)
            dap rust python cmake nixos
            (ipython-notebook :variables ein-backend 'jupyter)
            docker
            (search-engine :variables search-engine-config-list
                           '((kagi :name "Kagi" :url "https://kagi.com/search?q=%s")))
            markdown multiple-cursors org
            (shell :variables shell-default-shell 'vterm shell-default-width 40 shell-default-position 'right)
            (spell-checking :variables spell-checking-enable-by-default nil)
            treemacs)
  • System configuration features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB
@spt29
Copy link

spt29 commented Sep 21, 2023

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:

  • centered-cursor-mode-20230911.1503 => centered-cursor-mode-20230914.1358
  • helm-20230909.1649 => helm-20230919.442
  • helm-core-20230910.424 => helm-core-20230916.1702

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

@kGAr6Naaes
Copy link

kGAr6Naaes commented Sep 21, 2023

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
Copy link

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: TheBB/spaceline#240

@rihardsk
Copy link
Author

The upstream issue is closed TheBB/spaceline#240, updating to latest spaceline resolves the issue. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants