From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: compile-goto-error Date: Tue, 16 Nov 2004 16:57:41 +0200 Organization: JURTA Message-ID: <87u0rp96ze.fsf@jurta.org> References: <16793.51302.8017.652311@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100617188 19372 80.91.229.6 (16 Nov 2004 14:59:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 14:59:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 15:59:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CU4nu-0003p2-00 for ; Tue, 16 Nov 2004 15:59:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU4we-0006Md-Md for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2004 10:08:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CU4wX-0006MI-92 for emacs-devel@gnu.org; Tue, 16 Nov 2004 10:08:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CU4wV-0006Lk-Re for emacs-devel@gnu.org; Tue, 16 Nov 2004 10:08:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU4wV-0006Lh-O5 for emacs-devel@gnu.org; Tue, 16 Nov 2004 10:08:27 -0500 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU4nS-0008Vt-Uw for emacs-devel@gnu.org; Tue, 16 Nov 2004 09:59:07 -0500 Original-Received: from mail.jurta.org (80-235-35-235-dsl.mus.estpak.ee [80.235.35.235]) by knife.dreamhost.com (Postfix) with ESMTP id CC652E420C; Tue, 16 Nov 2004 06:59:02 -0800 (PST) Original-To: Nick Roberts In-Reply-To: <16793.51302.8017.652311@farnswood.snap.net.nz> (Nick Roberts's message of "Tue, 16 Nov 2004 22:29:09 +1300") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29927 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29927 Nick Roberts writes: > When I'm looking at compile errors, I tend to visit the one I find most > interesting first. The compilation window then places this error at the top of > the window. If I now want to visit an earlier one, I have to page back down. I > am guessing this behaviour was provided so that it was clear which error was > the current one. Now that the overlay arrow points to the current error, at > least on a graphics terminal, would it be possible not to move the window (setq compilation-context-lines nil) > (or possibly move the error to the centre of the compilation window) (setq compilation-context-lines (/ (window-height) 2)) > so that the user can still see the other errors around the > current one? I don't like the current default value too. But I'm not sure which one would satisfy most users. Any integer value other than 0 was found to be too distracting. Changing the default to `nil' would require an additional check to make sure that fringe arrow is visible. -- Juri Linkov http://www.jurta.org/emacs/