I split windows to view two different parts of the selected buffer simultaneously. If I switch to another buffer in one of the windows and then switch back to the original buffer, I'll lose the previous window position---I'll see the same parts of the selected buffer in both windows. How can I restore window positions amongst buffer switches?
Asked
Active
Viewed 335 times
1 Answers
5
I think if you use clone-indirect-buffer-other-window
(bound to C-x 4 c by default) to obtain the two windows, the window positions will be preserved independently. See Indirect Buffers.

huaiyuan
- 26,129
- 5
- 57
- 63
-
That's exactly what I was looking for. Thanks. I've been using Emacs for several years now, but didn't know about this feature. – viam0Zah Aug 18 '10 at 13:59