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

does not work for narrowed buffers #23

Open
edgimar opened this issue Feb 6, 2023 · 3 comments
Open

does not work for narrowed buffers #23

edgimar opened this issue Feb 6, 2023 · 3 comments

Comments

@edgimar
Copy link

edgimar commented Feb 6, 2023

When a buffer is narrowed to a region that doesn't include the first line, then it is not possible to scroll the narrowed region down from the top of the buffer.

To Reproduce

  1. open a document
  2. highlight a region of the document not including the first line
  3. execute M-x narrow-to-region
  4. try to scroll down from the top -- not possible.

Emacs version

GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13.

@trevorpogue
Copy link
Owner

Thanks for pointing this out! I found a fix for this, if you are eager to use it then clone the narrow-to-region branch. I will try to add it to the main branch soon.

@edgimar
Copy link
Author

edgimar commented Nov 6, 2023

any chance this could get added to main sometime? Thanks!

@someonewithpc
Copy link

someonewithpc commented Sep 25, 2024

@trevorpogue That branch looks great! Could you merge it and make a new release?

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

3 participants