From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dapfy@t-online.de (Daniel Pfeiffer) Newsgroups: gmane.emacs.devel Subject: Re: new compile command doesn't coalesce errors on the same line Date: Sun, 28 Mar 2004 23:32:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040328233217.71d75077.occitan@esperanto.org> References: <20040317215208.5b0cb3e2.occitan@esperanto.org> <20040317224726.GC12561@fencepost> <20040320074137.2ea2c886.occitan@esperanto.org> <20040321092224.039cd09b.occitan@esperanto.org> <20040323202359.1f75a72f.occitan@esperanto.org> Reply-To: Daniel Pfeiffer NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1080509812 21542 80.91.224.253 (28 Mar 2004 21:36:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Mar 2004 21:36:52 +0000 (UTC) Cc: miles@lsi.nec.co.jp, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Mar 28 23:36:40 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 1B7hxQ-0006JF-00 for ; Sun, 28 Mar 2004 23:36:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B7hxP-00010Q-00 for ; Sun, 28 Mar 2004 23:36:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7hvQ-0000ij-2J for emacs-devel@quimby.gnus.org; Sun, 28 Mar 2004 16:34:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B7hvK-0000iV-6M for emacs-devel@gnu.org; Sun, 28 Mar 2004 16:34:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B7huj-0000N6-1y for emacs-devel@gnu.org; Sun, 28 Mar 2004 16:34:20 -0500 Original-Received: from [194.25.134.20] (helo=mailout08.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B7hti-0000El-7B; Sun, 28 Mar 2004 16:32:50 -0500 Original-Received: from fwd05.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1B7htg-0005qY-02; Sun, 28 Mar 2004 23:32:48 +0200 Original-Received: from pfdabpc.inhouse.start.de (Ew2RRUZcQeHvz9yDsEtal-yAwPmZcLQG-xOfR3mxpnOFCkPm3YGn07@[217.234.52.128]) by fwd05.sul.t-online.com with smtp id 1B7htR-0db2e00; Sun, 28 Mar 2004 23:32:33 +0200 Original-To: rms@gnu.org In-Reply-To: X-Mailer: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i686-suse-linux) X-Seen: false X-ID: Ew2RRUZcQeHvz9yDsEtal-yAwPmZcLQG-xOfR3mxpnOFCkPm3YGn07 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:21033 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21033 Saluton, Moin, Richard Stallman skribis: > > What if I then type C-x `? Will it got to the following error, > > or will it move down until it finds an error I have not yet visited? > > That is exactly the distinction made by the compilation-skip-visited > option. You can have one behaviour or the other. > > Now I understand. The doc string was not clear to me. > > I am now certain that setting compilation-skip-visited to t is NOT the > right way to handle consecutive errors on one source line. It has > other effects that I would not want. > > So compilation-skip-visited's default should remain nil, > but we need another feature to recognize consecutive error messages > on a single source line and disregard all but the first of them. > > Would you please implement that feature? There could be an > option to disable it. Sure, but I'm still not clear on what contiguous should mean. What if there are ten contiguous mentions of a location, but the *compilation* window is only five lines high? I'd still be skipping five unseen messages. What if the window is not visible? Remember how much of it was displayed when last going to an error? How about intervening lines, as a compiler at work gives me? Are these still contiguous: a.c:9: bla bla bla bla happened here: y = f( x ); ^ a.c:9: foo bar ... I guess we'd need to limit the height of a contiguous block to the (most recently) visible lines, and ignore anything else there is within that area. And we'd need the remember the recently visited locations. coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn Daniel Pfeiffer -- lerne / learn / apprends / läramå / ucz się Esperanto: http://lernu.net/