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

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

bug#62530: closed ([PATCH] Fix the case that scroll-conservatively is ov


From: GNU bug Tracking System
Subject: bug#62530: closed ([PATCH] Fix the case that scroll-conservatively is overridden by scroll-step)
Date: Thu, 30 Mar 2023 06:46:01 +0000

Your message dated Thu, 30 Mar 2023 09:45:53 +0300
with message-id <83pm8q68ke.fsf@gnu.org>
and subject line Re: bug#62530: [PATCH] Fix the case that scroll-conservatively 
is overridden by scroll-step
has caused the debbugs.gnu.org bug report #62530,
regarding [PATCH] Fix the case that scroll-conservatively is overridden by 
scroll-step
to be marked as done.

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


-- 
62530: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62530
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step Date: Wed, 29 Mar 2023 17:47:44 +0000
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.

Attachment: 0001-scroll-conservatively-is-overriden-by-scroll-step.patch
Description: 0001-scroll-conservatively-is-overriden-by-scroll-step.patch


--- End Message ---
--- Begin Message --- Subject: Re: bug#62530: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step Date: Thu, 30 Mar 2023 09:45:53 +0300
> From: Xie Shynur <one.last.kiss@outlook.com>
> 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.


--- End Message ---

reply via email to

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