Mercurial > emacs
comparison lispref/display.texi @ 71745:5df595f18fa2
(Truncation): Clean up previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 09 Jul 2006 18:57:59 +0000 |
parents | cd88ff0d05f5 |
children | 54307c14de15 |
comparison
equal
deleted
inserted
replaced
71744:c99740f338f8 | 71745:5df595f18fa2 |
---|---|
123 @cindex line wrapping | 123 @cindex line wrapping |
124 @cindex continuation lines | 124 @cindex continuation lines |
125 @cindex @samp{$} in display | 125 @cindex @samp{$} in display |
126 @cindex @samp{\} in display | 126 @cindex @samp{\} in display |
127 | 127 |
128 When a line of text extends beyond the right edge of a window, the | 128 When a line of text extends beyond the right edge of a window, Emacs |
129 line can either be continued on the next screen line, or truncated to | 129 can @dfn{continue} the line (make it ``wrap'' to the next screen |
130 one screen line. The additional screen lines used to display a long | 130 line), or @dfn{truncate} the line (limit it to one screen line). The |
131 text line are called @dfn{continuation} lines. Normally, tiny arrow images | 131 additional screen lines used to display a long text line are called |
132 are displayed in the window fringes to indicate truncated and continued | 132 @dfn{continuation} lines. Continuation is not the same as filling; |
133 lines (*note Fringes). | 133 continuation happens on the screen only, not in the buffer contents, |
134 | 134 and it breaks a line precisely at the right margin, not at a word |
135 On a text terminal, a `$' in the rightmost column of the window | 135 boundary. @xref{Filling}. |
136 indicates truncation; a `\' on the rightmost column indicates a | 136 |
137 continued line that "wraps" onto the next line. (The display table can | 137 On a graphical display, tiny arrow images in the window fringes |
138 specify alternative indicators; see *Note Display Tables.) | 138 indicate truncated and continued lines (@pxref{Fringes}). On a text |
139 | 139 terminal, a @samp{$} in the rightmost column of the window indicates |
140 On a graphical display, the @samp{$} and @samp{\} indicators are | 140 truncation; a @samp{\} on the rightmost column indicates a line that |
141 replaced with arrow images displayed in the window fringes | 141 ``wraps''. (The display table can specify alternate characters to use |
142 (@pxref{Fringes}). | 142 for this; @pxref{Display Tables}). |
143 | |
144 Note that continuation is different from filling; continuation happens | |
145 on the screen only, not in the buffer contents, and it breaks a line | |
146 precisely at the right margin, not at a word boundary. @xref{Filling}. | |
147 | 143 |
148 @defopt truncate-lines | 144 @defopt truncate-lines |
149 This buffer-local variable controls how Emacs displays lines that extend | 145 This buffer-local variable controls how Emacs displays lines that extend |
150 beyond the right edge of the window. The default is @code{nil}, which | 146 beyond the right edge of the window. The default is @code{nil}, which |
151 specifies continuation. If the value is non-@code{nil}, then these | 147 specifies continuation. If the value is non-@code{nil}, then these |