aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2011-03-31 21:12:30 +0200
committerEli Zaretskii2011-03-31 21:12:30 +0200
commit63696a737c9c28f203e1e4f8c73f8a765486543f (patch)
tree52953c1f938dc657c5bc4023df7efcb6f58721b5 /src/ChangeLog
parentc82b2579f0d0abc7cfe75f9f29bc2c7010473878 (diff)
parent09725d2628e9b8a796d128d24e7255a57c2424f3 (diff)
downloademacs-63696a737c9c28f203e1e4f8c73f8a765486543f.tar.gz
emacs-63696a737c9c28f203e1e4f8c73f8a765486543f.zip
Fix bug #6671 with recentering and other scrolling problems.
src/xdisp.c (SCROLL_LIMIT): New macro. (try_scrolling): Use it when setting scroll_limit. Limit scrolling to 100 screen lines. (redisplay_window): Even when falling back on "recentering", position point in the window according to scroll-conservatively, scroll-margin, and scroll-*-aggressively variables. (try_scrolling): When point is above the window, allow searching as far as scroll_max, or one screenful, to compute vertical distance from PT to the scroll margin position. This prevents try_scrolling from unnecessarily failing when scroll-conservatively is set to a value slightly larger than the window height. Clean up the case of PT below the margin at bottom of window: scroll_max can no longer be INT_MAX. When aggressive scrolling is in use, don't let point enter the opposite scroll margin as result of the scroll. (syms_of_xdisp) <scroll-conservatively>: Document the threshold of 100 lines for never-recentering scrolling. doc/emacs/display.texi (Auto Scrolling): Document the limit of 100 lines for never-recentering scrolling with `scroll-conservatively'.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog31
1 files changed, 26 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c168a7133eb..98589b69cfb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,29 @@
12011-03-31 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (SCROLL_LIMIT): New macro.
4 (try_scrolling): Use it when setting scroll_limit. Limit
5 scrolling to 100 screen lines.
6 (redisplay_window): Even when falling back on "recentering",
7 position point in the window according to scroll-conservatively,
8 scroll-margin, and scroll-*-aggressively variables. (Bug#6671)
9
10 (try_scrolling): When point is above the window, allow searching
11 as far as scroll_max, or one screenful, to compute vertical
12 distance from PT to the scroll margin position. This prevents
13 try_scrolling from unnecessarily failing when
14 scroll-conservatively is set to a value slightly larger than the
15 window height. Clean up the case of PT below the margin at bottom
16 of window: scroll_max can no longer be INT_MAX. When aggressive
17 scrolling is in use, don't let point enter the opposite scroll
18 margin as result of the scroll.
19 (syms_of_xdisp) <scroll-conservatively>: Document the
20 threshold of 100 lines for never-recentering scrolling.
21
222011-03-26 Eli Zaretskii <eliz@gnu.org>
23
24 * xdisp.c (redisplay_window): Don't check buffer's clip_changed
25 flag as a prerequisite for invoking try_scrolling. (Bug#6671)
26
12011-03-31 Juanma Barranquero <lekktu@gmail.com> 272011-03-31 Juanma Barranquero <lekktu@gmail.com>
2 28
3 * dispextern.h (move_it_by_lines): 29 * dispextern.h (move_it_by_lines):
@@ -184,11 +210,6 @@
184 * s/usg5-4-common.h (SIGTYPE): Remove definition. 210 * s/usg5-4-common.h (SIGTYPE): Remove definition.
185 * s/template.h (SIGTYPE): Remove commented out definition. 211 * s/template.h (SIGTYPE): Remove commented out definition.
186 212
1872011-03-26 Eli Zaretskii <eliz@gnu.org>
188
189 * xdisp.c (redisplay_window): Don't check buffer's clip_changed
190 flag as a prerequisite for invoking try_scrolling. (Bug#6671)
191
1922011-03-26 Juanma Barranquero <lekktu@gmail.com> 2132011-03-26 Juanma Barranquero <lekktu@gmail.com>
193 214
194 * w32.c (read_unc_volume): Use parameter `henum', instead of 215 * w32.c (read_unc_volume): Use parameter `henum', instead of