Re: [PATCH] Support Guile backtraces in compilation mode.

2014-08-08 Thread Stefan Monnier
> +* Guile backtraces Please add the Guile version here (ideally, the latest version known to generate such backtraces). > +(guile-file "^In \\(.+\\):\n" 1) AFAICT this will mark those lines as errors (aka red) whereas I think these should be marked as supplemental info (aka green). Other t

Re: Initial GUD integration for Guile

2014-08-08 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes: After chatting with davexunit and seeing a remark from Andy, here's a somewhat less clueless version. Worries about sources-alist, *last-source* etc remain... Greetings, Jan >From 7ce14e739ba2ada7bc1e46a9821ae6c83871b14c Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen

Re: Use GNU standard for displaying backtraces?

2014-08-08 Thread Thompson, David
On Fri, Aug 8, 2014 at 2:22 PM, Jan Nieuwenhuizen wrote: > Trying to get Emacs's compilation-mode to support stepping down Guile > backtraces, I wrote some elisp code to determine the absolute file > name for incomplete relative files that come from Guile's load path, > e.g., ice/boot-9.scm. > [s

Use GNU standard for displaying backtraces?

2014-08-08 Thread Jan Nieuwenhuizen
Hi, Trying to get Emacs's compilation-mode to support stepping down Guile backtraces, I wrote some elisp code to determine the absolute file name for incomplete relative files that come from Guile's load path, e.g., ice/boot-9.scm. Resolving this in Emacs is very difficult to do cleanly, if at al

[PATCH] Use GNU standard for displaying backtraces. Allows Emacs integration.

2014-08-08 Thread Jan Nieuwenhuizen
* libguile/backtrace.c (display_backtrace_file_and_line): Return absolute file name if not accessible from here. (display_backtrace_file): Use GNU-standard error message; remove "In "-prefix, add `:line:column' suffix. --- libguile/backtrace.c | 16 ++--

[PATCH] Support Guile backtraces in compilation mode.

2014-08-08 Thread Jan Nieuwenhuizen
* progmodes/compile.el (compilation-error-regexp-alist-alist): Add Guile regexpses. etc/: Add Guile backtrace example. * compilation.txt (file): Add Guile backtrace example. test/: Add tests for Guile compile regexps. * automated/compile-tests.el (compile--test-e

compilation-mode support for Guile backtrace; v2 much simplified

2014-08-08 Thread Jan Nieuwenhuizen
Hi, Here's a much simplified and collapsed version of compilation-mode support for Guile backtraces. In short: -no resolving trickery of absolute file names, we'll try to do that upstream -remaining are the two non-GNU standard Guile convention regexpses It would be nice we can have Guil