diff options
| author | Chong Yidong | 2008-11-17 01:38:47 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-11-17 01:38:47 +0000 |
| commit | 07799e9ae1d2763bb9c7dfc8736fbf1a9aa347bf (patch) | |
| tree | 87788bdb9f3560888890ba2e5c5a3ffbc202f8f1 | |
| parent | b0570c253a8e5150b869b6eea898570c8a108b95 (diff) | |
| download | emacs-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.texi | 13 |
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 |
| 96 | non-@code{nil} value, then the compilation buffer always scrolls to | 96 | non-@code{nil} value, the compilation buffer will scroll automatically |
| 97 | follow output as it comes in. | 97 | to follow the output as it comes in. If the value is |
| 98 | @code{first-error}, the scrolling stops at the first error that | ||
| 99 | appears, leaving point at that error. For any other non-@code{nil} | ||
| 100 | value, 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 | |||
| 201 | click @kbd{Mouse-2} on the error message; you need not switch to the | 204 | click @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, |
| 204 | Emacs automatically jumps to the first error (if any exists) once | 207 | Emacs automatically jumps to the first error, if any, as soon as it |
| 205 | compilation finishes. | 208 | appears 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 |