[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I force updating mini window's header line when mode line is
Re: How can I force updating mini window's header line when mode line is updated?
Thu, 26 Apr 2018 01:12:38 +0800
mu4e 1.0-alpha3; emacs 27.0.50
Thanks for the kind help. I've made some progress and I'll report
it on emacs-devel :)
Eli Zaretskii <address@hidden> writes:
From: Amos Bird <address@hidden>
Date: Wed, 25 Apr 2018 20:41:09 +0800
I'm trying to setup one mode line per frame. Here is what I've
1. turn on the head line of mini window by tweaking
2. change shrink_mini_window so that it shrinks mini window to
lines instead of one.
3. (setq-default header-line-format mode-line-format)
It's great to hear someone hacks the display code to add
However, these issues are best discussed on emacs-devel, not
Who knows, we could even ask you to contribute the code ;-)
However the header line doesn't get updated at all. It seems
xdisp.c only provides ways to update mode line, and I've
the limit of my emacs-fu. How can I achieve this without
tons of the display logic? Many thanks!
I think you need to modify window_wants_header_line, it
hard-wired knowledge that a minibuffer window will never display
Once that is done, the feature should work, because the same
that update the mode line also update the header line, so this:
It seems xdisp.c only provides ways to update mode line
is inaccurate. See the part of redisplay_window immediately
the 'done' label: it calls display_mode_lines, which displays
mode line and the header line.