* Kim F. Storm (2005-07-05) writes: > I would be VERY surprised if M-0 M-r suddenly started to scroll the > window.
What do you mean with "started"? Emacs 21 already behaves like this in case `scroll-margin' has a non-zero value. The description of `scroll-margin' in the Elisp manual also mentions this behavior, see (info "(elisp)Textual Scrolling"). > Since move-to-window-line moves _point_ in the current window _without_ > scrolling, I don't understand why it would ever consider scroll-margin. > > But of course, the strict interpretation of scroll-margin's doc string > says that point may never occur in these margins. I think that is too > restrictive. It can be too restrictive if, for example, one wants to calculate an amount of screen lines with code like (count-screen-lines (save-excursion (move-to-window-line 0) (point)) (point)) I don't know if the redisplay code is able to force point out of the margin during its execution, though. -- Ralf _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
