summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-07 18:48:39 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 18:48:39 +0200
commit518a761476c4901ef55f9621843c313a669758f1 (patch)
tree38d90ae9104ee708ba753795867a4f677b625cbf /emacs/.emacs.d
parentdfe7cbfa9d357f4eeb6129f8002af851e743db08 (diff)
downloaddotfiles-518a761476c4901ef55f9621843c313a669758f1.tar.gz
dotfiles-518a761476c4901ef55f9621843c313a669758f1.tar.bz2
dotfiles-518a761476c4901ef55f9621843c313a669758f1.zip
Add matcher for glibc assertion failures
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 7be2f52..d60ff8e 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -275,6 +275,11 @@
(setq compilation-error-regexp-alist
(delete 'maven compilation-error-regexp-alist))
+;; Add matcher for glibc assertion failures
+(add-to-list
+ 'compilation-error-regexp-alist
+ '("[[:print:]]+: \\([^:]+\\):\\([[:digit:]]+\\):.*Assertion.* failed.\n$" 1 2))
+
;;; Key bindings
(global-set-key (kbd "C-<left>") 'previous-buffer)