changeset 37983:081777df34a7

(Compilation Mode): Document compilation-error-regexp-alist.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Jun 2001 06:28:37 +0000
parents c999a673a1eb
children 6742591013d0
files man/building.texi
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/building.texi	Sat Jun 02 06:12:18 2001 +0000
+++ b/man/building.texi	Sat Jun 02 06:28:37 2001 +0000
@@ -183,6 +183,16 @@
   @kbd{C-u C-x `} starts scanning from the beginning of the compilation
 buffer.  This is one way to process the same set of errors again.
 
+@vindex compilation-error-regexp-alist
+@vindex grep-regexp-alist
+  To parse messages from the compiler, Compilation mode uses the
+variable @code{compilation-error-regexp-alist} which lists various
+formats of error messages and tells Emacs how to extract the source file
+and the line number from the text of a message.  If your compiler isn't
+supported, you can tailor Compilation mode to it by adding elements to
+that list.  A similar variable @code{grep-regexp-alist} tells Emacs how
+to parse output of a @code{grep} command.
+
   Compilation mode also redefines the keys @key{SPC} and @key{DEL} to
 scroll by screenfuls, and @kbd{M-n} and @kbd{M-p} to move to the next or
 previous error message.  You can also use @kbd{M-@{} and @kbd{M-@}} to