source: trunk/abcl/test/lisp/ansi/slime-ansi.el

Last change on this file was 13268, checked in by Mark Evenson, 13 years ago

Start of tool grab and analyze ANSI error reports from SLIME.

File size: 383 bytes
Line 
1(defun copy-previous-ansi-failures ()
2  "From the SLIME REPL buffer, copy the previous ANSI error report to kill ring."
3  (interactive)
4  (save-excursion 
5    (unless 
6        (search-backward "<--- Invocation of ")
7      (error "Failed to find end of test invocation"))
8    (previous-line 4)
9    (let ((end (point)))
10      (backward-sexp)
11      (copy-region-as-kill (point) end))))
Note: See TracBrowser for help on using the repository browser.