Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Minimize interaction with newly opened windows #26

Open
diamond-lizard opened this issue Sep 7, 2017 · 0 comments
Open

Comments

@diamond-lizard
Copy link

When a new window opens near the side of the window that point is near, and point happens to be within the smooth-scroll-margin (as a result of an ace-jump, for example), then smooth-scroll.el will scroll the buffer so that point is outside the smooth-scroll-margin. I find this behavior disorienting.

I would prefer that under the above conditions, smooth-scroll.el leaves point the same number of lines from the side of the window that the hydra window opened at.

For example, if point happens to be on the 2nd line from the bottom of the current window and a hydra window opens below the current window, I'd like smooth-scroll.el to keep point on the same line in the buffer, keep it visible, and keep it on the 2nd line from the bottom of the current window.

This desired behavior could be made optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant