emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with non-zero scroll-margin


From: Richard M. Stallman
Subject: Re: Problems with non-zero scroll-margin
Date: Tue, 05 Jul 2005 00:35:34 -0400

    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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]