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: Tue, 04 May 2004 19:55:02 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ad0o85dd.fsf@mail.jurta.org> References: <20040503.071327.124836670.Takaaki.Ota@am.sony.com> <20040504.075437.207586641.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083692695 8218 80.91.224.253 (4 May 2004 17:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 17:44:55 +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 19:44:41 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 1BL3yD-0000qS-00 for ; Tue, 04 May 2004 19:44:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL3yC-0006Jk-00 for ; Tue, 04 May 2004 19:44:41 +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 1BL3v8-0003iC-Nq for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 13:41:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL3v4-0003he-9q for emacs-devel@gnu.org; Tue, 04 May 2004 13:41:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL3uY-0003ZH-2N for emacs-devel@gnu.org; Tue, 04 May 2004 13:41:25 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL3uX-0003Yx-I9; Tue, 04 May 2004 13:40:53 -0400 Original-Received: from mail.jurta.org (80-235-34-218-dsl.mus.estpak.ee [80.235.34.218]) by spork.dreamhost.com (Postfix) with ESMTP id E980911DC27; Tue, 4 May 2004 10:40:50 -0700 (PDT) Original-To: Tak Ota In-Reply-To: <20040504.075437.207586641.Takaaki.Ota@am.sony.com> (Tak Ota's message of "Tue, 04 May 2004 07:54:37 -0700 (PDT)") 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:22723 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22723 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. -- Juri Linkov http://www.jurta.org/emacs/