From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: new compile command doesn't coalesce errors on the same line Date: 18 Mar 2004 00:16:48 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040317215208.5b0cb3e2.occitan@esperanto.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079562005 18405 80.91.224.253 (17 Mar 2004 22:20:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Mar 2004 22:20:05 +0000 (UTC) Cc: miles@lsi.nec.co.jp, emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 17 23:19:57 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3jOH-0008Dt-00 for ; Wed, 17 Mar 2004 23:19:57 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3jOG-0001r5-00 for ; Wed, 17 Mar 2004 23:19:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3jNj-00006x-Ge for emacs-devel@quimby.gnus.org; Wed, 17 Mar 2004 17:19:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3jMN-0007rb-C6 for emacs-devel@gnu.org; Wed, 17 Mar 2004 17:17:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3jLj-0007JL-5C for emacs-devel@gnu.org; Wed, 17 Mar 2004 17:17:51 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3jLg-0007JD-VX; Wed, 17 Mar 2004 17:17:17 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 66D7247FE18; Wed, 17 Mar 2004 23:17:05 +0100 (CET) Original-To: Daniel Pfeiffer In-Reply-To: <20040317215208.5b0cb3e2.occitan@esperanto.org> Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20557 dapfy@t-online.de (Daniel Pfeiffer) writes: > Saluton, > > Miles Bader 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 http://www.cua.dk