.emacs-my
changeset 1367 4b9e39b257f0
parent 1366 f9989b9060aa
child 1368 ec4a06cc1a8b
equal deleted inserted replaced
1366:f9989b9060aa 1367:4b9e39b257f0
  2433 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  2433 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  2434 ;; (setq compilation-environment '("LANG=C"))
  2434 ;; (setq compilation-environment '("LANG=C"))
  2435 
  2435 
  2436 (my--eval-after-load compile
  2436 (my--eval-after-load compile
  2437   ;; My funny error messages.
  2437   ;; My funny error messages.
  2438   (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))
  2438   (add-to-list 'compilation-error-regexp-alist-alist '(nant "^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))
  2439   (add-to-list 'compilation-error-regexp-alist '("^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2))
  2439   (add-to-list 'compilation-error-regexp-alist 'nant)
  2440   (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) ; KEIL compiler
  2440   (add-to-list 'compilation-error-regexp-alist-alist '(msvc "^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2))
       
  2441   (add-to-list 'compilation-error-regexp-alist 'msvc)
       
  2442   (add-to-list 'compilation-error-regexp-alist-alist '(keil "^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2))
       
  2443   (add-to-list 'compilation-error-regexp-alist 'keil)
  2441   (add-to-list 'compilation-error-regexp-alist-alist '(maven "\\[ERROR\\] \\(.*\\.java\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3))
  2444   (add-to-list 'compilation-error-regexp-alist-alist '(maven "\\[ERROR\\] \\(.*\\.java\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3))
  2442   (add-to-list 'compilation-error-regexp-alist 'maven)
  2445   (add-to-list 'compilation-error-regexp-alist 'maven)
  2443   (add-to-list 'compilation-error-regexp-alist-alist '(asciidoc "^asciidoc: \\(?:ERROR\\|WARNING\\): \\([^\n:]+\\): line \\([0-9]+\\):" 1 2))
  2446   (add-to-list 'compilation-error-regexp-alist-alist '(asciidoc "^asciidoc: \\(?:ERROR\\|WARNING\\): \\([^\n:]+\\): line \\([0-9]+\\):" 1 2))
  2444   (add-to-list 'compilation-error-regexp-alist 'asciidoc)
  2447   (add-to-list 'compilation-error-regexp-alist 'asciidoc)
  2445   (when (boundp 'compilation-mode-font-lock-keywords)
  2448   (when (boundp 'compilation-mode-font-lock-keywords)