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: C-n is very slow in Font-Lock mode Date: Wed, 27 Apr 2005 13:32:11 +0200 Message-ID: <85d5sge9qc.fsf@lola.goethe.zz> References: <01c54841$Blat.v2.4$8f503680@zahav.net.il> <01c54917$Blat.v2.4$b975aea0@zahav.net.il> <01c54a8a$Blat.v2.4$9d6aeda0@zahav.net.il> <85mzrlgqws.fsf@lola.goethe.zz> <01c54ab1$Blat.v2.4$91328080@zahav.net.il> <85hdhtf8ou.fsf@lola.goethe.zz> <01c54b0a$Blat.v2.4$5b6307a0@zahav.net.il> <85ll74eesa.fsf@lola.goethe.zz> <01c54b12$Blat.v2.4$78afaa40@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114601441 7967 80.91.229.2 (27 Apr 2005 11:30:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 11:30:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 27 13:30:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQkjD-0008Fj-0m for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2005 13:29:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQkp7-0001l7-LF for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2005 07:35:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQkou-0001l2-SA for emacs-devel@gnu.org; Wed, 27 Apr 2005 07:35:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQkos-0001kp-T5 for emacs-devel@gnu.org; Wed, 27 Apr 2005 07:35:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQkos-0001kV-Le for emacs-devel@gnu.org; Wed, 27 Apr 2005 07:35:06 -0400 Original-Received: from [151.189.21.43] (helo=mail-in-03.arcor-online.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DQkqM-0007cS-Rt; Wed, 27 Apr 2005 07:36:39 -0400 Original-Received: from lola.goethe.zz (i53878B5E.versanet.de [83.135.139.94]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 63792164CE5; Wed, 27 Apr 2005 13:32:28 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 530671C2FE29; Wed, 27 Apr 2005 13:32:11 +0200 (CEST) Original-To: Eli Zaretskii In-Reply-To: <01c54b12$Blat.v2.4$78afaa40@zahav.net.il> (Eli Zaretskii's message of "Wed, 27 Apr 2005 13:17:33 +0300") 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:36444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36444 "Eli Zaretskii" writes: >> Cc: emacs-devel@gnu.org >> From: David Kastrup >> Date: Wed, 27 Apr 2005 11:43:01 +0200 >> >> We are talking about the situation where the input is coming in faster >> than Emacs can process it. > > See, we don't really know that. Whether this is true or not, > depends on several unknown factors, like the rate of keyboard > auto-repeat on the user's machine vs the time it takes Emacs on that > machine, with that CPU and display type/toolkit to perform > redisplay. > > In my experience, movement with C-n gives Emacs enough time to > update the display. The last time I looked, this thread was about Emacs not being fast enough to update the display. > jit-lock-defer-time non-nil works by disabling fontification > altogether until Emacs is idle. If fontification is not disabled, > you yourself explained that vertical-motion _must_ fontify to keep > its calculations accurate. It seems I am a complete failure at conveying my meaning. I was arguing for a setting where vertical-motion is allowed to keep its calculations inaccurate with regard to font locking. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum