33 |
you as part of the interpreter's command loop or as the result of |
you as part of the interpreter's command loop or as the result of |
34 |
calling Lisp functions like `sit-for'. The C function `redisplay' |
calling Lisp functions like `sit-for'. The C function `redisplay' |
35 |
in xdisp.c is the only entry into the inner redisplay code. (Or, |
in xdisp.c is the only entry into the inner redisplay code. (Or, |
36 |
let's say almost---see the the description of direct update |
let's say almost---see the description of direct update |
37 |
operations, below.). |
operations, below.). |
38 |
|
|
39 |
The following diagram shows how redisplay code is invoked. As you |
The following diagram shows how redisplay code is invoked. As you |
88 |
|
|
89 |
Direct operations. |
Direct operations. |
90 |
|
|
91 |
You will find a lot of of redisplay optimizations when you start |
You will find a lot of redisplay optimizations when you start |
92 |
looking at the innards of redisplay. The overall goal of all these |
looking at the innards of redisplay. The overall goal of all these |
93 |
optimizations is to make redisplay fast because it is done |
optimizations is to make redisplay fast because it is done |
94 |
frequently. |
frequently. |
123 |
interface functions taking a iterator structure (struct it) |
interface functions taking a iterator structure (struct it) |
124 |
argument. |
argument. |
125 |
|
|
126 |
Iteration over things to be be displayed is then simple. It is |
Iteration over things to be displayed is then simple. It is |
127 |
started by initializing an iterator with a call to init_iterator. |
started by initializing an iterator with a call to init_iterator. |
128 |
Calls to get_next_display_element fill the iterator structure with |
Calls to get_next_display_element fill the iterator structure with |
129 |
relevant information about the next thing to display. Calls to |
relevant information about the next thing to display. Calls to |