diff options
| author | Eli Zaretskii | 2014-01-01 19:44:48 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-01-01 19:44:48 +0200 |
| commit | c10e9ece08ab58bf0d49fd1554879c379f810748 (patch) | |
| tree | ce6e03c34ad81de47541c19272b617c64e8a5413 /src/ChangeLog | |
| parent | 6bc383b1a4ebf46451085a1629a0e9433f2051cf (diff) | |
| download | emacs-c10e9ece08ab58bf0d49fd1554879c379f810748.tar.gz emacs-c10e9ece08ab58bf0d49fd1554879c379f810748.zip | |
Fix bug #16265 with buffer caches when modifying text in indirect buffers.
src/search.c (newline_cache_on_off, find_newline): In indirect
buffers, use the newline cache of the base buffer.
src/insdel.c (invalidate_buffer_caches): If BUF is an indirect
buffer, invalidate the caches of its base buffer.
src/indent.c (width_run_cache_on_off, compute_motion): In indirect
buffers, use the width-run cache of the base buffer.
src/xdisp.c (redisplay_window): When the window displays an indirect
buffer, and the character widths in the display table have
changed, invalidate the width-run cache of the corresponding base
buffer.
src/fileio.c (Finsert_file_contents): When invalidating the newline
cache, consider the case of inserting into indirect buffer.
src/bidi.c (bidi_paragraph_cache_on_off, bidi_find_paragraph_start):
In indirect buffers, use the paragraph cache of the base buffer.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6ed13a11fe5..e41ccd168c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2014-01-01 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * search.c (newline_cache_on_off, find_newline): In indirect | ||
| 4 | buffers, use the newline cache of the base buffer. | ||
| 5 | |||
| 6 | * insdel.c (invalidate_buffer_caches): If BUF is an indirect | ||
| 7 | buffer, invalidate the caches of its base buffer. (Bug#16265) | ||
| 8 | |||
| 9 | * indent.c (width_run_cache_on_off, compute_motion): In indirect | ||
| 10 | buffers, use the width-run cache of the base buffer. | ||
| 11 | |||
| 12 | * xdisp.c (redisplay_window): When the window displays an indirect | ||
| 13 | buffer, and the character widths in the display table have | ||
| 14 | changed, invalidate the width-run cache of the corresponding base | ||
| 15 | buffer. | ||
| 16 | |||
| 17 | * fileio.c (Finsert_file_contents): When invalidating the newline | ||
| 18 | cache, consider the case of inserting into indirect buffer. | ||
| 19 | |||
| 20 | * bidi.c (bidi_paragraph_cache_on_off, bidi_find_paragraph_start): | ||
| 21 | In indirect buffers, use the paragraph cache of the base buffer. | ||
| 22 | |||
| 1 | 2013-12-31 Martin Rudalics <rudalics@gmx.at> | 23 | 2013-12-31 Martin Rudalics <rudalics@gmx.at> |
| 2 | 24 | ||
| 3 | * window.c (grow_mini_window): Fix last change. | 25 | * window.c (grow_mini_window): Fix last change. |