Correct problem in trepan init.el: (format ...) doesn't work here.
test: check
+check-short:
+ $(MAKE) check 2>&1 | ruby make-check-filter.rb
+
(setf (gethash "font-lock-keywords" dbgr-trepan-pat-hash)
'(
;; The frame number and first type name, if present.
- (format ("^\\(%s\\| \\)? #\\([0-9]+\\) \\([A-Z]+\\) *\\([A-Z_][a-zA-Z0-9_]*\\)[#]\\([a-zA-Z_][a-zA-Z_[0-9]]*\\)?" dbgr-trepan-selected-frame-arrow)
+ ("^\\(-->\\| \\)? #\\([0-9]+\\) \\([A-Z]+\\) *\\([A-Z_][a-zA-Z0-9_]*\\)[#]\\([a-zA-Z_][a-zA-Z_[0-9]]*\\)?"
(2 dbgr-backtrace-number-face)
(3 font-lock-keyword-face) ; e.g. METHOD, TOP
(4 font-lock-constant-face) ; e.g. Object
--- /dev/null
+#!/usr/bin/env ruby
+# Use this to cut out the crud from make check.
+# Use like this:
+# make check 2>&1 | ruby ../make-check-filter.rb
+# See Makefile.am
+pats = ["^(?:Loading",
+ 'make\[',
+ "Making check in",
+ '\(cd \.\.',
+ "make -C",
+ "Test-Unit",
+ "Fontifying",
+ '\s*$'
+ ].join('|') + ')'
+# puts pats
+skip_re = /#{pats}/
+
+while gets()
+ next if $_ =~ skip_re
+ puts $_
+end
check: $(CHECK_FILES)
+check-short:
+ $(MAKE) check 2>&1 | ruby ../make-check-filter.rb
+
test-%.run:
(cd $(top_srcdir)/test && $(EMACS) -batch -Q -l $(@:.run=.el) )