Possible Duplicate:
Emacs: same buffer, two windows, one narrowed, one not
I'd like to leverage the narrow-to-region function of emacs twice in the same file. I have the file open in two windows, but when I narrow-to-region, both windows render the narrowed region. I'd like to be able to control the narrowing independently in each region. Does anyone know how to do this?
The concept that allows that in Emacs is the indirect-buffer.
C-x 4 c
Which runs clone-indirect-buffer-other-window
, and narrowing in one buffer doesn't affect the other. Read the documentation for indirect-buffer for more information if you need any.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With