Mercurial > emacs
comparison lisp/progmodes/compile.el @ 48721:fdd59bb947d8
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist): Match byte compiler output.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 07 Dec 2002 21:34:44 +0000 |
parents | e57b9088b4a1 |
children | 750e9e67d3e9 |
comparison
equal
deleted
inserted
replaced
48720:9f27d033e1a7 | 48721:fdd59bb947d8 |
---|---|
450 | 450 |
451 (defvar compilation-enter-directory-regexp-alist | 451 (defvar compilation-enter-directory-regexp-alist |
452 '( | 452 '( |
453 ;; Matches lines printed by the `-w' option of GNU Make. | 453 ;; Matches lines printed by the `-w' option of GNU Make. |
454 (".*: Entering directory `\\(.*\\)'$" 1) | 454 (".*: Entering directory `\\(.*\\)'$" 1) |
455 ;; Matches lines made by Emacs byte compiler. | |
456 ("^Entering directory `\\(.*\\)'$" 1) | |
455 ) | 457 ) |
456 "Alist specifying how to match lines that indicate a new current directory. | 458 "Alist specifying how to match lines that indicate a new current directory. |
457 Note that the match is done at the beginning of lines. | 459 Note that the match is done at the beginning of lines. |
458 Each elt has the form (REGEXP IDX). | 460 Each elt has the form (REGEXP IDX). |
459 If REGEXP matches, the IDX'th subexpression gives the directory name. | 461 If REGEXP matches, the IDX'th subexpression gives the directory name. |
462 | 464 |
463 (defvar compilation-leave-directory-regexp-alist | 465 (defvar compilation-leave-directory-regexp-alist |
464 '( | 466 '( |
465 ;; Matches lines printed by the `-w' option of GNU Make. | 467 ;; Matches lines printed by the `-w' option of GNU Make. |
466 (".*: Leaving directory `\\(.*\\)'$" 1) | 468 (".*: Leaving directory `\\(.*\\)'$" 1) |
469 ;; Matches lines made by Emacs byte compiler. | |
470 ("^Leaving directory `\\(.*\\)'$" 1) | |
467 ) | 471 ) |
468 "Alist specifying how to match lines that indicate restoring current directory. | 472 "Alist specifying how to match lines that indicate restoring current directory. |
469 Note that the match is done at the beginning of lines. | 473 Note that the match is done at the beginning of lines. |
470 Each elt has the form (REGEXP IDX). | 474 Each elt has the form (REGEXP IDX). |
471 If REGEXP matches, the IDX'th subexpression gives the name of the directory | 475 If REGEXP matches, the IDX'th subexpression gives the name of the directory |