Questions tagged [narrowing]

Questions related to narrowing (restricting) the editable area of a buffer.

Narrowing a buffer temporarily focuses editing on a portion of the content.

Emacs provides the narrow-to-region command (and several related commands) for setting the buffer restriction. These commands temporarily make content outside of the specified region inaccessible and hidden. The restriction can be removed using widen.

38 questions
2
votes
0 answers

Restoring position in window after narrowing

C-x n w (widen) does not restore the position of a formerly narrowed region in relation to the window, as it was before calling C-x n n (narrow-to-region). Is it possible to have such behaviour? EDIT: The effect should be as if C-x n n and C-x n w…
Eleno
  • 1,448
  • 11
  • 17
0
votes
1 answer

How narrow from cursor to end of buffer?

M-x narrow-to-region - Narrow down to between point and mark But I need to narrow from cursor position to end of buffer. Is it possible?
a_subscriber
  • 4,062
  • 1
  • 18
  • 56