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

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

bug#63201: closed (`scroll-margin' sometimes doesn't work)


From: GNU bug Tracking System
Subject: bug#63201: closed (`scroll-margin' sometimes doesn't work)
Date: Fri, 05 May 2023 05:48:01 +0000

Your message dated Fri, 05 May 2023 08:48:31 +0300
with message-id <83fs8bjplc.fsf@gnu.org>
and subject line Re: bug#63201: `scroll-margin' sometimes doesn't work
has caused the debbugs.gnu.org bug report #63201,
regarding `scroll-margin' sometimes doesn't work
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
63201: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63201
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: `scroll-margin' sometimes doesn't work Date: Mon, 1 May 2023 10:45:11 +0000
`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



--- End Message ---
--- Begin Message --- Subject: Re: bug#63201: `scroll-margin' sometimes doesn't work Date: Fri, 05 May 2023 08:48:31 +0300
> 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.


--- End Message ---

reply via email to

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