Xref: utzoo comp.emacs:10191 gnu.emacs.help:1279 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cunixf.cc.columbia.edu!cs.columbia.edu!rmf From: rmf@cs.columbia.edu (Robert M. Fuhrer) Newsgroups: comp.emacs,gnu.emacs.help Subject: Re: jump to compiler error line in editor [GNU Emacs' compile mode ad] Message-ID: Date: 26 Feb 91 17:54:34 GMT References: <1991Feb22.183132.28815@Think.COM> Sender: news@cs.columbia.edu (The Daily News) Organization: Columbia University Department of Computer Science Lines: 27 In-Reply-To: barmar@think.com's message of 22 Feb 91 18:31:32 GMT >In article rmf@cs.columbia.edu (Robert M. Fuhrer) writes: >>Well, since we're on the subject, the IBM RS/6000 XLC C compiler generates >>pretty funny looking error messages. The really unfortunate part is that >>where compilation-error-regexp is expected to parse a file name and line >>number, the XLC compiler's messages don't include the file name. Does anyone >>have a solution? I've really gotten used to this feature, and would hate to >>see it go... > >If the compiler's messages don't include the file name, how do *humans* >figure out which file the message refers to? If humans can't do it, then >we'd be hard pressed to teach a computer to do it. >-- >Barry Margolin, Thinking Machines Corp. Well, of course, the problem is that it doesn't include the file name on each line. I've since realized the way to do it is by pre-processing the compilation buffer to insert the filename on each line so as not to have to munge compilation-parse-errors. -- -------------------------- Robert M. Fuhrer Computer Science Department Columbia University 1117B Fairchild Building Internet: rmf@cs.columbia.edu UUCP: ...!rutgers!cs.columbia.edu!rmf Brought to you by Super Global Mega Corp .com