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 14:35:41 -0700 (PDT) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040504.143541.09585702.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 1083706759 10381 80.91.224.253 (4 May 2004 21:39:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 21:39:19 +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 23:39:08 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 1BL7d6-0001tU-00 for ; Tue, 04 May 2004 23:39:08 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL7d6-0002XY-00 for ; Tue, 04 May 2004 23:39:08 +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 1BL7ba-00067Q-8O for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 17:37:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL7bP-00065g-F3 for emacs-devel@gnu.org; Tue, 04 May 2004 17:37:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL7at-0005xt-4v for emacs-devel@gnu.org; Tue, 04 May 2004 17:37:22 -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 1BL7aN-0005rQ-Bt; Tue, 04 May 2004 17:36:19 -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 i44LZw16012446; Tue, 4 May 2004 21:36:03 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 i44LZgDC026686; Tue, 4 May 2004 21:35:43 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:22756 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22756 Tue, 04 May 2004 19:55:02 +0300: Juri Linkov wrote: > 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. How about leaving the highlight until user takes an action so that it does not annoyingly persist? -Tak *** ../../../pure/emacs-21.3.50/lisp/progmodes/compile.el Mon May 3 07:59:11 2004 --- compile.el Tue May 4 14:27:16 2004 *************** *** 1564,1570 **** (goto-char (match-beginning 0)) (move-overlay compilation-highlight-overlay (match-beginning 0) (match-end 0))) (move-overlay compilation-highlight-overlay (point) end)) ! (sit-for 0.5) (delete-overlay compilation-highlight-overlay))))))) --- 1564,1570 ---- (goto-char (match-beginning 0)) (move-overlay compilation-highlight-overlay (match-beginning 0) (match-end 0))) (move-overlay compilation-highlight-overlay (point) end)) ! (sit-for 268435455) ;; eight and half years or until input is available (delete-overlay compilation-highlight-overlay)))))))