/[emacs]/emacs/man/building.texi
ViewVC logotype

Diff of /emacs/man/building.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72 by nickrob, Mon Oct 10 12:27:21 2005 UTC revision 1.73 by rms, Mon Oct 17 02:34:49 2005 UTC
# Line 63  command; normally, therefore, the compil Line 63  command; normally, therefore, the compil
63  directory.  directory.
64    
65  @vindex compile-command  @vindex compile-command
66    When the shell command line is read, the minibuffer appears    The default for the compilation command is normally @samp{make -k},
67  containing a default command line, which is the command you used the  which is correct most of the time for nontrivial programs.
68  last time you did @kbd{M-x compile}.  If you type just @key{RET}, the  (@xref{Top,, Make, make, GNU Make Manual}.)  If you have done @kbd{M-x
69  same command line is used again.  For the first @kbd{M-x compile}, the  compile} before, the default each time is the command you used the
70  default is @samp{make -k}, which is correct most of the time for  previous time.  @code{compile} stores this command in the variable
71  nontrivial programs.  (@xref{Top,, Make, make, GNU Make Manual}.)  @code{compile-command}, so setting that variable specifies the default
72  The default compilation command comes from the variable  for 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  local value for @code{compile-command}, that provides the default when
74  file is something other than @samp{make -k}, it can be useful for the  you type @kbd{M-x compile} in that file's buffer.  @xref{File
75  file to specify a local value for @code{compile-command} (@pxref{File  Variables}.
 Variables}).  
76    
77    Starting a compilation displays the buffer @samp{*compilation*} in    Starting a compilation displays the buffer @samp{*compilation*} in
78  another window but does not select it.  The buffer's mode line tells  another window but does not select it.  The buffer's mode line tells
# Line 232  if the current buffer can be the target Line 231  if the current buffer can be the target
231  used.  Else, all the buffers Emacs manages are tried for  used.  Else, all the buffers Emacs manages are tried for
232  @code{next-error} support.  @code{next-error} support.
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
236    messages.  First, it looks for one displayed in the selected frame,
237    then for one that previously had @code{next-error} called on it, and
238    then at the current buffer.  Finally, Emacs looks at all the remaining
239    buffers.  @code{next-error} signals an error if it can't find any such
240    buffer.
241    
242    @kbd{C-u C-x `} starts scanning from the beginning of the compilation    @kbd{C-u C-x `} starts scanning from the beginning of the compilation
243  buffer.  This is one way to process the same set of errors again.  buffer.  This is one way to process the same set of errors again.
244    

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26