From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Stealth fontification GCs a lot Date: Thu, 14 Apr 2005 15:20:44 +0900 Message-ID: References: <200504140017.50453.jyavner@member.fsf.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1113460517 30549 80.91.229.2 (14 Apr 2005 06:35:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2005 06:35:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 08:35:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DLxvv-0007Fr-LS for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 08:34:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLxyB-0003wc-1S for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 02:36:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DLxtq-0002wA-Hm for emacs-devel@gnu.org; Thu, 14 Apr 2005 02:32:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DLxti-0002tW-7n for emacs-devel@gnu.org; Thu, 14 Apr 2005 02:32:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLxth-0002r0-EW for emacs-devel@gnu.org; Thu, 14 Apr 2005 02:32:17 -0400 Original-Received: from [64.233.184.207] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DLxj7-0006m2-Sv for emacs-devel@gnu.org; Thu, 14 Apr 2005 02:21:22 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so510269wri for ; Wed, 13 Apr 2005 23:20:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EvxWWgWOC0dl2ACRXl/3B1flGLyNRvZJuaKHOR5/dizsTiSS8xR1lFXiERsA0yJfYLLCEyT7AzqDRC14rZ5hxBYzH4Gtv7+69faizmGk6Vn8t2fssIMdCK301zKu3xIpc4womTQqqWEzADrGOo1mLD+SamQrSgsgS0VfAFhB7FQ= Original-Received: by 10.54.55.21 with SMTP id d21mr132592wra; Wed, 13 Apr 2005 23:20:44 -0700 (PDT) Original-Received: by 10.54.19.32 with HTTP; Wed, 13 Apr 2005 23:20:44 -0700 (PDT) Original-To: Jonathan Yavner In-Reply-To: <200504140017.50453.jyavner@member.fsf.org> Content-Disposition: inline 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:35970 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35970 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. -Miles --=20 Do not taunt Happy Fun Ball.