aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-11-17 01:38:47 +0000
committerChong Yidong2008-11-17 01:38:47 +0000
commit07799e9ae1d2763bb9c7dfc8736fbf1a9aa347bf (patch)
tree87788bdb9f3560888890ba2e5c5a3ffbc202f8f1
parentb0570c253a8e5150b869b6eea898570c8a108b95 (diff)
downloademacs-07799e9ae1d2763bb9c7dfc8736fbf1a9aa347bf.tar.gz
emacs-07799e9ae1d2763bb9c7dfc8736fbf1a9aa347bf.zip
(Compilation): Document first-error value of compilation-scroll-output.
(Compilation Mode): Note that compilation-auto-jump-to-first-error works as soon as an error is available. Suggested by Juri Linkov.
-rw-r--r--doc/emacs/building.texi13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 8b6bfd84c78..f69c6a62823 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -92,9 +92,12 @@ the end of the buffer.
92 92
93@cindex compilation buffer, keeping point at end 93@cindex compilation buffer, keeping point at end
94@vindex compilation-scroll-output 94@vindex compilation-scroll-output
95 If you set the variable @code{compilation-scroll-output} to a 95 If you change the variable @code{compilation-scroll-output} to a
96non-@code{nil} value, then the compilation buffer always scrolls to 96non-@code{nil} value, the compilation buffer will scroll automatically
97follow output as it comes in. 97to follow the output as it comes in. If the value is
98@code{first-error}, the scrolling stops at the first error that
99appears, leaving point at that error. For any other non-@code{nil}
100value, the buffer continues scrolling until there is no more output.
98 101
99@findex recompile 102@findex recompile
100 To rerun the last compilation with the same command, type @kbd{M-x 103 To rerun the last compilation with the same command, type @kbd{M-x
@@ -201,8 +204,8 @@ typing @key{RET} (@code{compile-goto-error}). Alternatively, you can
201click @kbd{Mouse-2} on the error message; you need not switch to the 204click @kbd{Mouse-2} on the error message; you need not switch to the
202@samp{*compilation*} buffer first. If you set the variable 205@samp{*compilation*} buffer first. If you set the variable
203@code{compilation-auto-jump-to-first-error} to a non-@code{nil} value, 206@code{compilation-auto-jump-to-first-error} to a non-@code{nil} value,
204Emacs automatically jumps to the first error (if any exists) once 207Emacs automatically jumps to the first error, if any, as soon as it
205compilation finishes. 208appears in the @samp{*compilation*} buffer.
206 209
207@kindex M-g M-n 210@kindex M-g M-n
208@kindex M-g n 211@kindex M-g n