[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10539: 24.0.92; low display-time-interval makes Emacs slow
From: |
Glenn Morris |
Subject: |
bug#10539: 24.0.92; low display-time-interval makes Emacs slow |
Date: |
Fri, 27 Jan 2012 16:30:44 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Michael Heerdegen wrote:
> Second, the doc of `display-time-update' says
>
> Update the display-time info for the mode line.
> However, don't redisplay right now.
>
> But it _does_ redisplay, it calls `force-mode-line-update' explicitly at
> the end of the code!
Looking at the history, the code used to have a (sit-for 0.0) after the
force-mode-line-update. The "don't redisplay" part was added when the
sit-for was removed. I confess that I don't really understand
force-mode-line-update [1]. The name makes sense, but not much else.
The manual says:
-- Function: force-mode-line-update &optional all
Force redisplay of the current buffer's mode line and header line.
The next redisplay will update the mode line and header line based
on the latest values of all relevant variables.
which seems contradictory to me ("force redisplay" + "next redisplay").
Maybe the "don't redisplay" refers to the lack of the ALL argument?
[1] eg http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00581.html
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Michael Heerdegen, 2012/01/17
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow,
Glenn Morris <=
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/28
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Glenn Morris, 2012/01/28
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/28
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Glenn Morris, 2012/01/28
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/28
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Glenn Morris, 2012/01/29
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Drew Adams, 2012/01/29
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/29