# HG changeset patch # User Oleksandr Gavenko # Date 1295539063 -7200 # Node ID c191c36b0e36ebcd3038a43f05422441903d52d8 # Parent 5d10932ca9c0494018abdabea933bb565c3b8e33 Set 'compilation-mode-font-lock-keywords' for MSVC. diff -r 5d10932ca9c0 -r c191c36b0e36 .emacs-my --- a/.emacs-my Thu Jan 20 17:56:40 2011 +0200 +++ b/.emacs-my Thu Jan 20 17:57:43 2011 +0200 @@ -1131,11 +1131,12 @@ (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4)) (add-to-list 'compilation-error-regexp-alist '("^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2)) (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) ; KEIL compiler + (when (boundp 'compilation-mode-font-lock-keywords) + (add-to-list 'compilation-mode-font-lock-keywords '("\\(/[Oo][Uu][Tt]:[^[:blank:]]+\\)" . 1)) + (add-to-list 'compilation-mode-font-lock-keywords '("[[:blank:]]\\(/F[oe][^[:blank:]]+\\)" . 1)) + ) )) -;; (add-to-list 'compilation-mode-font-lock-keywords '("\\(/[Oo][Uu][Tt]:[^ ]+\\)" . 1)) -;; (add-to-list 'compilation-mode-font-lock-keywords '("[ ]\\(/F[oe][^ ]+\\)" . 1)) - ;;; ---------------------------------------------------------------- (message "TAGS, etags, ctags, GNU GLOBAL")