summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2014-08-13 21:17:21 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2014-08-13 21:17:21 +0200
commit8f944212cf4b368eb77877676e70cea9c3a6c32e (patch)
tree385c7fbb870b96d3957dfb0a18d5c08367f1783a /lisp
parent01fe01d59e38636d3950406afed33909e9df55d6 (diff)
downloademacs-8f944212cf4b368eb77877676e70cea9c3a6c32e.tar.gz
Support Guile backtraces in compilation mode.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add Guile regexpses. * etc/compilation.txt (file): Add Guile backtrace example. * test/automated/compile-tests.el (compile--test-error-line): Grok FILE being nil. Allows for Guile tests to pass. (compile-tests--test-regexps-data): Add Guile tests.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e038ff90cef..713a1aab838 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
+ * progmodes/compile.el (compilation-error-regexp-alist-alist):
+ Add Guile regexpses.
+
+2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
+
* progmodes/gud.el (guiler): New function. Starts the Guile REPL;
add Guile debugger support for GUD.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 000d7191ee7..5d3b6878a70 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -477,6 +477,8 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?"
;;
"^\\([^ \t\r\n(]+\\) (\\([0-9]+\\):\\([0-9]+\\)) "
1 2 3)
+ (guile-file "^In \\(.+\\):\n" 1)
+ (guile-line "^ *\\([0-9]+\\): *\\([0-9]+\\)" nil 1 2)
)
"Alist of values for `compilation-error-regexp-alist'.")