Tagged Questions
3
votes
3answers
392 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
133 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 ...
8
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
86 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 ...