EoghanM
EoghanM

Reputation: 27013

Emacs: same buffer, two windows, one narrowed, one not

I find the narrow-to-region command useful, however it applies to the buffer and not to the current window.

I'd like to have one window display a narrowed version of the buffer, while the buffer is displayed widened if it occurs in any other window.

Is this possible?

Upvotes: 42

Views: 1170

Answers (1)

huaiyuan
huaiyuan

Reputation: 26549

Try M-x clone-indirect-buffer or C-x 4 c. For details, see Indirect Buffers.

Upvotes: 45

Related Questions