[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12872: 24.2; Provide a feature to trigger mode-line redisplay
From: |
Lars Ingebrigtsen |
Subject: |
bug#12872: 24.2; Provide a feature to trigger mode-line redisplay |
Date: |
Sat, 04 Dec 2021 19:55:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> force-mode-line-update is a blunt weapon, and causes a much more
> thorough redisplay than its name says. And post-command-hook is not
> the best method of achieving the desired goal, since it runs after
> _every_ command, not just a command that changes the line of point.
Perhaps this should be mentioned in the doc string of that function?
This function could grow a `mode-line-only' parameter (or value of ALL),
I guess. Hm... following the logic here isn't trivial. Would setting
a new flag in the window object that'll make redisplay call
redisplay_mode_lines be a way to implement this?
Or just call it directly from (force-mode-line-update 'mode-line-only)?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/03
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/04
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay,
Lars Ingebrigtsen <=
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/04
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/04
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/04
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/04
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/05
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/05
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/05
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/06
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Eli Zaretskii, 2021/12/06
- bug#12872: 24.2; Provide a feature to trigger mode-line redisplay, Lars Ingebrigtsen, 2021/12/07