diff options
| author | Eli Zaretskii | 2001-06-02 06:28:37 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-06-02 06:28:37 +0000 |
| commit | 0825052e0909694071f76a5c7de994b675a82b7e (patch) | |
| tree | ef622bdd1c750403efe39ca13715949f01a7ac56 | |
| parent | b75f8eab5535b58761a3b2a06c6fcf8765fcfa53 (diff) | |
| download | emacs-0825052e0909694071f76a5c7de994b675a82b7e.tar.gz emacs-0825052e0909694071f76a5c7de994b675a82b7e.zip | |
(Compilation Mode): Document compilation-error-regexp-alist.
| -rw-r--r-- | man/building.texi | 10 |
1 files changed, 10 insertions, 0 deletions
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. | |||
| 183 | @kbd{C-u C-x `} starts scanning from the beginning of the compilation | 183 | @kbd{C-u C-x `} starts scanning from the beginning of the compilation |
| 184 | buffer. This is one way to process the same set of errors again. | 184 | buffer. This is one way to process the same set of errors again. |
| 185 | 185 | ||
| 186 | @vindex compilation-error-regexp-alist | ||
| 187 | @vindex grep-regexp-alist | ||
| 188 | To parse messages from the compiler, Compilation mode uses the | ||
| 189 | variable @code{compilation-error-regexp-alist} which lists various | ||
| 190 | formats of error messages and tells Emacs how to extract the source file | ||
| 191 | and the line number from the text of a message. If your compiler isn't | ||
| 192 | supported, you can tailor Compilation mode to it by adding elements to | ||
| 193 | that list. A similar variable @code{grep-regexp-alist} tells Emacs how | ||
| 194 | to parse output of a @code{grep} command. | ||
| 195 | |||
| 186 | Compilation mode also redefines the keys @key{SPC} and @key{DEL} to | 196 | Compilation mode also redefines the keys @key{SPC} and @key{DEL} to |
| 187 | scroll by screenfuls, and @kbd{M-n} and @kbd{M-p} to move to the next or | 197 | scroll by screenfuls, and @kbd{M-n} and @kbd{M-p} to move to the next or |
| 188 | previous error message. You can also use @kbd{M-@{} and @kbd{M-@}} to | 198 | previous error message. You can also use @kbd{M-@{} and @kbd{M-@}} to |