(emacs)Continuation Lines


Next: Position Info Prev: Blank Lines Up: Basic

Continuation Lines
==================

   If you add too many characters to one line without breaking it with
RET, the line will grow to occupy two (or more) lines on the screen,
with a `\' at the extreme right margin of all but the last of them.
The `\' says that the following screen line is not really a distinct
line in the text, but just the "continuation" of a line too long to fit
the screen.  Continuation is also called "line wrapping".

   Sometimes it is nice to have Emacs insert newlines automatically when
a line gets too long.  Continuation on the screen does not do that.  Use
Auto Fill mode (Note: Filling.) if that's what you want.

   Instead of continuation, you can display long lines by "truncation".
This means that all the characters that do not fit in the width of the
screen or window do not appear at all.  They remain in the buffer,
temporarily invisible.  `$' is used in the last column instead of `\'
to inform you that truncation is in effect.

   You can turn off continuation for a particular buffer by setting the
variable `truncate-lines' to non-`nil' in that buffer.  (*Note
Variables::.)  Truncation instead of continuation also happens whenever
horizontal scrolling is in use, and optionally whenever side-by-side
windows are in use (Note: Windows.).  Altering the value of
`truncate-lines' makes it local to the current buffer; until that time,
the default value is in effect.  The default is initially `nil'.  *Note
Locals::.

   Note: Display Vars, for additional variables that affect how text
is displayed.


automatically generated by info2www