# HG changeset patch # User Oleksandr Gavenko # Date 1455625445 -7200 # Node ID 059cd8b7e3b34b4a125ffd1f6bee55480df314f2 # Parent ca70c69cabe5985d0526c5ce0f260c4b919b44b5 Regex to parse asciidoc errors. diff -r ca70c69cabe5 -r 059cd8b7e3b3 .emacs-my --- a/.emacs-my Mon Feb 15 20:16:43 2016 +0200 +++ b/.emacs-my Tue Feb 16 14:24:05 2016 +0200 @@ -2423,6 +2423,8 @@ (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) ; KEIL compiler (add-to-list 'compilation-error-regexp-alist-alist '(maven "\\[ERROR\\] \\(.*\\.java\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3)) (add-to-list 'compilation-error-regexp-alist 'maven) + (add-to-list 'compilation-error-regexp-alist-alist '(asciidoc "^asciidoc: \\(?:ERROR\\|WARNING\\): \\([^\n:]+\\): line \\([0-9]+\\):" 1 2)) + (add-to-list 'compilation-error-regexp-alist 'asciidoc) (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))))