GNU bug report logs - #63201
`scroll-margin' sometimes doesn't work

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Mon, 1 May 2023 10:51:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63201: closed (`scroll-margin' sometimes doesn't work)
Date: Fri, 05 May 2023 05:48:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 05 May 2023 08:48:31 +0300
with message-id <83fs8bjplc.fsf <at> 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 <at> gnu.org.)


-- 
63201: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63201
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shynur Xie <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
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


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: one.last.kiss <at> outlook.com
Cc: 63201-done <at> debbugs.gnu.org
Subject: Re: bug#63201: `scroll-margin' sometimes doesn't work
Date: Fri, 05 May 2023 08:48:31 +0300
> Cc: 63201 <at> debbugs.gnu.org
> Date: Mon, 01 May 2023 15:28:55 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Shynur Xie <one.last.kiss <at> 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.


This bug report was last modified 2 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.