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: compilation-highlight-duration Date: Fri, 28 May 2004 14:19:10 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87iseg4x5d.fsf@mail.jurta.org> References: <20040503.071327.124836670.Takaaki.Ota@am.sony.com> <20040504.075437.207586641.Takaaki.Ota@am.sony.com> <87llk552oz.fsf@mail.jurta.org> <87isf6e7ji.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085748754 12179 80.91.224.253 (28 May 2004 12:52:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 May 2004 12:52:34 +0000 (UTC) Cc: tzz@lifelogs.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 28 14:52:23 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 1BTgqU-00048x-00 for ; Fri, 28 May 2004 14:52:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTgqU-0006st-00 for ; Fri, 28 May 2004 14:52:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTgdB-0007jo-1i for emacs-devel@quimby.gnus.org; Fri, 28 May 2004 08:38:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTgck-0007io-JM for emacs-devel@gnu.org; Fri, 28 May 2004 08:38:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTgcD-0007eg-9T for emacs-devel@gnu.org; Fri, 28 May 2004 08:38:09 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTfUh-0001eL-U3; Fri, 28 May 2004 07:25:49 -0400 Original-Received: from mail.jurta.org (80-235-41-39-dsl.mus.estpak.ee [80.235.41.39]) by spork.dreamhost.com (Postfix) with ESMTP id F0CED11DC0B; Fri, 28 May 2004 04:25:43 -0700 (PDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "09 May 2004 21:12:40 +0200") 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.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:24076 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24076 storm@cua.dk (Kim F. Storm) writes: > Richard Stallman writes: >> Does anyone actually want the highlighting after using next-error? >> If we don't need that feature, I'd say just move the highlighting >> code into next-error-no-select. > > FWIW, I want it! Firstly, it is consistent behaviour. > > Secondly, I like the highlighting that instantly shows me the failing line, > instead of having to look for the line containing the cursor -- blinking > the whole line is faster (for me) that having to look for the cursor. Adding `next-error-highlight' and `next-error-highlight-no-select' reveals one problem. When these user options are defined by `defcustom' it requires to specify a group name under which they should be placed. The current logic by using the `next-error-' prefix suggests the group name `next-error'. But it would be misleading for modes other than compile. For grep, diff and occur this name makes no sense. There are aliases `goto-next-locus' and `next-match' for `next-error' which suggest a better name. Perhaps something like `follow-locus' would be better? -- Juri Linkov http://www.jurta.org/emacs/