comparison man/building.texi @ 67041:4cce2bac0f79

(Compilation Mode): Remove paragraph duplicated from the node `Compilation'. Add `compilation-skip-threshold'.
author Juri Linkov <juri@jurta.org>
date Sun, 20 Nov 2005 07:55:58 +0000
parents 9600fc8cfb65
children 9a9cddf82cc4
comparison
equal deleted inserted replaced
67040:4c99ea8adc42 67041:4cce2bac0f79
150 @cindex Compilation mode 150 @cindex Compilation mode
151 @cindex mode, Compilation 151 @cindex mode, Compilation
152 The @samp{*compilation*} buffer uses a special major mode, Compilation 152 The @samp{*compilation*} buffer uses a special major mode, Compilation
153 mode, whose main feature is to provide a convenient way to look at the 153 mode, whose main feature is to provide a convenient way to look at the
154 source line where the error happened. 154 source line where the error happened.
155
156 If you set the variable @code{compilation-scroll-output} to a
157 non-@code{nil} value, then the compilation buffer always scrolls to
158 follow output as it comes in.
159 155
160 @table @kbd 156 @table @kbd
161 @item M-g M-n 157 @item M-g M-n
162 @itemx M-g n 158 @itemx M-g n
163 @itemx C-x ` 159 @itemx C-x `
213 message with @key{RET} or @kbd{Mouse-2}, subsequent @kbd{C-x `} 209 message with @key{RET} or @kbd{Mouse-2}, subsequent @kbd{C-x `}
214 commands advance from there. When @kbd{C-x `} gets to the end of the 210 commands advance from there. When @kbd{C-x `} gets to the end of the
215 buffer and finds no more error messages to visit, it fails and signals 211 buffer and finds no more error messages to visit, it fails and signals
216 an Emacs error. 212 an Emacs error.
217 213
214 @vindex compilation-skip-threshold
215 By default, @kbd{C-x `} skips less important messages. The variable
216 @code{compilation-skip-threshold} controls this. If its value is 2,
217 @kbd{C-x `} skips anything less than error, 1 skips anything less
218 than warning, and 0 doesn't skip any messages.
219
218 When the left fringe is displayed, an arrow points to the 220 When the left fringe is displayed, an arrow points to the
219 current message in the compilation buffer. The variable 221 current message in the compilation buffer. The variable
220 @code{compilation-context-lines} controls the number of lines of 222 @code{compilation-context-lines} controls the number of lines of
221 leading context in the window before the current message. If it is 223 leading context in the window before the current message. If it is
222 @code{nil} and the left fringe is displayed, the window doesn't 224 @code{nil} and the left fringe is displayed, the window doesn't