diff options
| author | Eli Zaretskii | 2011-08-02 22:16:32 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-08-02 22:16:32 +0300 |
| commit | 55439c615b8e04748a66a6d88ec70a9ac5acd672 (patch) | |
| tree | df8c9c478b012b4ac25c5be2cf881c9398bfe174 /src/ChangeLog | |
| parent | 0e6a2bd74efe96eb9b171aa8011b1a13db7f80df (diff) | |
| download | emacs-55439c615b8e04748a66a6d88ec70a9ac5acd672.tar.gz emacs-55439c615b8e04748a66a6d88ec70a9ac5acd672.zip | |
Fix bug #9218 with slow cursor motion and scrolling Org Mode buffers.
src/dispextern.h (struct bidi_it): New member disp_prop_p.
src/xdisp.c: Remove one-slot cache of display string positions.
(compute_display_string_pos): Accept an additional argument
DISP_PROP_P; callers changed. Scan at most 5K characters forward
for a display string or property. If found, set DISP_PROP_P
non-zero.
src/bidi.c (bidi_fetch_char): Accept an additional argument
DISP_PROP_P, and pass it to compute_display_string_pos. Only
handle text covered by a display string if DISP_PROP_P is returned
non-zero. All callers of bidi_fetch_char changed.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 59f09515829..3717924ff68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2011-08-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Fix slow cursor motion and scrolling in large buffers with | ||
| 4 | selective display, like Org Mode buffers. (Bug#9218) | ||
| 5 | |||
| 6 | * dispextern.h (struct bidi_it): New member disp_prop_p. | ||
| 7 | |||
| 8 | * xdisp.c: Remove one-slot cache of display string positions. | ||
| 9 | (compute_display_string_pos): Accept an additional argument | ||
| 10 | DISP_PROP_P; callers changed. Scan at most 5K characters forward | ||
| 11 | for a display string or property. If found, set DISP_PROP_P | ||
| 12 | non-zero. | ||
| 13 | |||
| 14 | * bidi.c (bidi_fetch_char): Accept an additional argument | ||
| 15 | DISP_PROP_P, and pass it to compute_display_string_pos. Only | ||
| 16 | handle text covered by a display string if DISP_PROP_P is returned | ||
| 17 | non-zero. All callers of bidi_fetch_char changed. | ||
| 18 | |||
| 1 | 2011-08-02 Stefan Monnier <monnier@iro.umontreal.ca> | 19 | 2011-08-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 20 | ||
| 3 | * keymap.c (Fdefine_key): Fix Lisp_Object/int mixup; apply some CSE. | 21 | * keymap.c (Fdefine_key): Fix Lisp_Object/int mixup; apply some CSE. |