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