Subject: bug#62530: closed (Re: bug#62530: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Mar 2023 06:46:02 +0000

Your bug report

#62530: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62530: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62530
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#62530: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step
From: Eli Zaretskii <[email-masked]>
To: Xie Shynur <[email-masked]>
Cc: [email-masked]
Date: Thu, 30 Mar 2023 09:45:53 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Xie Shynur <[email-masked]>
> Date: Wed, 29 Mar 2023 17:47:44 +0000
> msip_labels: 
> 
> GNU Emacs Manual, 14.3 Automatic Scrolling:
> 
> > In case you customize multiple variables, the order of priority is: `scroll-conservatively`, then `scroll-step`, ...
> 
> It works for `next-line`, BUT ignores `previous-line`.
> 
> _____________________________________
> 
> Say evaluate the following Lisp code:
> 
> ```
> (setq scroll-conservatively 101)
> (setq scroll-step 5)
> ```
> 
> Then, when calling `previous-line` which will lead to auto-scrolling,
> it acts like that `scroll-conservatively` is not set,
> i.e., Emacs will scroll 5 lines.
> 
> This PATCH fixes the BUG.

Thanks, installed on the emacs-29 branch, and closing the bug.

Subject: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step
From: Xie Shynur <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Wed, 29 Mar 2023 17:47:44 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

GNU Emacs Manual, 14.3 Automatic Scrolling:

> In case you customize multiple variables, the order of priority is: `scroll-conservatively`, then `scroll-step`, ...

It works for `next-line`, BUT ignores `previous-line`.

_____________________________________

Say evaluate the following Lisp code:

```
(setq scroll-conservatively 101)
(setq scroll-step 5)
```

Then, when calling `previous-line` which will lead to auto-scrolling,
it acts like that `scroll-conservatively` is not set,
i.e., Emacs will scroll 5 lines.

This PATCH fixes the BUG.