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.
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug