diff options
| author | Eli Zaretskii | 2012-05-13 18:35:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-05-13 18:35:13 +0300 |
| commit | ac268e6786fbbb4eeb5b069b462bfb9c29272c67 (patch) | |
| tree | 38ae18eff258ef77d01f70c00d6e97f0e58054f0 /src/ChangeLog | |
| parent | 6cb820bab5c5ed552baa4deebee870ceda3738db (diff) | |
| download | emacs-ac268e6786fbbb4eeb5b069b462bfb9c29272c67.tar.gz emacs-ac268e6786fbbb4eeb5b069b462bfb9c29272c67.zip | |
Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY.
src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
already have overlays loaded.
(handle_single_display_spec): Before returning without displaying
fringe bitmap, synchronize the bidi iterator with the main display
iterator, by calling iterate_out_of_display_property.
(iterate_out_of_display_property): Detect buffer iteration by
testing that it->string is a Lisp string.
(get_next_display_element): When the current object is exhausted,
and there's something on it->stack, call set_iterator_to_next to
proceed with what's on the stack, instead of returning zero.
(set_iterator_to_next): If called at the end of a Lisp string,
proceed to consider_string_end without incrementing string
position. Don't increment display vector index past the end of
the display vector.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9245e81a536..7352d8e0081 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2012-05-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we | ||
| 4 | already have overlays loaded. | ||
| 5 | (handle_single_display_spec): Before returning without displaying | ||
| 6 | fringe bitmap, synchronize the bidi iterator with the main display | ||
| 7 | iterator, by calling iterate_out_of_display_property. | ||
| 8 | (iterate_out_of_display_property): Detect buffer iteration by | ||
| 9 | testing that it->string is a Lisp string. | ||
| 10 | (get_next_display_element): When the current object is exhausted, | ||
| 11 | and there's something on it->stack, call set_iterator_to_next to | ||
| 12 | proceed with what's on the stack, instead of returning zero. | ||
| 13 | (set_iterator_to_next): If called at the end of a Lisp string, | ||
| 14 | proceed to consider_string_end without incrementing string | ||
| 15 | position. Don't increment display vector index past the end of | ||
| 16 | the display vector. (Bug#11417) | ||
| 17 | |||
| 1 | 2012-05-11 Eli Zaretskii <eliz@gnu.org> | 18 | 2012-05-11 Eli Zaretskii <eliz@gnu.org> |
| 2 | 19 | ||
| 3 | * xdisp.c (handle_single_display_spec): Return 1 for left-margin | 20 | * xdisp.c (handle_single_display_spec): Return 1 for left-margin |