GNU bug report logs -
#10539
24.0.92; low display-time-interval makes Emacs slow
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Wed, 18 Jan 2012 01:52:01 UTC
Severity: minor
Tags: moreinfo
Found in version 24.0.92
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> > 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
This bug report was last modified 3 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.