[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to get back to a place in a buffer, or: what is a window configu
From: |
Drew Adams |
Subject: |
RE: How to get back to a place in a buffer, or: what is a window configuration? |
Date: |
Wed, 3 Aug 2016 15:06:58 -0700 (PDT) |
> > sometimes I work on a particular place in some buffer, and Emacs for
> > some reason scrolls me out of that place.
>
> I used to have the problem. I found it was caused by using
> auto-revert-mode. It was either applying auto-revert-mode to dired
> buffers or applying it to buffer lists that caused the problem, I can't
> remember which. Try disabling those and see if it fixes it.
Reverting a Dired buffer centers the line that was current, and puts
the cursor at the beginning of the file name on that line. This happens
regardless of how you revert (using `g' or using `auto-rever-mode').
For buffer reverting, you have `after-revert-hook' (and `before...'),
which you could no doubt use to counteract any such window and point
movement.
- How to get back to a place in a buffer, or: what is a window configuration?, Marcin Borkowski, 2016/08/03
- Re: How to get back to a place in a buffer, or: what is a window configuration?, Kaushal Modi, 2016/08/03
- RE: How to get back to a place in a buffer, or: what is a window configuration?, Drew Adams, 2016/08/03
- Re: How to get back to a place in a buffer, or: what is a window configuration?, Robert Thorpe, 2016/08/03
- RE: How to get back to a place in a buffer, or: what is a window configuration?,
Drew Adams <=