GNU bug report logs -
#64596
30.0.50; On FIXME: in src/buffer.c:1481 (force-mode-line-update)
Previous Next
Full log
Message #242 received at 64596 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> May someone then detail these steps in the top commentary in xdisp.c +
>> highlight that redisplay term is generally used when deciding if we need
>> to update.
>
> It's already in the large commentary at the beginning of xdisp.c
> (search for "update_window" to find the description of "update"). It
> just "drowns" in the sea of the information there
I saw this. But "update" is not used consistently across that
commentary.
If we read at the very beginning:
/* New redisplay written by Gerd Moellmann <gerd <at> gnu.org>.
Redisplay.
Emacs separates the task of updating the display from code
modifying global state, e.g. buffer text. ...
Updating the display is triggered by the Lisp interpreter when it
decides it's time to do it....
Which immediately creates an impression that "redisplay" and "update"
are referring to the same thing.
It would be nice the highlight the distinction rightaway there.
Further,
You will find a lot of redisplay optimizations when you start
looking at the innards of redisplay. The overall goal of all these
optimizations is to make redisplay fast because it is done
frequently. Some of these optimizations are implemented by the
following functions:
focuses on optimizations related to window, but says nothing about
checking frames. It talks not about buffers displayed in multiple
windows either.
The rest of the commentary is diving deep into the "update" part.
Redisplay and its optimizations are not described in sufficient detail.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
This bug report was last modified 1 year and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.