GNU Emacs Lisp Reference Manual
When a line of text extends beyond the right edge of a window, the
line can either be continued on the next screen line, or truncated to
one screen line. The additional screen lines used to display a long
text line are called continuation lines. Normally, a $ in
the rightmost column of the window indicates truncation; a \ on
the rightmost column indicates a line that ``wraps'' or is continued
onto the next line. (The display table can specify alternative
indicators; see Display Tables.)
Note that continuation is different from filling; continuation happens on the screen only, not in the buffer contents, and it breaks a line precisely at the right margin, not at a word boundary. See Filling.
nil, which
specifies continuation. If the value is non-nil, then these
lines are truncated.
If the variable truncate-partial-width-windows is non-nil,
then truncation is always used for side-by-side windows (within one
frame) regardless of the value of truncate-lines.
truncate-lines, for
buffers that do not have local values for it.
nil, these lines are truncated; otherwise,
truncate-lines says what to do with them.
You can override the images that indicate continuation or truncation with the display table; see Display Tables.
If your buffer contains very long lines, and you use
continuation to display them, just thinking about them can make Emacs
redisplay slow. The column computation and indentation functions also
become slow. Then you might find it advisable to set
cache-long-line-scans to t.
nil, various indentation and motion
functions, and Emacs redisplay, cache the results of scanning the
buffer, and consult the cache to avoid rescanning regions of the buffer
unless they are modified.
Turning on the cache slows down processing of short lines somewhat.
This variable is automatically local in every buffer.