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: Eli Zaretskii <eliz <at> gnu.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>
Cc: 63201 <at> debbugs.gnu.org
Subject: bug#63201: `scroll-margin' sometimes doesn't work
Date: Mon, 01 May 2023 15:28:55 +0300
> 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.




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.