all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amos Bird <amosbird@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
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	[thread overview]
Message-ID: <87in8fqx0a.fsf@gmail.com> (raw)

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	other threads:[~2018-04-25 12:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25 12:41 Amos Bird [this message]
2018-04-25 16:10 ` How can I force updating mini window's header line when mode line is updated? Eli Zaretskii
2018-04-25 17:12   ` Amos Bird
2018-04-25 16:20 ` Stefan Monnier
2018-04-25 17:16   ` Amos Bird
  -- strict thread matches above, loose matches on Subject: below --
2018-04-26  7:04 martin rudalics
2018-04-27  2:52 ` Amos Bird
2018-06-27 15:14 ` John Yates
2018-06-28  7:37   ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87in8fqx0a.fsf@gmail.com \
    --to=amosbird@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.