Search code examples
emacselispnarrowing

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?


Solution

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