help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I force updating mini window's header line when mode line is upd


From: Amos Bird
Subject: How can I force updating mini window's header line when mode line is updated?
Date: Wed, 25 Apr 2018 20:41:09 +0800
User-agent: mu4e 1.0-alpha3; emacs 27.0.50

Dear community,

I'm trying to setup one mode line per frame. Here is what I've done.

1. turn on the head line of mini window by tweaking window_wants_header_line. 2. change shrink_mini_window so that it shrinks mini window to two lines instead of one.
3. (setq-default header-line-format mode-line-format)

Here is what I got https://la.wentropy.com/48Yx.png

However the header line doesn't get updated at all. It seems xdisp.c only provides ways to update mode line, and I've reached the limit of my emacs-fu. How can I achieve this without hacking tons of the display logic? Many thanks!

regards,

--
Amos Bird
amosbird@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]