This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OT: Jade


Mark Galassi <rosalia@cygnus.com> writes:

>     >> May it be interfaced with the Emacs?
> 
>     Per> I guess.  Anything can be interfaced with Emacs!
> 
> Indeed, although jade is annoying because it does not generate
> C compiler style error messages, so you can't use "C-x `" to jump to
> syntax errors.
> 
> I keep meaning to sit down and learn makefile-mode enough to make it
> work, but never get down to it.

Well, if you use "compile" to run a jade process, you just need to set
compilation-error-regexp-alist to the right thing.  This is what I use
for perl's non-standard error messages.

  (eval-after-load "compile"
		   '(setq compilation-error-regexp-alist 
			  (cons '("at \\(.*\\) line \\([0-9]+\\)[\\.,:]" 1 2)
				compilation-error-regexp-alist)))

Greg J. Badros
gjb@cs.washington.edu
Seattle, WA  USA
http://www.cs.washington.edu/homes/gjb