[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs -nw display bug?
From: |
Eli Zaretskii |
Subject: |
Re: emacs -nw display bug? |
Date: |
Mon, 30 Jun 2014 19:58:46 +0300 |
> From: Joost Kremers <joost.m.kremers@gmail.com>
> Date: 30 Jun 2014 16:22:38 GMT
>
> Eli Zaretskii wrote:
> >> From: Joost Kremers <joost.m.kremers@gmail.com>
> >> Date: 30 Jun 2014 15:57:09 GMT
> >> - (setq-local mode-line-format nil) ; disable the mode line in the current
> >> window
> >
> > Don't do that. Emacs display engine assumes that there always is a
> > mode line.
>
> Then why does the Elisp manual say:
>
> ,----
> | -- User Option: mode-line-format
> |
> | [...]
> |
> | If you set this variable to `nil' in a buffer, that buffer does not
> | have a mode line. (A window that is just one line tall also does
> | not display a mode line.)
> `----
Because in some windows it does work. Like minibuffer-only frames.
> And it does work fine in GUI Emacs.
GUI Emacs uses a different redisplay strategy. But even there
disabling the mode line will get you in trouble, eventually.
Just say no.