# HG changeset patch # User Oleksander Gavenko # Date 1210591260 -10800 # Node ID 70157d4d678d48ad0899e55e5408e7a8bfb4b9fc # Parent 3bb9effaa2c1e352cc031d3b1fb0a0dd322f1766 Added highlight for msvc error message. diff -r 3bb9effaa2c1 -r 70157d4d678d .emacs-my --- a/.emacs-my Wed May 07 10:18:19 2008 +0300 +++ b/.emacs-my Mon May 12 14:21:00 2008 +0300 @@ -691,6 +691,8 @@ (require 'compile) (add-to-list 'compilation-error-regexp-alist-alist '(nant "^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4)) (add-to-list 'compilation-error-regexp-alist 'nant) +(add-to-list 'compilation-error-regexp-alist-alist '(msvc "^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2)) +(add-to-list 'compilation-error-regexp-alist 'msvc) (add-to-list 'compilation-mode-font-lock-keywords '("\\(/[Oo][Uu][Tt]:[^ ]+\\)" . 1)) (add-to-list 'compilation-mode-font-lock-keywords '("[ ]\\(/F[oe][^ ]+\\)" . 1))