Scrolling

No Bell For Me

No Bell For Me

James Dyer
Now I have set (pixel-scroll-precision-mode 1) which comes with emacs 29 this has led to an unexpected issue in that I now often get the following messages which cause a bell sound to be generated each time: pixel-scroll-precision-scroll-up-page: Beginning of buffer [22 times] pixel-scroll-precision-scroll-down-page: End of buffer [54 times] I had turned to (setq visible-bell t) in the past but this generates an annoying flash each time rather than an annoying bell sound.
Simple Flexible Scrolling

Simple Flexible Scrolling

James Dyer
I have written before about smooth scrolling using good-scroll and how I managed to find a semi satisfactory way of centering my cursor after a single scroll which meant I would then have a minimal amount of subsequent line movement to get to the line I want. However, I have since returned to a simple concept, more of a basic scroll-[up/down]-command which in its bare form scrolls a whole page.
Centering the Cursor After a Scroll

Centering the Cursor After a Scroll

James Dyer
Something has been nagging at me for a while now, I seem to spend a lot of time moving the cursor to the next or previous line within a window, spamming C-n and C-p to get where I want to within a file. Why is this? Well I am scrolling quite often using C-v and M-v and this has a side effect on the cursor by pushing it to the top or bottom of the window.