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 23:01:55 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekq0vu4s.fsf@mail.jurta.org> References: <20040503.071327.124836670.Takaaki.Ota@am.sony.com> <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 X-Trace: sea.gmane.org 1083702339 5002 80.91.224.253 (4 May 2004 20:25:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 20:25:39 +0000 (UTC) Cc: Tak Ota , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 22:25:30 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 1BL6Tq-000558-00 for ; Tue, 04 May 2004 22:25:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL6Tq-00016e-00 for ; Tue, 04 May 2004 22:25:30 +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 1BL6SO-0006MM-TY for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 16:24:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL6Jw-0003tW-Tu for emacs-devel@gnu.org; Tue, 04 May 2004 16:15:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL6DJ-00015M-N8 for emacs-devel@gnu.org; Tue, 04 May 2004 16:08:57 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL6DJ-00015F-D2 for emacs-devel@gnu.org; Tue, 04 May 2004 16:08:25 -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 D1E0311DC2C; Tue, 4 May 2004 13:08:22 -0700 (PDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "04 May 2004 19:20:19 +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:22745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22745 storm@cua.dk (Kim F. Storm) writes: > Juri Linkov writes: >> Flashing the matching lines is very distracting. > > After all, you hit a command C-x ` and get feedback on where > that error/match is -- I don't see how that is distracting. It is less noticeably when going through compilation results, because it flashes not too often. But during quick browsing of the grep results, its constant blinking is unbearable. >> And even though >> there is a variable `compilation-highlight-regexp' to disable the >> highlighting, when it is disabled, there is no indication at all. > > That's how it used to be -- the highlight is an improvement IMO. I agree, highlight is an improvement, but not in its current implementation. >> 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. > > I don't think these options are any better -- YOU don't like 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. > > IMO it would be a lot more distracting if the highlight persisted > (when should it go away?). For example, after the key press. -- Juri Linkov http://www.jurta.org/emacs/