aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-17 02:35:03 +0000
committerRichard M. Stallman2005-10-17 02:35:03 +0000
commit7d6596b8a9e165e37642d1078a8c88832388b56e (patch)
tree83fb5aad6b3e55675809387499257d24c93cfb35
parent625fca9a902a069f814c7b1a3fa2306090b16d97 (diff)
downloademacs-7d6596b8a9e165e37642d1078a8c88832388b56e.tar.gz
emacs-7d6596b8a9e165e37642d1078a8c88832388b56e.zip
(Compilation Mode, Compilation): Clarified.
-rw-r--r--man/ChangeLog4
-rw-r--r--man/building.texi29
2 files changed, 22 insertions, 11 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index afd79737ae9..d582230c71f 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12005-10-16 Richard M. Stallman <rms@gnu.org>
2
3 * building.texi (Compilation Mode, Compilation): Clarified.
4
12005-10-15 Richard M. Stallman <rms@gnu.org> 52005-10-15 Richard M. Stallman <rms@gnu.org>
2 6
3 * misc.texi (Saving Emacs Sessions): Mention savehist library. 7 * misc.texi (Saving Emacs Sessions): Mention savehist library.
diff --git a/man/building.texi b/man/building.texi
index eb7a8bb00fe..093c839cbc9 100644
--- a/man/building.texi
+++ b/man/building.texi
@@ -63,17 +63,16 @@ command; normally, therefore, the compilation happens in this
63directory. 63directory.
64 64
65@vindex compile-command 65@vindex compile-command
66 When the shell command line is read, the minibuffer appears 66 The default for the compilation command is normally @samp{make -k},
67containing a default command line, which is the command you used the 67which is correct most of the time for nontrivial programs.
68last time you did @kbd{M-x compile}. If you type just @key{RET}, the 68(@xref{Top,, Make, make, GNU Make Manual}.) If you have done @kbd{M-x
69same command line is used again. For the first @kbd{M-x compile}, the 69compile} before, the default each time is the command you used the
70default is @samp{make -k}, which is correct most of the time for 70previous time. @code{compile} stores this command in the variable
71nontrivial programs. (@xref{Top,, Make, make, GNU Make Manual}.) 71@code{compile-command}, so setting that variable specifies the default
72The default compilation command comes from the variable 72for the next use of @kbd{M-x compile}. If a file specifies a file
73@code{compile-command}; if the appropriate compilation command for a 73local value for @code{compile-command}, that provides the default when
74file is something other than @samp{make -k}, it can be useful for the 74you type @kbd{M-x compile} in that file's buffer. @xref{File
75file to specify a local value for @code{compile-command} (@pxref{File 75Variables}.
76Variables}).
77 76
78 Starting a compilation displays the buffer @samp{*compilation*} in 77 Starting a compilation displays the buffer @samp{*compilation*} in
79another window but does not select it. The buffer's mode line tells 78another window but does not select it. The buffer's mode line tells
@@ -232,6 +231,14 @@ if the current buffer can be the target of @code{next-error}, it is
232used. Else, all the buffers Emacs manages are tried for 231used. Else, all the buffers Emacs manages are tried for
233@code{next-error} support. 232@code{next-error} support.
234 233
234 If you're not in the compilation buffer when you run
235@code{next-error}, Emacs will look for a buffer that contains error
236messages. First, it looks for one displayed in the selected frame,
237then for one that previously had @code{next-error} called on it, and
238then at the current buffer. Finally, Emacs looks at all the remaining
239buffers. @code{next-error} signals an error if it can't find any such
240buffer.
241
235 @kbd{C-u C-x `} starts scanning from the beginning of the compilation 242 @kbd{C-u C-x `} starts scanning from the beginning of the compilation
236buffer. This is one way to process the same set of errors again. 243buffer. This is one way to process the same set of errors again.
237 244