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: Sat, 02 Jul 2005 08:32:43 -0400

    at least broke scrolling of articles with <RET> in Gnus and makes
    using GDB in Emacs (gud-mode) very inconvenient if the value of
    `scroll-margin' is non-zero.

I don't use GNUS and I cannot test it.  The crucial question is,
is Emacs redisplay behaving incorrectly, or is Gnus using it wrong?

    (progn
      (setq scroll-margin 1)
      (pop-to-buffer (get-buffer-create "*test*"))
      (dotimes (i 100) (insert (number-to-string i) "\n"))
      (goto-char (point-min))
      (scroll-up 1)
      (move-to-window-line 0))

    You should see that point will not be placed on the first window line
    but in the middle of the window.

That's exactly what the scroll margin is supposed to do: not let point
end up in the specified margin.  So I don't think there is a bug.




reply via email to

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