diff options
| author | Stefan Monnier | 2014-12-11 16:07:23 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-12-11 16:07:23 -0500 |
| commit | aeeaf082e69ec088d6bbb140ddf0ce8119580a67 (patch) | |
| tree | 433810d5e49b5a9b7f110bffc7a6659ca43f7c59 /src/ChangeLog | |
| parent | c6f03ed03d68e52e8b18011d2c57959532b45fb5 (diff) | |
| download | emacs-aeeaf082e69ec088d6bbb140ddf0ce8119580a67.tar.gz emacs-aeeaf082e69ec088d6bbb140ddf0ce8119580a67.zip | |
Fixes: debbugs:19161
* src/fileio.c: Better preserve window-points during revert.
(Qget_buffer_window_list): New var.
(get_window_points_and_markers, restore_window_points): New functions.
(Finsert_file_contents): Use them to save and restore window-points.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 27c08580cb8..887ca89261a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * fileio.c: Better preserve window-points during revert (bug#19161). | ||
| 4 | (Qget_buffer_window_list): New var. | ||
| 5 | (get_window_points_and_markers, restore_window_points): New functions. | ||
| 6 | (Finsert_file_contents): Use them to save and restore window-points. | ||
| 7 | |||
| 1 | 2014-12-11 Dmitry Antipov <dmantipov@yandex.ru> | 8 | 2014-12-11 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 9 | ||
| 3 | * xterm.c (x_delete_terminal): Call emacs_close for X connection | 10 | * xterm.c (x_delete_terminal): Call emacs_close for X connection |
| @@ -13,15 +20,14 @@ | |||
| 13 | its initial value. | 20 | its initial value. |
| 14 | (bidi_cache_search): Handle overflown cache. Improve commentary. | 21 | (bidi_cache_search): Handle overflown cache. Improve commentary. |
| 15 | (bidi_cache_ensure_space): Limit allocations to the current value | 22 | (bidi_cache_ensure_space): Limit allocations to the current value |
| 16 | of bidi_cache_max_elts. Force xpalloc not to over-allocate. If | 23 | of bidi_cache_max_elts. Force xpalloc not to over-allocate. |
| 17 | less than a full BIDI_CACHE_CHUNK is left to the limit, decrease | 24 | If less than a full BIDI_CACHE_CHUNK is left to the limit, decrease |
| 18 | the increment to not exceed the limit. | 25 | the increment to not exceed the limit. |
| 19 | (bidi_cache_iterator_state): Now returns non-zero if succeeded to | 26 | (bidi_cache_iterator_state): Now returns non-zero if succeeded to |
| 20 | cache, zero otherwise (meaning the cache overflowed). In the | 27 | cache, zero otherwise (meaning the cache overflowed). In the |
| 21 | latter case, set bidi_cache_last_idx to -1. | 28 | latter case, set bidi_cache_last_idx to -1. |
| 22 | (bidi_peek_at_next_level): Handle overflown cache. | 29 | (bidi_peek_at_next_level): Handle overflown cache. |
| 23 | (bidi_push_it): Increase the cache limit for iterating the new | 30 | (bidi_push_it): Increase the cache limit for iterating the new object. |
| 24 | object. | ||
| 25 | (bidi_pop_it): Decrease the cache limit back to previous value. | 31 | (bidi_pop_it): Decrease the cache limit back to previous value. |
| 26 | (bidi_shelve_cache): Shelve the current value of the cache limit. | 32 | (bidi_shelve_cache): Shelve the current value of the cache limit. |
| 27 | (bidi_unshelve_cache): Restore the value of cache limit. | 33 | (bidi_unshelve_cache): Restore the value of cache limit. |
| @@ -280,8 +286,8 @@ | |||
| 280 | 286 | ||
| 281 | * xml.c (parse_region): Take care of new optional parameter | 287 | * xml.c (parse_region): Take care of new optional parameter |
| 282 | 'discard-comments' of 'libxml-parse(html|xml)-region'. | 288 | 'discard-comments' of 'libxml-parse(html|xml)-region'. |
| 283 | (Flibxml_parse_html_region, Flibxml_parse_xml_region): New | 289 | (Flibxml_parse_html_region, Flibxml_parse_xml_region): |
| 284 | optional parameter 'discard-comments'. | 290 | New optional parameter 'discard-comments'. |
| 285 | 291 | ||
| 286 | 2014-11-17 Paul Eggert <eggert@cs.ucla.edu> | 292 | 2014-11-17 Paul Eggert <eggert@cs.ucla.edu> |
| 287 | 293 | ||
| @@ -333,8 +339,8 @@ | |||
| 333 | 2014-11-16 Eli Zaretskii <eliz@gnu.org> | 339 | 2014-11-16 Eli Zaretskii <eliz@gnu.org> |
| 334 | 340 | ||
| 335 | * window.c (window_scroll_pixel_based): Avoid truncation/rounding | 341 | * window.c (window_scroll_pixel_based): Avoid truncation/rounding |
| 336 | errors in computing the number of pixels to scroll. Suggested by | 342 | errors in computing the number of pixels to scroll. |
| 337 | Kelly Dean <kelly@prtime.org>. (Bug#19060) | 343 | Suggested by Kelly Dean <kelly@prtime.org>. (Bug#19060) |
| 338 | 344 | ||
| 339 | 2014-11-16 Jan Djärv <jan.h.d@swipnet.se> | 345 | 2014-11-16 Jan Djärv <jan.h.d@swipnet.se> |
| 340 | 346 | ||
| @@ -444,15 +450,15 @@ | |||
| 444 | * frame.h (frame): Split `official' into `can_x_set_window_size' | 450 | * frame.h (frame): Split `official' into `can_x_set_window_size' |
| 445 | and `can_run_window_configuration_change_hook'. | 451 | and `can_run_window_configuration_change_hook'. |
| 446 | * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size. | 452 | * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size. |
| 447 | * w32fns.c (Fx_create_frame, x_create_tip_frame): Set | 453 | * w32fns.c (Fx_create_frame, x_create_tip_frame): |
| 448 | f->can_x_set_window_size. | 454 | Set f->can_x_set_window_size. |
| 449 | * window.c (run_window_configuration_change_hook): Return | 455 | * window.c (run_window_configuration_change_hook): |
| 450 | immediately if either f->can_x_set_window_size or | 456 | Return immediately if either f->can_x_set_window_size or |
| 451 | f->can_run_window_configuration_change_hook are false. | 457 | f->can_run_window_configuration_change_hook are false. |
| 452 | (Fset_window_configuration): Instead of f->official set | 458 | (Fset_window_configuration): Instead of f->official set |
| 453 | f->can_x_set_window_size. | 459 | f->can_x_set_window_size. |
| 454 | * xfns.c (Fx_create_frame, x_create_tip_frame): Set | 460 | * xfns.c (Fx_create_frame, x_create_tip_frame): |
| 455 | f->can_x_set_window_size. | 461 | Set f->can_x_set_window_size. |
| 456 | 462 | ||
| 457 | 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> | 463 | 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> |
| 458 | 464 | ||