Next: Optional Display Prev: Horizontal Scrolling Up: Display
Emacs has the ability to hide lines indented more than a certain
number of columns (you specify how many columns). You can use this to
get an overview of a part of a program.
To hide lines, type `C-x $' (`set-selective-display') with a numeric
argument N. Then lines with at least N columns of indentation
disappear from the screen. The only indication of their presence is
that three dots (`...') appear at the end of each visible line that is
followed by one or more invisible ones.
The commands `C-n' and `C-p' move across the invisible lines as if
they were not there.
The invisible lines are still present in the buffer, and most editing
commands see them as usual, so you may find point in the middle of
invisible text. When this happens, the cursor appears at the end of the
previous line, after the three dots. If point is at the end of the
visible line, before the newline that ends it, the cursor appears before
the three dots.
To make everything visible again, type `C-x $' with no argument.
automatically generated by info2www