* 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
* bug#63201: `scroll-margin' sometimes doesn't work
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
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-05-01 12:28 UTC (permalink / raw
To: Shynur Xie; +Cc: 63201
> From: Shynur Xie <one.last.kiss@outlook.com>
> Date: Mon, 1 May 2023 10:45:11 +0000
> msip_labels:
>
> `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.
Thanks, should be fixed now on the emacs-29 branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#63201: `scroll-margin' sometimes doesn't work
2023-05-01 12:28 ` Eli Zaretskii
@ 2023-05-05 5:48 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2023-05-05 5:48 UTC (permalink / raw
To: one.last.kiss; +Cc: 63201-done
> Cc: 63201@debbugs.gnu.org
> Date: Mon, 01 May 2023 15:28:55 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > From: Shynur Xie <one.last.kiss@outlook.com>
> > Date: Mon, 1 May 2023 10:45:11 +0000
> > msip_labels:
> >
> > `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.
>
> Thanks, should be fixed now on the emacs-29 branch.
No further comments, so I assume the bug is indeed fixed, and I'm
closing it.
^ 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.