From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Stealth fontification GCs a lot Date: Thu, 14 Apr 2005 11:39:37 +0200 Message-ID: <85br8h4rza.fsf@gnu.org> References: <200504140017.50453.jyavner@member.fsf.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113476705 15436 80.91.229.2 (14 Apr 2005 11:05:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2005 11:05:05 +0000 (UTC) Cc: Jonathan Yavner , emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 13:05:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DM28y-0005So-5j for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 13:04:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DM2CF-0000Y9-F9 for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 07:07:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DM1FT-0005SC-Km for emacs-devel@gnu.org; Thu, 14 Apr 2005 06:07:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DM12K-0004MR-JB for emacs-devel@gnu.org; Thu, 14 Apr 2005 05:53:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DM0qf-0003lO-W2 for emacs-devel@gnu.org; Thu, 14 Apr 2005 05:41:23 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DM0pe-0003Nx-Cu; Thu, 14 Apr 2005 05:40:18 -0400 Original-Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DM0ot-0006Q3-Vt; Thu, 14 Apr 2005 05:39:32 -0400 Original-To: snogglethorpe@gmail.com In-Reply-To: (Miles Bader's message of "Thu, 14 Apr 2005 15:20:44 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35977 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35977 Miles Bader writes: > On 4/14/05, Jonathan Yavner wrote: >> Maybe stealth font-lock is pointless all the time. > > Well that's clearly not true. I think it is pretty hard to tune > because you'd have to guess what the user's going to do... > > Maybe it should only try to stealth-fontify some amount of text > before and after the current point (e.g., 100 lines before and > after; if the user moves, then just give up on the old position...), > which would provide a bit of buffering to make page-movement fast, > but not spend ages fontifying the entirety of giant source files. Sounds reasonable. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum