[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: |
Stefan Monnier |
Subject: |
bug#10539: 24.0.92; low display-time-interval makes Emacs slow |
Date: |
Mon, 30 Jan 2012 17:01:53 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
>> > I don't mind, but I'd like Chong's and Stefan's opinion on this first.
>> > The way the function is (was) implemented it exploits intimate
>> > knowledge about redisplay's inner workings. Maybe we should simply
>> > expose to Lisp the corresponding internal variables instead, or
>> > provide Lisp primitive functions to set them?
>> I don't mind the current code, but it deserves a comment pointing to the
>> corresponding part of the C code that is affected.
> The two internal variables in question (update_mode_lines and
> windows_or_buffers_changed) affect many parts of the display code, and
> also appear in buffer.c, window.c, and a bunch of other files. Just
> grep for them, they are all over the place.
Indeed, that's why a comment is needed: the corresponding info is not
easy to find.
> So I'm unsure what you mean by "corresponding part of the C code".
The corresponding parts would be:
1- the place where the C code (run via the Elisp code of
force-mode-line-update) sets those vars.
2- the place in the C code where those vars are checked later on during
redisplay so that they cause the mode-line to be refreshed.
Stefan
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, (continued)
- 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, 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
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Stefan Monnier, 2012/01/29
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/30
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow,
Stefan Monnier <=
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/30
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, martin rudalics, 2012/01/29
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/29
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, martin rudalics, 2012/01/30
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/30
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, martin rudalics, 2012/01/30
- bug#10539: 24.0.92; low display-time-interval makes Emacs slow, Eli Zaretskii, 2012/01/30