From: Eli Zaretskii Date: Sat, 2 Jun 2001 06:28:37 +0000 (+0000) Subject: (Compilation Mode): Document compilation-error-regexp-alist. X-Git-Tag: emacs-pretest-21.0.104~321 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0825052e0909694071f76a5c7de994b675a82b7e;p=emacs.git (Compilation Mode): Document compilation-error-regexp-alist. --- diff --git a/man/building.texi b/man/building.texi index cb220be897b..9512343db92 100644 --- a/man/building.texi +++ b/man/building.texi @@ -183,6 +183,16 @@ an Emacs error. @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