[gnu.emacs.bug] next-error and ctangle/cweave

karl@mote.umb.edu ("Karl Berry.") (04/22/89)

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 *[^ 
]+\\)")