My visual impression of a highlighted modeline placed below the horizontal scrollbar is to intuitively consider the modeline to belong to the window below and not to the window above:

highlighted modeline

After two weeks of Emacs usage it is still irritating me, especially if I had two or more displayed horizontal windows.

Is there a way to display the modeline at the top of the window?

1 Answer 1


To my current knowledge you can't display the modeline at the top of the window.

But you can use a header-line assigning to its format the format of the mode-line and then switch-off the visualization of the mode-line by adding to your ~/.emacs (or other initialization file) following two lines:

(setq-default header-line-format mode-line-format)
(setq-default mode-line-format nil)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.