emacs-evil / emacs-evil/evil

scroll-step is not respected in normal mode when scroll-margin is set

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
bug major
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: **Hong (Bitbucket: [xuhdev](https://bitbucket.org/xuhdev), GitHub: [xuhdev](https://github.com/xuhdev))**

----------------------------------------

The value of scroll-step is not respected in normal mode when scroll-margin is set. When I scroll out, the cursor is automatically centered. However, this is not reproduceable every time, but happened frequently.

My value of scroll-step is 1 and scroll-margin is 2.

----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/405

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reproducing normal-mode scrolling with scroll-step set to 1 and scroll-margin set to 2, then verify that scrolling out no longer centers the cursor unexpectedly and that the configured step is respected.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.