GNU bug report logs - #62530
[PATCH] Fix the case that scroll-conservatively is overridden by scroll-step

Previous Next

Package: emacs;

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

Date: Wed, 29 Mar 2023 17:53:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62530 in the body.
You can then email your comments to 62530 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#62530; Package emacs. (Wed, 29 Mar 2023 17:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xie Shynur <one.last.kiss <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Mar 2023 17:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xie Shynur <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Fix the case that scroll-conservatively is overridden by
 scroll-step
Date: Wed, 29 Mar 2023 17:47:44 +0000
[Message part 1 (text/plain, inline)]
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.
[0001-scroll-conservatively-is-overriden-by-scroll-step.patch (application/octet-stream, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 30 Mar 2023 06:46:01 GMT) Full text and rfc822 format available.

Notification sent to Xie Shynur <one.last.kiss <at> outlook.com>:
bug acknowledged by developer. (Thu, 30 Mar 2023 06:46:02 GMT) Full text and rfc822 format available.

Message #10 received at 62530-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xie Shynur <one.last.kiss <at> outlook.com>
Cc: 62530-done <at> debbugs.gnu.org
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 <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Apr 2023 11:24:07 GMT) Full text and rfc822 format available.

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

Previous Next


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