diff options
| author | Eli Zaretskii | 2005-08-12 10:18:02 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-08-12 10:18:02 +0000 |
| commit | a67e5425b3c4e7160f2fbb1852e7b013d1b54ddf (patch) | |
| tree | a63f0ba8704526d62e4fdda3600473adfd431bd3 | |
| parent | 1f742f74f519bec9bee1983071c53d954e25753b (diff) | |
| download | emacs-a67e5425b3c4e7160f2fbb1852e7b013d1b54ddf.tar.gz emacs-a67e5425b3c4e7160f2fbb1852e7b013d1b54ddf.zip | |
(compilation-start): Add the line "Compilation started" with compilation
start time.
(compilation-mode-font-lock-keywords): Add `started' to keywords.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 243963ee36b..3ce16898592 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2005-08-12 Ehud Karni <ehud@unix.mvs.co.il> | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-start): Add the line | ||
| 4 | "Compilation started" with compilation start time. | ||
| 5 | (compilation-mode-font-lock-keywords): Add `started' to keywords. | ||
| 6 | |||
| 1 | 2005-08-11 Luc Teirlinck <teirllm@auburn.edu> | 7 | 2005-08-11 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 8 | ||
| 3 | * menu-bar.el (menu-bar-options-menu): Standardize capitalization | 9 | * menu-bar.el (menu-bar-options-menu): Standardize capitalization |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6d5acfcbdf4..61af8e2a4ef 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -382,7 +382,7 @@ you may also want to change `compilation-page-delimiter'.") | |||
| 382 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" | 382 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" |
| 383 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) | 383 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) |
| 384 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) | 384 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) |
| 385 | ("^Compilation finished" . compilation-info-face) | 385 | ("^Compilation \\(finish\\|start\\)ed" . compilation-info-face) |
| 386 | ("^Compilation exited abnormally" . compilation-error-face)) | 386 | ("^Compilation exited abnormally" . compilation-error-face)) |
| 387 | "Additional things to highlight in Compilation mode. | 387 | "Additional things to highlight in Compilation mode. |
| 388 | This gets tacked on the end of the generated expressions.") | 388 | This gets tacked on the end of the generated expressions.") |
| @@ -970,7 +970,11 @@ Returns the compilation buffer created." | |||
| 970 | ;; Output a mode setter, for saving and later reloading this buffer. | 970 | ;; Output a mode setter, for saving and later reloading this buffer. |
| 971 | (insert "-*- mode: " name-of-mode | 971 | (insert "-*- mode: " name-of-mode |
| 972 | "; default-directory: " (prin1-to-string default-directory) | 972 | "; default-directory: " (prin1-to-string default-directory) |
| 973 | " -*-\n" command "\n") | 973 | " -*-\n" |
| 974 | (format "%s started at %s\n" | ||
| 975 | (capitalize name-of-mode) | ||
| 976 | (format-time-string "%a %b %d %H:%M:%S")) | ||
| 977 | command "\n") | ||
| 974 | (setq thisdir default-directory)) | 978 | (setq thisdir default-directory)) |
| 975 | (set-buffer-modified-p nil)) | 979 | (set-buffer-modified-p nil)) |
| 976 | ;; If we're already in the compilation buffer, go to the end | 980 | ;; If we're already in the compilation buffer, go to the end |