emacs-oob-reboot icon indicating copy to clipboard operation
emacs-oob-reboot copied to clipboard

added scrolling

Open mguzmann opened this issue 7 years ago • 13 comments

A more intuitive scrolling default with only half scrolling.

mguzmann avatar May 06 '17 16:05 mguzmann

Why not customize next-screen-context-lines instead?

angrybacon avatar May 07 '17 20:05 angrybacon

I agree with @angrybacon. Seeing the defun-statements here kind of gives me the wrong vibes...

josteink avatar May 08 '17 06:05 josteink

I also agree that this is more of a custom setting that someone would prefer, rather than an OOB default.

dchrzanowski avatar May 08 '17 08:05 dchrzanowski

Besides the poor implementation, do you guys really like the full scrolling? that was the worst part of default emacs for me. But oh well.

mguzmann avatar May 08 '17 10:05 mguzmann

I would use it all the time if there was some sort of animated scrolling. It's really hard to keep track of the context, even with a higher value for the variable I mentioned earlier.

It's still in my todo to be perfected but one use I have of it is to scroll the preview of the candidates in a Helm session and when using isearch.

angrybacon avatar May 08 '17 10:05 angrybacon

@mguzmann I don't like full scrolling I use half window as well, I use that via evil-mode's 'evil-scroll-up nil' and 'evil-scroll-down nil'. I still think that this is something more individual than global. (aren't most of users using the mouse wheel anyway?)

dchrzanowski avatar May 08 '17 10:05 dchrzanowski

@Grimscythe1983 New users are at least.

angrybacon avatar May 08 '17 10:05 angrybacon

@angrybacon indeed, indeed

dchrzanowski avatar May 08 '17 10:05 dchrzanowski

The question what the expected default behavior should be. I don't think any new user expects full scrolling by default.

mguzmann avatar May 08 '17 11:05 mguzmann

Besides the poor implementation, do you guys really like the full scrolling? that was the worst part of default emacs for me. But oh well.

I must admit I do find it confusing (even as a seasoned Emacs-user), and I seriously doubt I'm alone in that.

As I understand it, the main criticism in this thread has not been about the intent, but the implementation. Or did I misunderstand anything?

josteink avatar May 08 '17 11:05 josteink

@mguzmann I presume that you have taken your code from here . Looking at the wiki it does seem like the most sane solution without any external packages (next-screen-context-lines is height of window dependent, so you'll need a defun anyway).... In that case I suggest a merge.

dchrzanowski avatar May 08 '17 11:05 dchrzanowski

@Grimscythe1983 yes, I took it from there.

mguzmann avatar May 08 '17 11:05 mguzmann

@mguzmann Well, I can't test what Page Down and Page Up do with less or more but if they behave like Space, they scroll full page don't they? After all the key itself conveys full page scroll.

angrybacon avatar May 08 '17 14:05 angrybacon

I think recent changes to Emacs (eglot, tree-sitter, etc) has helped make Emacs much more usable OOB. Considering repo-purpose obsolete.

Closing all issues and archiving repo. Thanks to all contributors!

josteink avatar Oct 11 '23 07:10 josteink