1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
emacs/doc
Eli Zaretskii 63696a737c 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'.
2011-03-31 21:12:30 +02:00
..
emacs Documentation parts of the scroll fix. 2011-03-30 22:59:42 +02:00
lispintro Revert 2010-05-25T15:54:53Z!juri@jurta.org; regenerate release logs. 2011-03-07 00:20:23 -05:00
lispref Don't reset post-command-hook to nil upon error. 2011-03-28 16:26:35 -04:00
man Bump version to 23.3.50 2011-03-11 12:17:33 -05:00
misc Merge Gnus' changes. 2011-03-30 14:59:42 +00:00