help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JSLint integration: Question


From: Kai Grossjohann
Subject: Re: JSLint integration: Question
Date: Thu, 05 Apr 2007 11:53:07 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

aundro@gmail.com writes:

> However, I'd like to go a little bit further, and make those lines
> that appear in the *jslint output* clickable (pretty much like the
> grep output in the *grep* buffer)

Normally, this can be done using compilation-mode.  (You would put
your *jslint output* buffer in compilation-mode.)

There is a variable compilation-error-regexp-alist that tells
compilation-mode how to parse the buffer.  I think all entries there
require that the file name be part of the error message.

Now you have two choices: either you add an entry there for your style
of error messages (after adding the filename), or you modify your
style of error messages to match one of the entries.

Kai






reply via email to

[Prev in Thread] Current Thread [Next in Thread]