emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/building.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/man/building.texi
Date: Mon, 07 Jul 2003 16:43:33 -0400

Index: emacs/man/building.texi
diff -c emacs/man/building.texi:1.30 emacs/man/building.texi:1.31
*** emacs/man/building.texi:1.30        Wed May 28 07:42:35 2003
--- emacs/man/building.texi     Mon Jul  7 16:43:33 2003
***************
*** 102,123 ****
  follow output as it comes in.
  
  @findex kill-compilation
!   To kill the compilation process, do @kbd{M-x kill-compilation}.  When
! the compiler process terminates, the mode line of the
! @samp{*compilation*} buffer changes to say @samp{signal} instead of
! @samp{run}.  Starting a new compilation also kills any running
! compilation, as only one can exist at any time.  However, @kbd{M-x
! compile} asks for confirmation before actually killing a compilation
! that is running.
  
  @findex recompile
    To rerun the last compilation with the same command, type @kbd{M-x
  recompile}.  This automatically reuses the compilation command from the
  last invocation of @kbd{M-x compile}.
  
!   Emacs does not expect a compiler to launch asynchronous
  subprocesses; if it does, and they keep running after the main
! compiler process has terminated, their output may not arrive in Emacs.
  
  @node Grep Searching
  @section Searching with Grep under Emacs
--- 102,132 ----
  follow output as it comes in.
  
  @findex kill-compilation
!   When the compiler process terminates, for whatever reason, the mode
! line of the @samp{*compilation*} buffer changes to say @samp{signal}
! instead of @samp{run}.  Starting a new compilation also kills any
! running compilation, as only one can exist at any time.  However,
! @kbd{M-x compile} asks for confirmation before actually killing a
! compilation that is running.  You can also kill the compilation
! process with @kbd{M-x kill-compilation}.
  
  @findex recompile
    To rerun the last compilation with the same command, type @kbd{M-x
  recompile}.  This automatically reuses the compilation command from the
  last invocation of @kbd{M-x compile}.
  
!   Emacs does not expect a compiler process to launch asynchronous
  subprocesses; if it does, and they keep running after the main
! compiler process has terminated, Emacs may kill them or their output
! may not arrive in Emacs.  To avoid this problem, make the main process
! wait for its subprocesses to finish.  In a shell script, you can do this
! using @samp{$!} and @samp{wait}, like this:
! 
! @example
! (sleep 10; echo 2nd)& pid=$!  # @r{Record pid of subprocess}
! echo first message
! wait $pid                     # @r{Wait for subprocess}
! @end example
  
  @node Grep Searching
  @section Searching with Grep under Emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]