3
votes
1answer
30 views

allow scrolling before/after ends of document

Emacs stops you from scrolling past the end of a document; i.e., it doesn't allow you to lift the last line up to the top of the visible buffer, or vice versa with the starting line. Sometimes this is ...
5
votes
1answer
166 views

How can I make Emacs scroll horizontally more smoothly?

I already use scroll-conservatively to smooth the vertical scrolling behaviour of Emacs. The horizontal scrolling is still pretty bad. The screen jumps by many columns, and I often lose track of where ...
4
votes
3answers
2k views

Don't change the cursor position when scrolling in Emacs

Is there a way to stop Emacs from automatically moving my text-cursor position (aka, point) while I'm scrolling? I keep losing my location and marks with this annoying behavior. I tested the ...
3
votes
1answer
148 views

How to scroll the diff buffer easily in Emacs while point is on the minibuffer

In Emacs, after a lot of editing, I press C-x s (save-some-buffers), then Emacs asks "Save file ...? (y,n,.... d ...)" for each file, I sometimes answer d (diff) to see the changes, but then it's not ...
9
votes
4answers
2k views

emacs: How to return to last position after scroll/page up/down?

After issuing scroll-up or scroll-down in emacs, is there a quick way to return the point to its previous position (assuming I didn't remember to add it to the mark ring)? Alternatively is there any ...
2
votes
1answer
136 views

Emacs: how to trigger scroll when cursor is n-lines from top/bottom of screen?

I'd like to trigger a scroll in emacs when my cursor gets within 4 lines from the top or bottom of the terminal. My .vimrc file contains this line: :set scrolloff=4 What do I add to .emacs to ...