From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: How do I use compilation mode?
Date: Sun, 05 Feb 2012 16:20:30 +0100 [thread overview]
Message-ID: <87fwep5mtd.fsf@wanadoo.es> (raw)
In-Reply-To: <20120205150731.GA4131@acm.acm> (Alan Mackenzie's message of "Sun, 5 Feb 2012 15:07:31 +0000")
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))
next prev parent reply other threads:[~2012-02-05 15:20 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 [this message]
2012-02-05 17:53 ` Alan Mackenzie
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=87fwep5mtd.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=acm@muc.de \
--cc=emacs-devel@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.