Article View: gnu.emacs.bug
Article #1620next-error and ctangle/cweave
From: "Karl Berry."
Date: Fri, 21 Apr 1989 22:52
Date: Fri, 21 Apr 1989 22:52
13 lines
853 bytes
853 bytes
Silvio Levy's ctangle and cweave (and perhaps other programs) output a banner
line that looks like:
This is CTANGLE ($Revision: 1.1 $)
The colon in this line fools next-error with the default
compilation-error-regexp. The fix is simple: add a \$ in the first pattern,
so that the result is something like:
vvv
(setq compilation-error-regexp "\\([^ :\\$
]+\\(: *\\|, line \\|(\\)[0-9]+\\)\\|\\([0-9]+ *of *[^
]+\\)")
Technical Details
Message-ID:
<8904212252.AA09030@mote.umb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mote.umb.edu!karlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mote.umb.edu!karl
From: karl@mote.umb.edu ("Karl Berry.")
Newsgroups: gnu.emacs.bug
Subject: next-error and ctangle/cweave
Message-ID: <8904212252.AA09030@mote.umb.edu>
Date: 21 Apr 89 22:52:27 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 13