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

>     Besides GDB another easy to use testcase is ielm.  Type `M-x ielm RET'
>     and press <RET> until the prompt reaches the bottom of the window.
>     When this happens point will be placed in the middle of the screen.
>
> This problem does not happen for me after my last change.  However, I
> think that is be a bug.  If (recenter -1) puts point inside the scroll
> margins, the scroll margin code must be broken.
>
> I will fix it to put point just within the specified margin.
>
> I could do this for move-to-window-line also, and I wrote the code to
> do that, but it might be incorrect to install it.  move-to-window-line
> is supposed to move point to the text now on a certain line, and if it
> moves point to some other place, that feels like a bug to me.  So the
> programs that are calling move-to-window-line probably should take
> account of scroll-margin's value in some way.

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.

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.

-- 
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