diff options
| author | Eli Zaretskii | 2014-02-20 19:40:56 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-02-20 19:40:56 +0200 |
| commit | 679f7827555eebb588131aebfcb9fdb959199904 (patch) | |
| tree | 194994cd6ca960faa0cb9767c31211fbd93aefd0 /src/ChangeLog | |
| parent | dba8296c00f035fcf7e200e846a890445606f307 (diff) | |
| download | emacs-679f7827555eebb588131aebfcb9fdb959199904.tar.gz emacs-679f7827555eebb588131aebfcb9fdb959199904.zip | |
Fix excessive calls to bidi_shelve_cache reported in bug #15555.
src/xdisp.c (move_it_in_display_line_to): Save the iterator state in ppos_it
only once per call. Reimplement the method used to return to the
best candidate position if all the positions found in display line
are beyond TO_CHARPOS. This cuts down the number of calls to
bidi_shelve_cache, which moves a lot of stuff when lines are long
and include bidirectional text.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3c063ca3c0b..4bb47197106 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -5,6 +5,12 @@ | |||
| 5 | (try_cursor_movement): Don't use cursor position if | 5 | (try_cursor_movement): Don't use cursor position if |
| 6 | set_cursor_from_row failed to compute it. This avoids assertion | 6 | set_cursor_from_row failed to compute it. This avoids assertion |
| 7 | violations in MATRIX_ROW. | 7 | violations in MATRIX_ROW. |
| 8 | (move_it_in_display_line_to): Save the iterator state in ppos_it | ||
| 9 | only once per call. Reimplement the method used to return to the | ||
| 10 | best candidate position if all the positions found in display line | ||
| 11 | are beyond TO_CHARPOS. This cuts down the number of calls to | ||
| 12 | bidi_shelve_cache, which moves a lot of stuff when lines are long | ||
| 13 | and include bidirectional text. (Bug#15555) | ||
| 8 | 14 | ||
| 9 | 2014-02-20 Glenn Morris <rgm@gnu.org> | 15 | 2014-02-20 Glenn Morris <rgm@gnu.org> |
| 10 | 16 | ||