[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new compile command doesn't coalesce errors on the same line

From: Kim F. Storm
Subject: Re: new compile command doesn't coalesce errors on the same line
Date: 18 Mar 2004 00:16:48 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Daniel Pfeiffer) writes:

> Saluton,
> Miles Bader <address@hidden> skribis:
> > If *compilation* looks like this:
> > 
> > cray.c:33: error: `driver_num' undeclared (first use in this function)
> > cray.c:33: error: (Each undeclared identifier is reported only once
> > cray.c:33: error: for each function it appears in.)
> > cray.c:36: error: too many arguments to function `make_driver'
> > 
> > Then the first next-error jumps to (having working around the problems
> > with next-error described in my previous mail) line 33.
> > 
> > However, the next 2 invocations of `M-x next-error' _also_ jump to line
> > 33, which is obvious a bit of a pain (since multi-line error messages
> > like that are common from gcc).  The old compile command simply ignored
> > any error lines which were duplicates.
> compilation-skip-visited is your friend.  I chose not to default this to true,
> because these may be several errors, and somebody might oversee that there was
> more.

One error in a line often leads to multiple error messages; I think there
should be an option to skip multiple references to the same line.  

IMO, default for compilation-skip-visited should be t.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]