From 433f4ac277cf79d0565e2e0eb953f1bae08f0a83 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Tue, 5 May 2015 14:36:05 -0500 Subject: [PATCH] Enable emacs' next-error function with kibit hits. For next-error (bound by default to C-x `) to automatically take me to the location where Kibit was reporting an issue in the *compilation* buffer, I needed to change the alist it was using to parse the reports so that they are marked as errors, not just information. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3118212..106309a 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Put the following into your `~/.emacs`: ;; Teach compile the syntax of the kibit output (require 'compile) (add-to-list 'compilation-error-regexp-alist-alist - '(kibit "At \\([^:]+\\):\\([[:digit:]]+\\):" 1 2 nil 0)) + '(kibit "At \\([^:]+\\):\\([[:digit:]]+\\):" 1 2 nil 2)) (add-to-list 'compilation-error-regexp-alist 'kibit) ;; A convenient command to run "lein kibit" in the project to which