all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63201: `scroll-margin' sometimes doesn't work
@ 2023-05-01 10:45 Shynur Xie
  2023-05-01 12:28 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Shynur Xie @ 2023-05-01 10:45 UTC (permalink / raw)
  To: 63201

`scroll-margin' sometimes doesn't work

1. emacs -Q
2. In buffer *scratch*, C-x C-e:
    (progn
      (custom-set-variables
       '(custom-enabled-themes '(modus-vivendi))
       '(global-tab-line-mode t)
       '(scroll-margin 1)
       '(scroll-conservatively 101))
      (info-emacs-manual)
      (end-of-buffer)
      (goto-line 500))
3. With the cursor now at the 2nd line from the top of the window,
   press <up>-arrow-key several times and pay attention to resulting
   cursor position -- `scroll-margin' is 1 but Emacs still sometimes
   allows the cursor to stay at the 1st line of the window.

I uploaded a GIF at <https://emacs.stackexchange.com/questions/76649>
to show this behavior.

--
shynur





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-05  5:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-01 10:45 bug#63201: `scroll-margin' sometimes doesn't work Shynur Xie
2023-05-01 12:28 ` Eli Zaretskii
2023-05-05  5:48   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.