all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ad@remove.the.a.in.ionicsoft.com (Arnaud Diederen (aundro))
To: help-gnu-emacs@gnu.org
Subject: Re: JSLint integration: Question
Date: Thu, 05 Apr 2007 14:18:31 +0200	[thread overview]
Message-ID: <87abxndnfs.fsf@paddy.ionicsoft.com> (raw)
In-Reply-To: mailman.1783.1175767033.7795.help-gnu-emacs@gnu.org

Kai Grossjohann <kai@emptydomain.de> writes:
> [...]
> 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

Hello Kai, 

using the compilation-mode's 'compile' function is indeed a much
better solution. 

I just had to re-think a bit the way I was calling the command (the
rhino JS interpreter), and how the output was formatted. 
Also, I needed to set the directory to that of the file I chose to
JSLint, and everything works like a charm!

Best regards,

       A.
 


>
>
>
>

-- 
Arnaud DIEDEREN
Software Developer
IONIC Software
Rue de Wallonie, 18 -  4460 Grace-Hollogne - Belgium
Tel: +32.4.3640364 - Fax: +32.4.2534737
mailto:ad@ionicsoft.com
http://www.ionicsoft.com

      parent reply	other threads:[~2007-04-05 12:18 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
     [not found] ` <mailman.1783.1175767033.7795.help-gnu-emacs@gnu.org>
2007-04-05 12:18   ` Arnaud Diederen (aundro) [this message]

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=87abxndnfs.fsf@paddy.ionicsoft.com \
    --to=ad@remove.the.a.in.ionicsoft.com \
    --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.