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

Two modelines in Emacs 29.4 #80

Open
root42 opened this issue Nov 20, 2024 · 2 comments
Open

Two modelines in Emacs 29.4 #80

root42 opened this issue Nov 20, 2024 · 2 comments

Comments

@root42
Copy link

root42 commented Nov 20, 2024

Since Emacs 29.4 (maybe earlier) I have two nano-modelines -- one at the top, one at the bottom of my window. I can use hide-mode-line package to hide the lower one, but I actually want the nano modeline to be at the bottom, so this is only a workaround.

This happens even with a minimal configuration. But also with my config, where I have written my own nano-modeline hook (e.g. for showing the git branch).

Screenshot 2024-11-20 at 10 08 50
@root42
Copy link
Author

root42 commented Nov 20, 2024

It seems you can also work around it by disabling the modeline this way:

  (setq mode-line-format nil)

There is an open merge request which does something similar.

@rougier
Copy link
Owner

rougier commented Jan 6, 2025

It's weird and the modeline should be only at one place. And the way to disable the modeline is exactly the code you wrote. If you want to make it the default, you can also write (setq-default mode-line-format nil)

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

2 participants