From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: compilation-highlight-duration Date: 06 May 2004 09:48:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040503.071327.124836670.Takaaki.Ota@am.sony.com> <20040504.075437.207586641.Takaaki.Ota@am.sony.com> <87llk552oz.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 1083837250 4626 80.91.224.253 (6 May 2004 09:54:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 09:54:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 06 11:53:58 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 1BLfZl-0002ve-00 for ; Thu, 06 May 2004 11:53:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLfZl-000396-00 for ; Thu, 06 May 2004 11:53:57 +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 1BLfWs-0000L3-Q5 for emacs-devel@quimby.gnus.org; Thu, 06 May 2004 05:50:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLfVc-0008I5-D3 for emacs-devel@gnu.org; Thu, 06 May 2004 05:49:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLfV4-000825-Ni for emacs-devel@gnu.org; Thu, 06 May 2004 05:49:38 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1BLfV3-00080i-5c for emacs-devel@gnu.org; Thu, 06 May 2004 05:49:05 -0400 Original-Received: (qmail 35396 invoked from network); 6 May 2004 09:49:00 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 6 May 2004 09:49:00 -0000 Original-To: Juri Linkov In-Reply-To: <87llk552oz.fsf@mail.jurta.org> Original-Lines: 30 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:22841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22841 Juri Linkov writes: > I think that highlighting is useful *only* in grep-mode, when > the cursor is not displayed in non-selected source window > (i.e. cursor-in-non-selected-windows is nil). And highlighting > is pretty useless in `next-error' which selects a source window, > because in this case the location is indicated by the cursor. I still think it is useful in the other contexts too. YMMV. > > But currently it's not possible to highlight the source buffer > only in `next-error-no-select'. Perhaps a new argument should be > added to `next-error' and `compilation-next-error-function' indicating > whether highlighting is desirable and in what fashion (overlay flashing > delay duration, fringe arrow, etc.) It is ok to make this more configurable, but for 21.4 (feature freeze!) we should limit this to a new compilation-highlight-duration variable that can be set to one of the following values: 0 => don't highlight N > 0 => highlight for N seconds (N may be float) Any other value also means don't highlight. The remaining question is whether the default should be 0 or 0.5 -- Kim F. Storm http://www.cua.dk