From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: compilation-highlight-duration Date: Tue, 04 May 2004 12:15:55 -0700 (PDT) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040504.121555.127866097.Takaaki.Ota@am.sony.com> References: <20040504.075437.207586641.Takaaki.Ota@am.sony.com> <87ad0o85dd.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083699357 27273 80.91.224.253 (4 May 2004 19:35:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 19:35:57 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 21:35:44 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 1BL5hf-00018G-00 for ; Tue, 04 May 2004 21:35:43 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL5hf-0008S9-00 for ; Tue, 04 May 2004 21:35:43 +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 1BL5cX-0007ZG-MK for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 15:30:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL5Z9-0006fU-Bh for emacs-devel@gnu.org; Tue, 04 May 2004 15:26:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL5Ul-0004km-E6 for emacs-devel@gnu.org; Tue, 04 May 2004 15:22:54 -0400 Original-Received: from [160.33.82.68] (helo=mail1.fw-sj.sony.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BL5PD-0003Ef-Od; Tue, 04 May 2004 15:16:40 -0400 Original-Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail1.fw-sj.sony.com (8.12.11/8.12.11) with ESMTP id i44JGCho026406; Tue, 4 May 2004 19:16:17 GMT Original-Received: from localhost ([43.191.16.116]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id i44JFuXM001355; Tue, 4 May 2004 19:15:56 GMT Original-To: juri@jurta.org In-Reply-To: <87ad0o85dd.fsf@mail.jurta.org> X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-4.0.65 on Emacs-21.3.50.1 (i386-msvc-nt5.1.2600) of 2004-05-03 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:22733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22733 Tue, 04 May 2004 19:55:02 +0300: Juri Linkov wrote: > Tak Ota writes: > > Tue, 04 May 2004 03:43:12 -0400: Richard Stallman wrote: > >> It is the source code. > >> > >> Why is that useful, given that the cursor will be in that line? > > > > Your question is understandable in case of `next-error' where cursor > > lands directly on the subject line. The suggested user control is > > useful in case of `next-error-no-select' which is used in Grep mode. > > When traveling through matched lines in *grep* buffer the > > highlighting happens in the source buffer where there is no > > indication is left after highlighting is gone. > > Flashing the matching lines is very distracting. And even though > there is a variable `compilation-highlight-regexp' to disable the > highlighting, when it is disabled, there is no indication at all. > > So I think a better indication method is needed. For example, > the same methods of the compilation buffer could be used: aligning > the source file window on specified context lines (though this is > not good for source buffers), or setting the fringe arrow. > > Another good indication method is persistent (i.e. non-flashing!) > overlays highlighted with a special face on matching lines in > compilation output buffer and source code buffer. I actually came to the similar idea along this line when I was writing the previous reply. I'd like to withdraw my original proposal and would like to seek for better solution. -Tak