"Richard M. Stallman" <[EMAIL PROTECTED]> writes:

>     I would be VERY surprised if M-0 M-r suddenly started to scroll the
>     window.
>
>     Since move-to-window-line moves _point_ in the current window _without_
>     scrolling, I don't understand why it would ever consider scroll-margin.

I was wrong -- in fact, M-0 M-r should scroll if scroll-margin is > 0.

>
> If move-to-window-line does not consider the scroll-margin,
> M-0 M-r will put point on the text that is in line 0.
> Then the subsequent redisplay will scroll the screen because
> point should not be there.

Which is ok IMO.

>
> I was thinking of avoiding that result by making move-to-window-line
> put point on line 1 in that case.  More generally, it would not put
> point inside the scroll margin.

I think that is a very bad idea ... in fact it seems like an endless
source of errors...

People who set scroll-margin > 0 just have to avoid M-0 M-r

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to