From: Kai Grossjohann <kai@emptydomain.de>
To: help-gnu-emacs@gnu.org
Subject: Re: JSLint integration: Question
Date: Thu, 05 Apr 2007 11:53:07 +0200 [thread overview]
Message-ID: <86vegbjgfw.fsf@ketchup.de.uu.net> (raw)
In-Reply-To: 1175701218.073536.281300@q75g2000hsh.googlegroups.com
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
next prev parent reply other threads:[~2007-04-05 9:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-04 15:40 JSLint integration: Question aundro
2007-04-05 9:53 ` Kai Grossjohann [this message]
[not found] ` <mailman.1783.1175767033.7795.help-gnu-emacs@gnu.org>
2007-04-05 12:18 ` Arnaud Diederen (aundro)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86vegbjgfw.fsf@ketchup.de.uu.net \
--to=kai@emptydomain.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.