diff options
| author | Eli Zaretskii | 2011-09-17 18:18:56 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-09-17 18:18:56 +0300 |
| commit | 1137e8b8eb6fbae76880b814d516377de30eddd3 (patch) | |
| tree | 51e82ce03063d5940d0e9e27fff0f10f2587634b /src/ChangeLog | |
| parent | 8d5ed89901195abc4a5d660371ea26e849292ea6 (diff) | |
| download | emacs-1137e8b8eb6fbae76880b814d516377de30eddd3.tar.gz emacs-1137e8b8eb6fbae76880b814d516377de30eddd3.zip | |
Fix bug #9470 with slow redisplay in huge single-paragraph buffers.
src/bidi.c (MAX_PARAGRAPH_SEARCH): New macro.
(bidi_find_paragraph_start): Search back for paragraph beginning
at most MAX_PARAGRAPH_SEARCH lines; if not found, return BEGV_BYTE.
(bidi_move_to_visually_next): Only trigger paragraph-related
computations when the last character is a newline or at EOB, not
just any NEUTRAL_B.
src/xdisp.c (reseat_at_next_visible_line_start): Keep information
about the current paragraph and restore it after the call to
reseat.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d09c970bc03..a6d890cd149 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2011-09-17 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-09-17 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (reseat_at_next_visible_line_start): Keep information | ||
| 4 | about the current paragraph and restore it after the call to | ||
| 5 | reseat. | ||
| 6 | |||
| 7 | * bidi.c (MAX_PARAGRAPH_SEARCH): New macro. | ||
| 8 | (bidi_find_paragraph_start): Search back for paragraph beginning | ||
| 9 | at most MAX_PARAGRAPH_SEARCH lines; if not found, return BEGV_BYTE. | ||
| 10 | (bidi_move_to_visually_next): Only trigger paragraph-related | ||
| 11 | computations when the last character is a newline or at EOB, not | ||
| 12 | just any NEUTRAL_B. (Bug#9470) | ||
| 13 | |||
| 3 | * xdisp.c (set_cursor_from_row): Don't invoke special treatment of | 14 | * xdisp.c (set_cursor_from_row): Don't invoke special treatment of |
| 4 | truncated lines if point is covered by a display string. (Bug#9524) | 15 | truncated lines if point is covered by a display string. (Bug#9524) |
| 5 | 16 | ||