From: Alan Mackenzie <acm@muc.de>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: How do I use compilation mode?
Date: Sun, 5 Feb 2012 17:53:42 +0000 [thread overview]
Message-ID: <20120205175342.GA3477@acm.acm> (raw)
In-Reply-To: <87fwep5mtd.fsf@wanadoo.es>
Hello, Óscar/
On Sun, Feb 05, 2012 at 04:20:30PM +0100, Óscar Fuentes wrote:
> Hello Alan.
> Alan Mackenzie <acm@muc.de> writes:
> > In particular, I pushed 'acm onto compilation-error-regexp-alist and
> > ((acm "\\(cc-mode.acm\\) \\([0-9]+\\):\\[\\^[0-9]+-[0-9]+-[0-9?]+:[^]]*\\]:"
> > 1 2 nil))
> > onto compilation-error-regexp-alist.
> That symbol `acm' there is wrong. The solution is simpler. For instance,
> this is what I use for matching the diagnostics reported by my compiler:
> (add-to-list 'compilation-error-regexp-alist
> '("^\\(?:..\\[[ 0-9]+\\]+ \\)*\\([a-zA-Z0-9:\\/\\.-]+\.lp0\\)\(\\([0-9]+\\)\)"
> 1 2 nil))
That worked like a dream. Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2012-02-05 17:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 15:07 How do I use compilation mode? Alan Mackenzie
2012-02-05 15:20 ` Óscar Fuentes
2012-02-05 17:53 ` Alan Mackenzie [this message]
2012-02-06 14:34 ` Stefan Monnier
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=20120205175342.GA3477@acm.acm \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/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.